// Copyright (c) 2017-2025 Tencent. 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.

package v20250806

import (
    tcerr "github.com/tencentcloud/tencentcloud-sdk-go-intl-en/tencentcloud/common/errors"
    tchttp "github.com/tencentcloud/tencentcloud-sdk-go-intl-en/tencentcloud/common/http"
    "github.com/tencentcloud/tencentcloud-sdk-go-intl-en/tencentcloud/common/json"
)

// Predefined struct for user
type AddCalcEnginesToProjectRequestParams struct {
	// Modified project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// DLC cluster information.
	DLCInfo []*DLCClusterInfo `json:"DLCInfo,omitnil,omitempty" name:"DLCInfo"`
}

type AddCalcEnginesToProjectRequest struct {
	*tchttp.BaseRequest
	
	// Modified project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// DLC cluster information.
	DLCInfo []*DLCClusterInfo `json:"DLCInfo,omitnil,omitempty" name:"DLCInfo"`
}

func (r *AddCalcEnginesToProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AddCalcEnginesToProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "DLCInfo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddCalcEnginesToProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type AddCalcEnginesToProjectResponseParams struct {
	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type AddCalcEnginesToProjectResponse struct {
	*tchttp.BaseResponse
	Response *AddCalcEnginesToProjectResponseParams `json:"Response"`
}

func (r *AddCalcEnginesToProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AddCalcEnginesToProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type AlarmGroup struct {
	// Specifies the list of Alarm escalation recipient ids.
	// If the Alarm recipient or supervisor does not confirm the Alarm within the Alarm interval, an Alarm will be sent to the next-level superior.
	AlarmEscalationRecipientIds []*string `json:"AlarmEscalationRecipientIds,omitnil,omitempty" name:"AlarmEscalationRecipientIds"`

	// Escalation interval for alarms.
	AlarmEscalationInterval *int64 `json:"AlarmEscalationInterval,omitnil,omitempty" name:"AlarmEscalationInterval"`

	// Alarm notification fatigue configuration.
	NotificationFatigue *NotificationFatigue `json:"NotificationFatigue,omitnil,omitempty" name:"NotificationFatigue"`

	// Alarm channel. valid values: 1. mail, 2. sms, 3. wechat, 4. voice, 5. wecom, 6. Http, 7. wecom group, 8. lark group, 9. dingtalk group, 10. Slack group, 11. Teams group (default: 1. mail). only select one channel.
	AlarmWays []*string `json:"AlarmWays,omitnil,omitempty" name:"AlarmWays"`

	// webhook url list for wecom group/lark group/dingtalk group/Slack group/Teams group.
	WebHooks []*AlarmWayWebHook `json:"WebHooks,omitnil,omitempty" name:"WebHooks"`

	// Alarm recipient type: 1. specified personnel, 2. task owner, 3. duty schedule (default: 1. specified personnel).
	AlarmRecipientType *int64 `json:"AlarmRecipientType,omitnil,omitempty" name:"AlarmRecipientType"`

	// Specifies different business ids based on AlarmRecipientType. valid values: 1 (designated personnel): Alarm recipient id list. 2 (task owner): no configuration required. 3 (duty schedule): schedule id list.
	AlarmRecipientIds []*string `json:"AlarmRecipientIds,omitnil,omitempty" name:"AlarmRecipientIds"`
}

type AlarmMessage struct {
	// Alarm message Id.
	AlarmMessageId *uint64 `json:"AlarmMessageId,omitnil,omitempty" name:"AlarmMessageId"`

	// Alarm time. the same Alarm may be sent multiple times, only the latest Alarm time is displayed.
	AlarmTime *string `json:"AlarmTime,omitnil,omitempty" name:"AlarmTime"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Instance data time of the task.
	CurRunDate *string `json:"CurRunDate,omitnil,omitempty" name:"CurRunDate"`

	// Indicates the Alarm cause.
	AlarmReason *string `json:"AlarmReason,omitnil,omitempty" name:"AlarmReason"`

	// Alarm level. 1. ordinary, 2. important, 3. critical.
	AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Specifies the Id of the Alarm rule.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`

	// Alarm channel specifies the notification methods: 1. mail, 2. sms, 3. wechat, 4. voice, 5. wecom, 6. Http, 7. wecom group, 8. lark group, 9. dingtalk group, 10. Slack group, 11. Teams group (default: 1. mail).
	AlarmWays []*string `json:"AlarmWays,omitnil,omitempty" name:"AlarmWays"`

	// Alarm recipient
	AlarmRecipients []*string `json:"AlarmRecipients,omitnil,omitempty" name:"AlarmRecipients"`
}

type AlarmQuietInterval struct {
	// ISO standard. 1 means monday, 7 means sunday.
	DaysOfWeek []*uint64 `json:"DaysOfWeek,omitnil,omitempty" name:"DaysOfWeek"`

	// Start time. precision: hour/minute/second. format: HH:mm:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time. precision: hour/minute/second. format: HH:mm:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type AlarmRuleData struct {
	// Alarm Rule ID
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`

	// Specifies the Alarm rule name.
	AlarmRuleName *string `json:"AlarmRuleName,omitnil,omitempty" name:"AlarmRuleName"`

	// Describes the Alarm rule.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *int64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Pass different business IDs depending on the value of MonitorType:
	// 
	// 1 (Task): MonitorObjectIds should contain a list of task IDs.
	// 
	// 2 (Workflow): MonitorObjectIds should contain a list of workflow IDs (workflow IDs can be obtained using the ListWorkflows API).
	// 
	// 3 (Project): MonitorObjectIds should contain a list of project IDs.
	MonitorObjectIds []*string `json:"MonitorObjectIds,omitnil,omitempty" name:"MonitorObjectIds"`

	// Alarm Rule Monitoring Types:
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when an offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmTypes []*string `json:"AlarmTypes,omitnil,omitempty" name:"AlarmTypes"`

	// Whether the Alarm rule is enabled.
	// Valid values: 0 (disabled), 1 (enabled).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Alarm Rule Configuration Information
	// 
	// Success Alarms - No configuration required;
	// 
	// Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
	// 
	// Timeout Alarms - Require configuration of the timeout type and timeout threshold;
	// 
	// Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
	AlarmRuleDetail *AlarmRuleDetail `json:"AlarmRuleDetail,omitnil,omitempty" name:"AlarmRuleDetail"`

	// Alarm level. 1. ordinary, 2. important, 3. critical.
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Specifies the id of the Alarm rule creator.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// The Alarm rule bound to the bundle client. it is normal if empty, otherwise it corresponds to the rule bound to the bundle client.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// bundleId is not empty. it indicates the bound client name.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// Describes the Alarm recipient configuration list.
	AlarmGroups []*AlarmGroup `json:"AlarmGroups,omitnil,omitempty" name:"AlarmGroups"`
}

type AlarmRuleDetail struct {
	// Failure Trigger Condition
	// 
	// 1: Trigger on the first failure
	// 
	// 2: Trigger after all retries are completed (default)
	Trigger *int64 `json:"Trigger,omitnil,omitempty" name:"Trigger"`

	// Backfill/Rerun Trigger Condition
	// 
	// 1: Trigger on the first failure
	// 
	// 2: Trigger after all retries are completed
	DataBackfillOrRerunTrigger *int64 `json:"DataBackfillOrRerunTrigger,omitnil,omitempty" name:"DataBackfillOrRerunTrigger"`

	// Timeout configuration of the periodic instance.
	TimeOutExtInfo []*TimeOutStrategyInfo `json:"TimeOutExtInfo,omitnil,omitempty" name:"TimeOutExtInfo"`

	// Specifies the timeout configuration details for rerunning a backfill instance.
	DataBackfillOrRerunTimeOutExtInfo []*TimeOutStrategyInfo `json:"DataBackfillOrRerunTimeOutExtInfo,omitnil,omitempty" name:"DataBackfillOrRerunTimeOutExtInfo"`

	// Specifies the detail of Alarm configuration for project fluctuation.
	ProjectInstanceStatisticsAlarmInfoList []*ProjectInstanceStatisticsAlarmInfo `json:"ProjectInstanceStatisticsAlarmInfoList,omitnil,omitempty" name:"ProjectInstanceStatisticsAlarmInfoList"`

	// Describes the Alarm configuration information for offline integration reconciliation.
	ReconciliationExtInfo []*ReconciliationStrategyInfo `json:"ReconciliationExtInfo,omitnil,omitempty" name:"ReconciliationExtInfo"`

	// Configure allowlist for monitored object.
	MonitorWhiteTasks []*MonitorWhiteTask `json:"MonitorWhiteTasks,omitnil,omitempty" name:"MonitorWhiteTasks"`

	// 3.0 Workflow completion time (period) Alarm policy.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowCompletionTimeCycleExtInfo []*TimeOutStrategyInfo `json:"WorkflowCompletionTimeCycleExtInfo,omitnil,omitempty" name:"WorkflowCompletionTimeCycleExtInfo"`

	// Workflow execution triggers the Alarm condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionTrigger *int64 `json:"WorkflowExecutionTrigger,omitnil,omitempty" name:"WorkflowExecutionTrigger"`

	// Workflow execution failure Alarm condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionFailureTrigger *int64 `json:"WorkflowExecutionFailureTrigger,omitnil,omitempty" name:"WorkflowExecutionFailureTrigger"`

	// Workflow execution successful Alarm condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionSuccessTrigger *int64 `json:"WorkflowExecutionSuccessTrigger,omitnil,omitempty" name:"WorkflowExecutionSuccessTrigger"`
}

type AlarmWayWebHook struct {
	// Specifies the Alarm channel value.
	// 7. wecom group 8. lark group 9. dingtalk group 10. Slack group 11. Teams group.
	AlarmWay *string `json:"AlarmWay,omitnil,omitempty" name:"AlarmWay"`

	// webhook url list of the Alarm group.
	WebHooks []*string `json:"WebHooks,omitnil,omitempty" name:"WebHooks"`
}

// Predefined struct for user
type AssociateResourceGroupToProjectRequestParams struct {
	// Resource group ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type AssociateResourceGroupToProjectRequest struct {
	*tchttp.BaseRequest
	
	// Resource group ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *AssociateResourceGroupToProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AssociateResourceGroupToProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ResourceGroupId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AssociateResourceGroupToProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type AssociateResourceGroupToProjectResponseParams struct {
	// Output.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *ResourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type AssociateResourceGroupToProjectResponse struct {
	*tchttp.BaseResponse
	Response *AssociateResourceGroupToProjectResponseParams `json:"Response"`
}

func (r *AssociateResourceGroupToProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AssociateResourceGroupToProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type AuthInfo struct {
	// Authorize the target project id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AuthProjectIds []*string `json:"AuthProjectIds,omitnil,omitempty" name:"AuthProjectIds"`

	// List of users under the authorized project.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AuthUsers []*string `json:"AuthUsers,omitnil,omitempty" name:"AuthUsers"`
}

// Predefined struct for user
type AuthorizeDataSourceRequestParams struct {
	// Data source ID.
	DataSourceId *string `json:"DataSourceId,omitnil,omitempty" name:"DataSourceId"`

	// Authorize the target project id.
	AuthProjectId *string `json:"AuthProjectId,omitnil,omitempty" name:"AuthProjectId"`

	// List of users in the authorized project, format: project id_user id.
	// Can only select either the AuthProjectId parameter.
	// Authorize multiple objects. the project id must be consistent.
	AuthUsers []*string `json:"AuthUsers,omitnil,omitempty" name:"AuthUsers"`
}

type AuthorizeDataSourceRequest struct {
	*tchttp.BaseRequest
	
	// Data source ID.
	DataSourceId *string `json:"DataSourceId,omitnil,omitempty" name:"DataSourceId"`

	// Authorize the target project id.
	AuthProjectId *string `json:"AuthProjectId,omitnil,omitempty" name:"AuthProjectId"`

	// List of users in the authorized project, format: project id_user id.
	// Can only select either the AuthProjectId parameter.
	// Authorize multiple objects. the project id must be consistent.
	AuthUsers []*string `json:"AuthUsers,omitnil,omitempty" name:"AuthUsers"`
}

func (r *AuthorizeDataSourceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AuthorizeDataSourceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "DataSourceId")
	delete(f, "AuthProjectId")
	delete(f, "AuthUsers")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AuthorizeDataSourceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type AuthorizeDataSourceResponseParams struct {
	// Success status
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DataSourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type AuthorizeDataSourceResponse struct {
	*tchttp.BaseResponse
	Response *AuthorizeDataSourceResponseParams `json:"Response"`
}

func (r *AuthorizeDataSourceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AuthorizeDataSourceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type AuthorizePrivilegesRequestParams struct {
	// Resource array.
	// ResourceType: originates from the ResourceType returned by the GetGrantPrivilegesSTD API in the TCCATALOG module, and change to capitalize the first letter, such as METALAKE corresponding to METALAKE.
	// ResourceUri depends on ResourceType. fixed as default for Metalake. use the three-segment format of catalog for other categories, such as.
	// -Metalake, fixed as default.
	// -Catalog. specifies the catalogName.
	// -Schema. valid values: catalogName.SchemaName.
	// -Table, in the format of catalogName.SchemaName.TableName.
	Resources []*PrivilegeResource `json:"Resources,omitnil,omitempty" name:"Resources"`

	// Authorization entity array. specifies the SubjectType and corresponding SubjectValue value rules.
	// -User.
	// -User id obtained from DescribeTenantUserList.
	// -Project.
	// -ProjectId from the DescribeUserProjects request parameters structure.
	// -Role (project-level role).
	// -First call DescribeUserProjects to obtain the project ID (ProjectId), then call DescribeRoleList to get the role ID (RoleId), and combine them as $ProjectId.$ProjectId.RoleId, for example "3085649716411588608.308335260274237440".
	// -GlobalRole (platform-level role).
	// -AllAccountUsers all users.
	// -Another ID, taken from RoleId in DescribeTenantRole.
	Subjects []*Subject `json:"Subjects,omitnil,omitempty" name:"Subjects"`

	// Permission point, comes from the NAME in various Privileges returned by the GetGrantPrivilegesSTD API in the TCCATALOG module.
	Privileges []*PrivilegeInfo `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

type AuthorizePrivilegesRequest struct {
	*tchttp.BaseRequest
	
	// Resource array.
	// ResourceType: originates from the ResourceType returned by the GetGrantPrivilegesSTD API in the TCCATALOG module, and change to capitalize the first letter, such as METALAKE corresponding to METALAKE.
	// ResourceUri depends on ResourceType. fixed as default for Metalake. use the three-segment format of catalog for other categories, such as.
	// -Metalake, fixed as default.
	// -Catalog. specifies the catalogName.
	// -Schema. valid values: catalogName.SchemaName.
	// -Table, in the format of catalogName.SchemaName.TableName.
	Resources []*PrivilegeResource `json:"Resources,omitnil,omitempty" name:"Resources"`

	// Authorization entity array. specifies the SubjectType and corresponding SubjectValue value rules.
	// -User.
	// -User id obtained from DescribeTenantUserList.
	// -Project.
	// -ProjectId from the DescribeUserProjects request parameters structure.
	// -Role (project-level role).
	// -First call DescribeUserProjects to obtain the project ID (ProjectId), then call DescribeRoleList to get the role ID (RoleId), and combine them as $ProjectId.$ProjectId.RoleId, for example "3085649716411588608.308335260274237440".
	// -GlobalRole (platform-level role).
	// -AllAccountUsers all users.
	// -Another ID, taken from RoleId in DescribeTenantRole.
	Subjects []*Subject `json:"Subjects,omitnil,omitempty" name:"Subjects"`

	// Permission point, comes from the NAME in various Privileges returned by the GetGrantPrivilegesSTD API in the TCCATALOG module.
	Privileges []*PrivilegeInfo `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

func (r *AuthorizePrivilegesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AuthorizePrivilegesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Resources")
	delete(f, "Subjects")
	delete(f, "Privileges")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AuthorizePrivilegesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type AuthorizePrivilegesResponseParams struct {
	// Result
	Data *AuthorizePrivilegesRsp `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type AuthorizePrivilegesResponse struct {
	*tchttp.BaseResponse
	Response *AuthorizePrivilegesResponseParams `json:"Response"`
}

func (r *AuthorizePrivilegesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *AuthorizePrivilegesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type AuthorizePrivilegesRsp struct {
	// Batch authorization result.
	OverallSuccess *bool `json:"OverallSuccess,omitnil,omitempty" name:"OverallSuccess"`

	// Authorization details list.
	Results []*AuthorizeResult `json:"Results,omitnil,omitempty" name:"Results"`
}

type AuthorizeResult struct {
	// Authorized resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resource *PrivilegeResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Result
	// Note: This field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// Reason.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`
}

type BackfillInstance struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies the instance data time.
	CurRunDate *string `json:"CurRunDate,omitnil,omitempty" name:"CurRunDate"`

	// Execution status.
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// Start time.
	// 
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	// 
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Execution duration.
	// 
	CostTime *string `json:"CostTime,omitnil,omitempty" name:"CostTime"`
}

type BackfillInstanceCollection struct {
	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Specifies the backfill instance list.
	Items []*BackfillInstance `json:"Items,omitnil,omitempty" name:"Items"`
}

type BatchOperationOpsDto struct {
	// Number of batch operations succeeded.
	SuccessCount *int64 `json:"SuccessCount,omitnil,omitempty" name:"SuccessCount"`

	// Number of batch operations failed.
	FailedCount *int64 `json:"FailedCount,omitnil,omitempty" name:"FailedCount"`

	// Total number of batch operations.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Unique id of the async operation record.
	AsyncActionId *string `json:"AsyncActionId,omitnil,omitempty" name:"AsyncActionId"`
}

type BindProject struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Project Display Name
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectDisplayName *string `json:"ProjectDisplayName,omitnil,omitempty" name:"ProjectDisplayName"`
}

type BizStateEnumInfoBrief struct {
	// Tag key.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LabelKey *string `json:"LabelKey,omitnil,omitempty" name:"LabelKey"`

	// Tag value
	// Note: This field may return null, indicating that no valid values can be obtained.
	LabelValue *string `json:"LabelValue,omitnil,omitempty" name:"LabelValue"`

	// Total number of tags.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type BriefTask struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task creation time
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Task owner id. a task may have multiple responsible persons.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUinList []*string `json:"OwnerUinList,omitnil,omitempty" name:"OwnerUinList"`
}

type BusinessMetadata struct {
	// Tag name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TagNames []*string `json:"TagNames,omitnil,omitempty" name:"TagNames"`
}

type CatalogInfo struct {
	// Directory name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`
}

type ChildDependencyConfigPage struct {
	// Total number of results
	// 
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Paging data
	Items []*OpsTaskDepend `json:"Items,omitnil,omitempty" name:"Items"`
}

type CodeFile struct {
	// Script ID
	// 
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`

	// Script name.
	CodeFileName *string `json:"CodeFileName,omitnil,omitempty" name:"CodeFileName"`

	// Specifies the script owner uin.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Specifies the script configuration.
	CodeFileConfig *CodeFileConfig `json:"CodeFileConfig,omitnil,omitempty" name:"CodeFileConfig"`

	// Specifies the script content.
	CodeFileContent *string `json:"CodeFileContent,omitnil,omitempty" name:"CodeFileContent"`

	// Latest operator.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Project ID.
	// 
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Update time. format: yyyy-MM-dd hh:MM:ss.
	// Note: This field may return null, indicating that no valid 
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Creation time. format: yyyy-MM-dd hh:MM:ss.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`

	// Full path of the node, /aaa/bbb/ccc.ipynb, consists of the name of each node.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Parent folder path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`
}

type CodeFileConfig struct {
	// Advanced running parameter variable replacement map-json String,String.
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`

	// notebook kernel session information.
	NotebookSessionInfo *NotebookSessionInfo `json:"NotebookSessionInfo,omitnil,omitempty" name:"NotebookSessionInfo"`
}

type CodeFolderNode struct {
	// Unique identifier
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Name
	Title *string `json:"Title,omitnil,omitempty" name:"Title"`

	// folder type, script.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether it is a leaf node.
	IsLeaf *bool `json:"IsLeaf,omitnil,omitempty" name:"IsLeaf"`

	// Business parameters	
	// 	
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`

	// Permission scope: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`

	// Node path.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Specifies the uin of the responsible person for the directory/file.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Specifies the permission of the current user for nodes.	
	NodePermission *string `json:"NodePermission,omitnil,omitempty" name:"NodePermission"`

	// Sub-node list
	// 
	Children []*CodeFolderNode `json:"Children,omitnil,omitempty" name:"Children"`

	// Parent folder path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`
}

type CodePermissionsResultItem struct {
	// Resource ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	Item *string `json:"Item,omitnil,omitempty" name:"Item"`

	// Whether the operation is successful for the resource permission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Result *bool `json:"Result,omitnil,omitempty" name:"Result"`

	// Specify the reason for the failure in the case of creation failure.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`
}

type CodeStudioFileActionResult struct {
	// Indicates whether the operation is successful. valid values: true (successful), false (unsuccessful).
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`

	// Folder ID.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`
}

type CodeStudioFolderActionResult struct {
	// Indicates whether the operation is successful. valid values: true (successful), false (unsuccessful).
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`

	// Folder ID.
	// 
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type CodeStudioFolderResult struct {
	// Folder ID.
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type CodeStudioMaxPermission struct {
	// Authorization permission type (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PermissionType *string `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
}

type ColumnInfo struct {
	// Field type
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Field name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Field length.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`

	// Field description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Field order.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Position *int64 `json:"Position,omitnil,omitempty" name:"Position"`

	// Is partition field.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsPartition *bool `json:"IsPartition,omitnil,omitempty" name:"IsPartition"`
}

type CreateAlarmRuleData struct {
	// Specifies the unique id of the Alarm rule.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`
}

// Predefined struct for user
type CreateCodeFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filename of the code file.
	CodeFileName *string `json:"CodeFileName,omitnil,omitempty" name:"CodeFileName"`

	// Parent folder path, such as /aaa/bbb/ccc. the path must start with a slash. use / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the code file configuration.
	CodeFileConfig *CodeFileConfig `json:"CodeFileConfig,omitnil,omitempty" name:"CodeFileConfig"`

	// Specifies the code file content.
	CodeFileContent *string `json:"CodeFileContent,omitnil,omitempty" name:"CodeFileContent"`
}

type CreateCodeFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filename of the code file.
	CodeFileName *string `json:"CodeFileName,omitnil,omitempty" name:"CodeFileName"`

	// Parent folder path, such as /aaa/bbb/ccc. the path must start with a slash. use / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the code file configuration.
	CodeFileConfig *CodeFileConfig `json:"CodeFileConfig,omitnil,omitempty" name:"CodeFileConfig"`

	// Specifies the code file content.
	CodeFileContent *string `json:"CodeFileContent,omitnil,omitempty" name:"CodeFileContent"`
}

func (r *CreateCodeFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodeFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "CodeFileName")
	delete(f, "ParentFolderPath")
	delete(f, "CodeFileConfig")
	delete(f, "CodeFileContent")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCodeFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateCodeFileResponseParams struct {
	// Result
	Data *CodeFile `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateCodeFileResponse struct {
	*tchttp.BaseResponse
	Response *CreateCodeFileResponseParams `json:"Response"`
}

func (r *CreateCodeFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodeFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateCodeFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Parent folder path, such as /aaa/bbb/ccc. the path must start with a slash. use / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`
}

type CreateCodeFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Parent folder path, such as /aaa/bbb/ccc. the path must start with a slash. use / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`
}

func (r *CreateCodeFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodeFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderName")
	delete(f, "ParentFolderPath")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCodeFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateCodeFolderResponseParams struct {
	// Indicates whether the operation is successful. valid values: true (successful), false (unsuccessful).
	Data *CodeStudioFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateCodeFolderResponse struct {
	*tchttp.BaseResponse
	Response *CreateCodeFolderResponseParams `json:"Response"`
}

func (r *CreateCodeFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodeFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateCodePermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Operation object.
	AuthorizePermissionObjects []*ExploreAuthorizationObject `json:"AuthorizePermissionObjects,omitnil,omitempty" name:"AuthorizePermissionObjects"`
}

type CreateCodePermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Operation object.
	AuthorizePermissionObjects []*ExploreAuthorizationObject `json:"AuthorizePermissionObjects,omitnil,omitempty" name:"AuthorizePermissionObjects"`
}

func (r *CreateCodePermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodePermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AuthorizePermissionObjects")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCodePermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateCodePermissionsResponseParams struct {
	// Authorization result list.
	Data []*CodePermissionsResultItem `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateCodePermissionsResponse struct {
	*tchttp.BaseResponse
	Response *CreateCodePermissionsResponseParams `json:"Response"`
}

func (r *CreateCodePermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateCodePermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateDataBackfillPlanRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Backfill task collection.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specifies the data time configuration for the backfill task.
	DataBackfillRangeList []*DataBackfillRange `json:"DataBackfillRangeList,omitnil,omitempty" name:"DataBackfillRangeList"`

	// Time zone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Backfill plan name. if left empty, a string of characters is randomly generated by system.
	DataBackfillPlanName *string `json:"DataBackfillPlanName,omitnil,omitempty" name:"DataBackfillPlanName"`

	// Check parent task type. valid values: NONE (do not check ALL), ALL (check ALL upstream parent tasks), MAKE_SCOPE (only check in the currently selected tasks of the backfill plan). default: NONE (do not check).
	CheckParentType *string `json:"CheckParentType,omitnil,omitempty" name:"CheckParentType"`

	// Specifies whether to ignore event dependency for backfill. default true.
	SkipEventListening *bool `json:"SkipEventListening,omitnil,omitempty" name:"SkipEventListening"`

	// Custom workflow self-dependency. valid values: yes or no. if not configured, use the original workflow self-dependency.
	RedefineSelfWorkflowDependency *string `json:"RedefineSelfWorkflowDependency,omitnil,omitempty" name:"RedefineSelfWorkflowDependency"`

	// Customizes the degree of concurrency for instance running. if without configuring, use the existing self-dependent of the task.
	RedefineParallelNum *uint64 `json:"RedefineParallelNum,omitnil,omitempty" name:"RedefineParallelNum"`

	// Scheduling resource group id. if left empty, indicates usage of the original task scheduling execution resource group.
	SchedulerResourceGroupId *string `json:"SchedulerResourceGroupId,omitnil,omitempty" name:"SchedulerResourceGroupId"`

	// Integration task resource group id. indicates usage of the original task scheduling execution resource group if empty.
	IntegrationResourceGroupId *string `json:"IntegrationResourceGroupId,omitnil,omitempty" name:"IntegrationResourceGroupId"`

	// Custom parameter. re-specifies the task's parameters to facilitate the execution of new logic by replenished instances.
	RedefineParamList []*KVPair `json:"RedefineParamList,omitnil,omitempty" name:"RedefineParamList"`

	// Backfill Execution Order - The execution order for backfill instances based on their data time. Effective only when both conditions are met:
	// 
	// 1. Must be the same cycle task.
	// 
	// 2. Priority is given to dependency order. If no dependencies apply, execution follows the configured order.
	// 
	// Valid values:
	// 
	// -NORMAL: No specific order (default)
	// 
	// -ORDER: Execute in chronological order
	// 
	// -REVERSE: Execute in reverse chronological order
	DataTimeOrder *string `json:"DataTimeOrder,omitnil,omitempty" name:"DataTimeOrder"`

	// Backfill Instance Regeneration Cycle - If set, this will redefine the generation cycle of backfill task instances. Currently, only daily instances can be converted into instances generated on the first day of each month.
	// 
	// Valid value:
	// 
	// MONTH_CYCLE: Monthly
	RedefineCycleType *string `json:"RedefineCycleType,omitnil,omitempty" name:"RedefineCycleType"`
}

type CreateDataBackfillPlanRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Backfill task collection.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specifies the data time configuration for the backfill task.
	DataBackfillRangeList []*DataBackfillRange `json:"DataBackfillRangeList,omitnil,omitempty" name:"DataBackfillRangeList"`

	// Time zone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Backfill plan name. if left empty, a string of characters is randomly generated by system.
	DataBackfillPlanName *string `json:"DataBackfillPlanName,omitnil,omitempty" name:"DataBackfillPlanName"`

	// Check parent task type. valid values: NONE (do not check ALL), ALL (check ALL upstream parent tasks), MAKE_SCOPE (only check in the currently selected tasks of the backfill plan). default: NONE (do not check).
	CheckParentType *string `json:"CheckParentType,omitnil,omitempty" name:"CheckParentType"`

	// Specifies whether to ignore event dependency for backfill. default true.
	SkipEventListening *bool `json:"SkipEventListening,omitnil,omitempty" name:"SkipEventListening"`

	// Custom workflow self-dependency. valid values: yes or no. if not configured, use the original workflow self-dependency.
	RedefineSelfWorkflowDependency *string `json:"RedefineSelfWorkflowDependency,omitnil,omitempty" name:"RedefineSelfWorkflowDependency"`

	// Customizes the degree of concurrency for instance running. if without configuring, use the existing self-dependent of the task.
	RedefineParallelNum *uint64 `json:"RedefineParallelNum,omitnil,omitempty" name:"RedefineParallelNum"`

	// Scheduling resource group id. if left empty, indicates usage of the original task scheduling execution resource group.
	SchedulerResourceGroupId *string `json:"SchedulerResourceGroupId,omitnil,omitempty" name:"SchedulerResourceGroupId"`

	// Integration task resource group id. indicates usage of the original task scheduling execution resource group if empty.
	IntegrationResourceGroupId *string `json:"IntegrationResourceGroupId,omitnil,omitempty" name:"IntegrationResourceGroupId"`

	// Custom parameter. re-specifies the task's parameters to facilitate the execution of new logic by replenished instances.
	RedefineParamList []*KVPair `json:"RedefineParamList,omitnil,omitempty" name:"RedefineParamList"`

	// Backfill Execution Order - The execution order for backfill instances based on their data time. Effective only when both conditions are met:
	// 
	// 1. Must be the same cycle task.
	// 
	// 2. Priority is given to dependency order. If no dependencies apply, execution follows the configured order.
	// 
	// Valid values:
	// 
	// -NORMAL: No specific order (default)
	// 
	// -ORDER: Execute in chronological order
	// 
	// -REVERSE: Execute in reverse chronological order
	DataTimeOrder *string `json:"DataTimeOrder,omitnil,omitempty" name:"DataTimeOrder"`

	// Backfill Instance Regeneration Cycle - If set, this will redefine the generation cycle of backfill task instances. Currently, only daily instances can be converted into instances generated on the first day of each month.
	// 
	// Valid value:
	// 
	// MONTH_CYCLE: Monthly
	RedefineCycleType *string `json:"RedefineCycleType,omitnil,omitempty" name:"RedefineCycleType"`
}

func (r *CreateDataBackfillPlanRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateDataBackfillPlanRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskIds")
	delete(f, "DataBackfillRangeList")
	delete(f, "TimeZone")
	delete(f, "DataBackfillPlanName")
	delete(f, "CheckParentType")
	delete(f, "SkipEventListening")
	delete(f, "RedefineSelfWorkflowDependency")
	delete(f, "RedefineParallelNum")
	delete(f, "SchedulerResourceGroupId")
	delete(f, "IntegrationResourceGroupId")
	delete(f, "RedefineParamList")
	delete(f, "DataTimeOrder")
	delete(f, "RedefineCycleType")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDataBackfillPlanRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateDataBackfillPlanResponseParams struct {
	// Specifies the creation result of the data backfill plan.
	Data *CreateDataReplenishmentPlan `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateDataBackfillPlanResponse struct {
	*tchttp.BaseResponse
	Response *CreateDataBackfillPlanResponseParams `json:"Response"`
}

func (r *CreateDataBackfillPlanResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateDataBackfillPlanResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateDataReplenishmentPlan struct {
	// Specifies the backfill plan Id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`
}

// Predefined struct for user
type CreateDataSourceRequestParams struct {
	// Data source item ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data source type: enumeration value.
	// 
	// - MYSQL
	// - TENCENT_MYSQL
	// - POSTGRE
	// - ORACLE
	// - SQLSERVER
	// - FTP
	// - HIVE
	// - HUDI
	// - HDFS
	// - ICEBERG
	// - KAFKA
	// - DTS_KAFKA
	// - HBASE
	// - SPARK
	// - TBASE
	// - DB2
	// - DM
	// - GAUSSDB
	// - GBASE
	// - IMPALA
	// - ES
	// - TENCENT_ES
	// - GREENPLUM
	// - SAP_HANA
	// - SFTP
	// - OCEANBASE
	// - CLICKHOUSE
	// - KUDU
	// - VERTICA
	// - REDIS
	// - COS
	// - DLC
	// - DORIS
	// - CKAFKA
	// - S3_DATAINSIGHT
	// - TDSQL
	// - TDSQL_MYSQL
	// - MONGODB
	// - TENCENT_MONGODB
	// - REST_API
	// - TiDB
	// - StarRocks
	// - Trino
	// - Kyuubi
	// - TCHOUSE_X
	// - TCHOUSE_P
	// - TCHOUSE_C
	// - TCHOUSE_D
	// - INFLUXDB
	// - BIG_QUERY
	// - SSH
	// - BLOB
	// - TDSQL_POSTGRE
	// - GDB
	// - TDENGINE
	// - TDSQLC
	// - FileSystem
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Configuration message of data sources is stored in JSON KV, based on data source type, KV storage information varies.
	// 
	// > deployType: 
	// CONNSTR_PUBLICDB (public network instance). 
	// CONNSTR_CVMDB (self-built instance).
	// Cloud INSTANCE.
	// 
	// ```
	// mysql: self-built instance.
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
	//     "username": "root",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "MYSQL"
	// }
	// mysql: cloud instance.
	// {
	//     "instanceid": "cdb-12uxdo5e",
	//     "db": "db",
	//     "region": "ap-shanghai",
	//     "username": "msyql",
	//     "password": "example#test#123456",
	//     "deployType": "INSTANCE",
	//     "type": "TENCENT_MYSQL"
	// }
	// sql_server: 
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
	//     "username": "user_1",
	//     "password": "example#test#123456",
	//     "type": "SQLSERVER"
	// }
	// redis:
	//     redisType:
	// -Account-Free.
	// -SELF_ACCOUNT (custom account).
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username":""
	//     "password": "example#test#123456",
	//     "ip": "1.1.1.1",
	//     "port": "6379",
	//     "redisType": "NO_ACCOUT",
	//     "type": "REDIS"
	// }
	// oracle: 
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
	//     "username": "oracle",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "ORACLE"
	// }
	// mongodb:
	// advanceParams (custom parameters, which will be appended to the url).
	// {
	//     "advanceParams": [
	//         {
	//             "key": "authSource",
	//             "value": "auth"
	//         }
	//     ],
	//     "db": "admin",
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "MONGODB",
	//     "host": "1.1.1.1:9200"
	// }
	// postgresql:
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "POSTGRE"
	// }
	// kafka:
	//     authType:
	//         - sasl
	//         - jaas
	//         - sasl_plaintext
	//         - sasl_ssl
	//         - GSSAPI
	//     ssl:
	//         -PLAIN
	//         -GSSAPI
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "host": "1.1.1.1:9092",
	//     "ssl": "GSSAPI",
	//     "authType": "sasl",
	//     "type": "KAFKA",
	//     "principal": "aaaa",
	//     "serviceName": "kafka"
	// }
	// 
	// cos:
	// {
	//     "region": "ap-shanghai",
	//     "deployType": "INSTANCE",
	//     "secretId": "aaaaa",
	//     "secretKey": "example#test#123456",
	//     "bucket": "aaa",
	//     "type": "COS"
	// }
	// 
	// ```
	ProdConProperties *string `json:"ProdConProperties,omitnil,omitempty" name:"ProdConProperties"`

	// Development environment data source configuration info. if the project is in standard mode, this field is required.
	DevConProperties *string `json:"DevConProperties,omitnil,omitempty" name:"DevConProperties"`

	// Upload data source file in production environment.
	ProdFileUpload *DataSourceFileUpload `json:"ProdFileUpload,omitnil,omitempty" name:"ProdFileUpload"`

	// Upload the data source file in the development environment.
	DevFileUpload *DataSourceFileUpload `json:"DevFileUpload,omitnil,omitempty" name:"DevFileUpload"`

	// Data source display name for visual inspection.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source description information
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type CreateDataSourceRequest struct {
	*tchttp.BaseRequest
	
	// Data source item ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data source type: enumeration value.
	// 
	// - MYSQL
	// - TENCENT_MYSQL
	// - POSTGRE
	// - ORACLE
	// - SQLSERVER
	// - FTP
	// - HIVE
	// - HUDI
	// - HDFS
	// - ICEBERG
	// - KAFKA
	// - DTS_KAFKA
	// - HBASE
	// - SPARK
	// - TBASE
	// - DB2
	// - DM
	// - GAUSSDB
	// - GBASE
	// - IMPALA
	// - ES
	// - TENCENT_ES
	// - GREENPLUM
	// - SAP_HANA
	// - SFTP
	// - OCEANBASE
	// - CLICKHOUSE
	// - KUDU
	// - VERTICA
	// - REDIS
	// - COS
	// - DLC
	// - DORIS
	// - CKAFKA
	// - S3_DATAINSIGHT
	// - TDSQL
	// - TDSQL_MYSQL
	// - MONGODB
	// - TENCENT_MONGODB
	// - REST_API
	// - TiDB
	// - StarRocks
	// - Trino
	// - Kyuubi
	// - TCHOUSE_X
	// - TCHOUSE_P
	// - TCHOUSE_C
	// - TCHOUSE_D
	// - INFLUXDB
	// - BIG_QUERY
	// - SSH
	// - BLOB
	// - TDSQL_POSTGRE
	// - GDB
	// - TDENGINE
	// - TDSQLC
	// - FileSystem
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Configuration message of data sources is stored in JSON KV, based on data source type, KV storage information varies.
	// 
	// > deployType: 
	// CONNSTR_PUBLICDB (public network instance). 
	// CONNSTR_CVMDB (self-built instance).
	// Cloud INSTANCE.
	// 
	// ```
	// mysql: self-built instance.
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
	//     "username": "root",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "MYSQL"
	// }
	// mysql: cloud instance.
	// {
	//     "instanceid": "cdb-12uxdo5e",
	//     "db": "db",
	//     "region": "ap-shanghai",
	//     "username": "msyql",
	//     "password": "example#test#123456",
	//     "deployType": "INSTANCE",
	//     "type": "TENCENT_MYSQL"
	// }
	// sql_server: 
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
	//     "username": "user_1",
	//     "password": "example#test#123456",
	//     "type": "SQLSERVER"
	// }
	// redis:
	//     redisType:
	// -Account-Free.
	// -SELF_ACCOUNT (custom account).
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username":""
	//     "password": "example#test#123456",
	//     "ip": "1.1.1.1",
	//     "port": "6379",
	//     "redisType": "NO_ACCOUT",
	//     "type": "REDIS"
	// }
	// oracle: 
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
	//     "username": "oracle",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "ORACLE"
	// }
	// mongodb:
	// advanceParams (custom parameters, which will be appended to the url).
	// {
	//     "advanceParams": [
	//         {
	//             "key": "authSource",
	//             "value": "auth"
	//         }
	//     ],
	//     "db": "admin",
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "MONGODB",
	//     "host": "1.1.1.1:9200"
	// }
	// postgresql:
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "POSTGRE"
	// }
	// kafka:
	//     authType:
	//         - sasl
	//         - jaas
	//         - sasl_plaintext
	//         - sasl_ssl
	//         - GSSAPI
	//     ssl:
	//         -PLAIN
	//         -GSSAPI
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "host": "1.1.1.1:9092",
	//     "ssl": "GSSAPI",
	//     "authType": "sasl",
	//     "type": "KAFKA",
	//     "principal": "aaaa",
	//     "serviceName": "kafka"
	// }
	// 
	// cos:
	// {
	//     "region": "ap-shanghai",
	//     "deployType": "INSTANCE",
	//     "secretId": "aaaaa",
	//     "secretKey": "example#test#123456",
	//     "bucket": "aaa",
	//     "type": "COS"
	// }
	// 
	// ```
	ProdConProperties *string `json:"ProdConProperties,omitnil,omitempty" name:"ProdConProperties"`

	// Development environment data source configuration info. if the project is in standard mode, this field is required.
	DevConProperties *string `json:"DevConProperties,omitnil,omitempty" name:"DevConProperties"`

	// Upload data source file in production environment.
	ProdFileUpload *DataSourceFileUpload `json:"ProdFileUpload,omitnil,omitempty" name:"ProdFileUpload"`

	// Upload the data source file in the development environment.
	DevFileUpload *DataSourceFileUpload `json:"DevFileUpload,omitnil,omitempty" name:"DevFileUpload"`

	// Data source display name for visual inspection.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source description information
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func (r *CreateDataSourceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateDataSourceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "Name")
	delete(f, "Type")
	delete(f, "ProdConProperties")
	delete(f, "DevConProperties")
	delete(f, "ProdFileUpload")
	delete(f, "DevFileUpload")
	delete(f, "DisplayName")
	delete(f, "Description")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDataSourceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateDataSourceResponseParams struct {
	// Primary key ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DataSourceResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateDataSourceResponse struct {
	*tchttp.BaseResponse
	Response *CreateDataSourceResponseParams `json:"Response"`
}

func (r *CreateDataSourceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateDataSourceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateFolderResult struct {
	// Folder ID upon successful creation. error will be reported if creation failed.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

// Predefined struct for user
type CreateOpsAlarmRuleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the Alarm rule name.
	AlarmRuleName *string `json:"AlarmRuleName,omitnil,omitempty" name:"AlarmRuleName"`

	// Monitoring Object Business ID List - Pass different business IDs depending on the value of MonitorType:
	// 
	// 1 (Task): MonitorObjectIds should contain a list of task IDs.
	// 
	// 2 (Workflow): MonitorObjectIds should contain a list of workflow IDs (workflow IDs can be obtained using the ListWorkflows API).
	// 
	// 3 (Project): MonitorObjectIds should contain a list of project IDs.
	MonitorObjectIds []*string `json:"MonitorObjectIds,omitnil,omitempty" name:"MonitorObjectIds"`

	// Alarm Rule Monitoring Types:
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when an offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmTypes []*string `json:"AlarmTypes,omitnil,omitempty" name:"AlarmTypes"`

	// Alarm recipient configuration.
	AlarmGroups []*AlarmGroup `json:"AlarmGroups,omitnil,omitempty" name:"AlarmGroups"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Alarm Rule Configuration Information
	// 
	// Success Alarms - No configuration required;
	// 
	// Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
	// 
	// Timeout Alarms - Require configuration of the timeout type and timeout threshold;
	// 
	// Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
	AlarmRuleDetail *AlarmRuleDetail `json:"AlarmRuleDetail,omitnil,omitempty" name:"AlarmRuleDetail"`

	// Alarm level. 1. ordinary, 2. important, 3. critical (default: 1. ordinary).
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Describes the Alarm rule.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type CreateOpsAlarmRuleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the Alarm rule name.
	AlarmRuleName *string `json:"AlarmRuleName,omitnil,omitempty" name:"AlarmRuleName"`

	// Monitoring Object Business ID List - Pass different business IDs depending on the value of MonitorType:
	// 
	// 1 (Task): MonitorObjectIds should contain a list of task IDs.
	// 
	// 2 (Workflow): MonitorObjectIds should contain a list of workflow IDs (workflow IDs can be obtained using the ListWorkflows API).
	// 
	// 3 (Project): MonitorObjectIds should contain a list of project IDs.
	MonitorObjectIds []*string `json:"MonitorObjectIds,omitnil,omitempty" name:"MonitorObjectIds"`

	// Alarm Rule Monitoring Types:
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when an offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmTypes []*string `json:"AlarmTypes,omitnil,omitempty" name:"AlarmTypes"`

	// Alarm recipient configuration.
	AlarmGroups []*AlarmGroup `json:"AlarmGroups,omitnil,omitempty" name:"AlarmGroups"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *uint64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Alarm Rule Configuration Information
	// 
	// Success Alarms - No configuration required;
	// 
	// Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
	// 
	// Timeout Alarms - Require configuration of the timeout type and timeout threshold;
	// 
	// Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
	AlarmRuleDetail *AlarmRuleDetail `json:"AlarmRuleDetail,omitnil,omitempty" name:"AlarmRuleDetail"`

	// Alarm level. 1. ordinary, 2. important, 3. critical (default: 1. ordinary).
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Describes the Alarm rule.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func (r *CreateOpsAlarmRuleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateOpsAlarmRuleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AlarmRuleName")
	delete(f, "MonitorObjectIds")
	delete(f, "AlarmTypes")
	delete(f, "AlarmGroups")
	delete(f, "MonitorObjectType")
	delete(f, "AlarmRuleDetail")
	delete(f, "AlarmLevel")
	delete(f, "Description")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateOpsAlarmRuleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateOpsAlarmRuleResponseParams struct {
	// Specifies the unique id of the Alarm rule.
	Data *CreateAlarmRuleData `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateOpsAlarmRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateOpsAlarmRuleResponseParams `json:"Response"`
}

func (r *CreateOpsAlarmRuleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateOpsAlarmRuleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateProjectMemberRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUins []*string `json:"UserUins,omitnil,omitempty" name:"UserUins"`

	// Role id.
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

type CreateProjectMemberRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUins []*string `json:"UserUins,omitnil,omitempty" name:"UserUins"`

	// Role id.
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

func (r *CreateProjectMemberRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateProjectMemberRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "UserUins")
	delete(f, "RoleIds")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateProjectMemberRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateProjectMemberResponseParams struct {
	// Returned data.
	Data *ProjectResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateProjectMemberResponse struct {
	*tchttp.BaseResponse
	Response *CreateProjectMemberResponseParams `json:"Response"`
}

func (r *CreateProjectMemberResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateProjectMemberResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateProjectRequestParams struct {
	// Basic project information.
	Project *ProjectRequest `json:"Project,omitnil,omitempty" name:"Project"`

	// DLC bind cluster information.
	DLCInfo *DLCClusterInfo `json:"DLCInfo,omitnil,omitempty" name:"DLCInfo"`

	// id list to bind resource group.
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`
}

type CreateProjectRequest struct {
	*tchttp.BaseRequest
	
	// Basic project information.
	Project *ProjectRequest `json:"Project,omitnil,omitempty" name:"Project"`

	// DLC bind cluster information.
	DLCInfo *DLCClusterInfo `json:"DLCInfo,omitnil,omitempty" name:"DLCInfo"`

	// id list to bind resource group.
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`
}

func (r *CreateProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Project")
	delete(f, "DLCInfo")
	delete(f, "ResourceIds")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateProjectResponseParams struct {
	// Project creation result.
	Data *CreateProjectResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateProjectResponse struct {
	*tchttp.BaseResponse
	Response *CreateProjectResponseParams `json:"Response"`
}

func (r *CreateProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateProjectResult struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

// Predefined struct for user
type CreateResourceFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file name. should be consistent with the uploaded file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Bucket name. can be obtained from the GetResourceCosPath api.
	BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`

	// BucketName specifies the cos storage bucket region.
	CosRegion *string `json:"CosRegion,omitnil,omitempty" name:"CosRegion"`

	// Upload path for resource files in the project. value example: /wedata/qxxxm/. root directory, please use /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// -Upload file or manually enter value. only select one method. if both are provided, the sequence is file > manually entered value.
	// -Manually entered value must be existing cos path. parentFolderPath specifies the parent folder path. name specifies the file name. value example: /datastudio/resource/projectId/parentFolderPath/name. 
	ResourceFile *string `json:"ResourceFile,omitnil,omitempty" name:"ResourceFile"`

	// Bundle Client ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// bundle client info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type CreateResourceFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file name. should be consistent with the uploaded file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Bucket name. can be obtained from the GetResourceCosPath api.
	BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`

	// BucketName specifies the cos storage bucket region.
	CosRegion *string `json:"CosRegion,omitnil,omitempty" name:"CosRegion"`

	// Upload path for resource files in the project. value example: /wedata/qxxxm/. root directory, please use /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// -Upload file or manually enter value. only select one method. if both are provided, the sequence is file > manually entered value.
	// -Manually entered value must be existing cos path. parentFolderPath specifies the parent folder path. name specifies the file name. value example: /datastudio/resource/projectId/parentFolderPath/name. 
	ResourceFile *string `json:"ResourceFile,omitnil,omitempty" name:"ResourceFile"`

	// Bundle Client ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// bundle client info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

func (r *CreateResourceFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ResourceName")
	delete(f, "BucketName")
	delete(f, "CosRegion")
	delete(f, "ParentFolderPath")
	delete(f, "ResourceFile")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateResourceFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateResourceFileResponseParams struct {
	// Create resource file result.
	Data *CreateResourceFileResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateResourceFileResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourceFileResponseParams `json:"Response"`
}

func (r *CreateResourceFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateResourceFileResult struct {
	// Resource file ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

// Predefined struct for user
type CreateResourceFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder's absolute path. Example: /wedata/test. Use / to represent the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type CreateResourceFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder's absolute path. Example: /wedata/test. Use / to represent the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

func (r *CreateResourceFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "FolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateResourceFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateResourceFolderResponseParams struct {
	// Creation result of the folder. Error will be reported if failed to create.
	Data *CreateFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateResourceFolderResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourceFolderResponseParams `json:"Response"`
}

func (r *CreateResourceFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateResourceGroupRequestParams struct {
	// Resource group name. specifies the name of a general resource group. it must start with a letter, may include letters, numbers, and underscores (_), and can contain up to 64 characters.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Opened resource group information.
	Type *ResourceType `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether to perform auto-renewal.
	AutoRenewEnabled *bool `json:"AutoRenewEnabled,omitnil,omitempty" name:"AutoRenewEnabled"`

	// Purchase duration, in unit month.
	PurchasePeriod *int64 `json:"PurchasePeriod,omitnil,omitempty" name:"PurchasePeriod"`

	// vpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Subnet
	SubNet *string `json:"SubNet,omitnil,omitempty" name:"SubNet"`

	// Resource purchase region.
	ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"`

	// Project id of the associated project space.
	AssociatedProjectId *string `json:"AssociatedProjectId,omitnil,omitempty" name:"AssociatedProjectId"`

	// Resource group description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type CreateResourceGroupRequest struct {
	*tchttp.BaseRequest
	
	// Resource group name. specifies the name of a general resource group. it must start with a letter, may include letters, numbers, and underscores (_), and can contain up to 64 characters.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Opened resource group information.
	Type *ResourceType `json:"Type,omitnil,omitempty" name:"Type"`

	// Whether to perform auto-renewal.
	AutoRenewEnabled *bool `json:"AutoRenewEnabled,omitnil,omitempty" name:"AutoRenewEnabled"`

	// Purchase duration, in unit month.
	PurchasePeriod *int64 `json:"PurchasePeriod,omitnil,omitempty" name:"PurchasePeriod"`

	// vpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Subnet
	SubNet *string `json:"SubNet,omitnil,omitempty" name:"SubNet"`

	// Resource purchase region.
	ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"`

	// Project id of the associated project space.
	AssociatedProjectId *string `json:"AssociatedProjectId,omitnil,omitempty" name:"AssociatedProjectId"`

	// Resource group description
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func (r *CreateResourceGroupRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceGroupRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Name")
	delete(f, "Type")
	delete(f, "AutoRenewEnabled")
	delete(f, "PurchasePeriod")
	delete(f, "VpcId")
	delete(f, "SubNet")
	delete(f, "ResourceRegion")
	delete(f, "AssociatedProjectId")
	delete(f, "Description")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateResourceGroupRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateResourceGroupResponseParams struct {
	// Successfully enabled.
	Data *ResourceResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourceGroupResponseParams `json:"Response"`
}

func (r *CreateResourceGroupResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateResourceGroupResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateSQLFolderRequestParams struct {
	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. path header must include a slash. pass / to query the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

type CreateSQLFolderRequest struct {
	*tchttp.BaseRequest
	
	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. path header must include a slash. pass / to query the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

func (r *CreateSQLFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateSQLFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "FolderName")
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "AccessScope")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSQLFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateSQLFolderResponseParams struct {
	// Indicates whether the operation is successful. valid values: true (successful), false (unsuccessful).
	Data *SqlCreateResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateSQLFolderResponse struct {
	*tchttp.BaseResponse
	Response *CreateSQLFolderResponseParams `json:"Response"`
}

func (r *CreateSQLFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateSQLFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateSQLScriptRequestParams struct {
	// Script name.
	ScriptName *string `json:"ScriptName,omitnil,omitempty" name:"ScriptName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. root directory is empty string or /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the script configuration for data exploration.
	ScriptConfig *SQLScriptConfig `json:"ScriptConfig,omitnil,omitempty" name:"ScriptConfig"`

	// Specifies the script content, if any, needs to be base64 encoded.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

type CreateSQLScriptRequest struct {
	*tchttp.BaseRequest
	
	// Script name.
	ScriptName *string `json:"ScriptName,omitnil,omitempty" name:"ScriptName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. root directory is empty string or /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the script configuration for data exploration.
	ScriptConfig *SQLScriptConfig `json:"ScriptConfig,omitnil,omitempty" name:"ScriptConfig"`

	// Specifies the script content, if any, needs to be base64 encoded.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

func (r *CreateSQLScriptRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateSQLScriptRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ScriptName")
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "ScriptConfig")
	delete(f, "ScriptContent")
	delete(f, "AccessScope")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSQLScriptRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateSQLScriptResponseParams struct {
	// Result
	Data *SQLScript `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateSQLScriptResponse struct {
	*tchttp.BaseResponse
	Response *CreateSQLScriptResponseParams `json:"Response"`
}

func (r *CreateSQLScriptResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateSQLScriptResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTaskBaseAttribute struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task type ID:
	// 
	// * 21:JDBC SQL
	// * 23:TDSQL-PostgreSQL
	// * 26:OfflineSynchronization
	// * 30:Python
	// * 31:PySpark
	// * 32:DLC SQL
	// * 33:Impala
	// * 34:Hive SQL
	// * 35:Shell
	// * 36:Spark SQL
	// * 38:Shell Form Mode
	// * 39:Spark
	// * 40:TCHouse-P
	// * 41:Kettle
	// * 42:Tchouse-X
	// * 43:TCHouse-X SQL
	// * 46:DLC Spark
	// * 47:TiOne
	// * 48:Trino
	// * 50:DLC PySpark
	// * 92:MapReduce
	// * 130:Branch Node
	// * 131:Merged Node
	// * 132:Notebook
	// * 133:SSH
	// * 134:StarRocks
	// * 137:For-each
	// * 138:Setats SQL
	TaskTypeId *string `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task owner ID. defaults to the current user.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Task folder path.
	// 
	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" classification, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for the operation to succeed.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type CreateTaskConfiguration struct {
	// Resource Group ID: Must be obtained via DescribeNormalSchedulerExecutorGroups API to get the ExecutorGroupId.
	ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"`

	// Base64 encoding of the code content.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// Specifies the configuration list of task extended attributes.
	TaskExtConfigurationList []*TaskExtParameter `json:"TaskExtConfigurationList,omitnil,omitempty" name:"TaskExtConfigurationList"`

	// Cluster ID
	DataCluster *string `json:"DataCluster,omitnil,omitempty" name:"DataCluster"`

	// Specifies the running node.
	BrokerIp *string `json:"BrokerIp,omitnil,omitempty" name:"BrokerIp"`

	// Resource Pool Queue Name: Must be obtained using DescribeProjectClusterQueues API.
	YarnQueue *string `json:"YarnQueue,omitnil,omitempty" name:"YarnQueue"`

	// Source Data Source ID - One or more IDs separated by semicolons (;). Retrieve IDs using the DescribeDataSourceWithoutInfo API.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Target data source ID- One or more IDs separated by semicolons (;). Retrieve IDs using the DescribeDataSourceWithoutInfo API.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Scheduling parameter.
	TaskSchedulingParameterList []*TaskSchedulingParameter `json:"TaskSchedulingParameterList,omitnil,omitempty" name:"TaskSchedulingParameterList"`

	// ID used by the Bundle.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

// Predefined struct for user
type CreateTaskFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Absolute path of the parent folder, such as /abc/de. if it is the root directory, pass /.
	ParentTaskFolderPath *string `json:"ParentTaskFolderPath,omitnil,omitempty" name:"ParentTaskFolderPath"`

	// Folder name to be created.
	TaskFolderName *string `json:"TaskFolderName,omitnil,omitempty" name:"TaskFolderName"`

	// Task folder type.
	// 
	// | task folder type parameter | task folder type interface corresponding name |.
	// | ---------------- | ------------------------ |
	// ETL | integration task.
	// | EMR              | EMR                      |
	// | DLC              | DLC                      |
	// | SETATS           | SETATS                   |
	// | TDSQL            | TDSQL                    |
	// | TCHOUSE          | TCHOUSE                  |
	// GENERAL.
	// TI_ONE | ti-one machine learning.
	// ACROSS_WORKFLOWS | cross-workflow.
	TaskFolderType *string `json:"TaskFolderType,omitnil,omitempty" name:"TaskFolderType"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type CreateTaskFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Absolute path of the parent folder, such as /abc/de. if it is the root directory, pass /.
	ParentTaskFolderPath *string `json:"ParentTaskFolderPath,omitnil,omitempty" name:"ParentTaskFolderPath"`

	// Folder name to be created.
	TaskFolderName *string `json:"TaskFolderName,omitnil,omitempty" name:"TaskFolderName"`

	// Task folder type.
	// 
	// | task folder type parameter | task folder type interface corresponding name |.
	// | ---------------- | ------------------------ |
	// ETL | integration task.
	// | EMR              | EMR                      |
	// | DLC              | DLC                      |
	// | SETATS           | SETATS                   |
	// | TDSQL            | TDSQL                    |
	// | TCHOUSE          | TCHOUSE                  |
	// GENERAL.
	// TI_ONE | ti-one machine learning.
	// ACROSS_WORKFLOWS | cross-workflow.
	TaskFolderType *string `json:"TaskFolderType,omitnil,omitempty" name:"TaskFolderType"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *CreateTaskFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTaskFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentTaskFolderPath")
	delete(f, "TaskFolderName")
	delete(f, "TaskFolderType")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTaskFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateTaskFolderResponseParams struct {
	// Create folder result. if the creation failed, error will be reported.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *CreateTaskFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateTaskFolderResponse struct {
	*tchttp.BaseResponse
	Response *CreateTaskFolderResponseParams `json:"Response"`
}

func (r *CreateTaskFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTaskFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTaskFolderResult struct {
	// Folder ID of successful creation. if failed to create, error will be reported.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`
}

// Predefined struct for user
type CreateTaskRequestParams struct {
	// <p>Project ID</p>
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// <p>The
	// basic attributes of the task.</p>
	TaskBaseAttribute *CreateTaskBaseAttribute `json:"TaskBaseAttribute,omitnil,omitempty" name:"TaskBaseAttribute"`

	// <p>Task configurations.</p>
	TaskConfiguration *CreateTaskConfiguration `json:"TaskConfiguration,omitnil,omitempty" name:"TaskConfiguration"`

	// <p>Task scheduling configuration</p>
	TaskSchedulerConfiguration *CreateTaskSchedulerConfiguration `json:"TaskSchedulerConfiguration,omitnil,omitempty" name:"TaskSchedulerConfiguration"`
}

type CreateTaskRequest struct {
	*tchttp.BaseRequest
	
	// <p>Project ID</p>
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// <p>The
	// basic attributes of the task.</p>
	TaskBaseAttribute *CreateTaskBaseAttribute `json:"TaskBaseAttribute,omitnil,omitempty" name:"TaskBaseAttribute"`

	// <p>Task configurations.</p>
	TaskConfiguration *CreateTaskConfiguration `json:"TaskConfiguration,omitnil,omitempty" name:"TaskConfiguration"`

	// <p>Task scheduling configuration</p>
	TaskSchedulerConfiguration *CreateTaskSchedulerConfiguration `json:"TaskSchedulerConfiguration,omitnil,omitempty" name:"TaskSchedulerConfiguration"`
}

func (r *CreateTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskBaseAttribute")
	delete(f, "TaskConfiguration")
	delete(f, "TaskSchedulerConfiguration")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateTaskResponseParams struct {
	// <p>Task ID.</p>
	Data *CreateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateTaskResponseParams `json:"Response"`
}

func (r *CreateTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTaskResult struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type CreateTaskSchedulerConfiguration struct {
	// <p>Period type: Defaults to DAY_CYCLE</p><p>Supported types are </p><ul><li>ONEOFF_CYCLE: One-time</li><li>YEAR_CYCLE: Year</li><li>MONTH_CYCLE: Month</li><li>WEEK_CYCLE: Week</li><li>DAY_CYCLE: Day</li><li>HOUR_CYCLE: Hour</li><li>MINUTE_CYCLE: Minute</li><li>CRONTAB_CYCLE: crontab expression</li></ul>
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// <p>Time zone, defaults to UTC+8</p>
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// <p>Cron expression, defaults to 0 0 0 * * ? *</p>
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`

	// <p>Effective date, defaults to 00:00:00 of the current date</p>
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// <p>End date, defaults to 2099-12-31 23:59:59</p>
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// <p>Execution time left-closed interval, default 00:00</p>
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// <p>Execution time right closed interval, default 23:59</p>
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// <p>Calendar scheduling value is 0 and 1, where 1 is on and 0 is shutdown, with a default value of 0.</p>
	CalendarOpen *string `json:"CalendarOpen,omitnil,omitempty" name:"CalendarOpen"`

	// <p>Calendar scheduling Calendar ID</p>
	CalendarId *string `json:"CalendarId,omitnil,omitempty" name:"CalendarId"`

	// <p>Self-dependent, default value serial, value: parallel, serial, orderly</p>
	SelfDepend *string `json:"SelfDepend,omitnil,omitempty" name:"SelfDepend"`

	// <p>Upstream dependency array</p>
	UpstreamDependencyConfigList []*DependencyTaskBrief `json:"UpstreamDependencyConfigList,omitnil,omitempty" name:"UpstreamDependencyConfigList"`

	// <p>Event array</p>
	EventListenerList []*EventListener `json:"EventListenerList,omitnil,omitempty" name:"EventListenerList"`

	// <p>Rerun & replenishment configuration, defaults to ALL; , ALL allows rerun or replenishment after successful or failed running, FAILURE cannot rerun or replenish after successful running but allows rerun or replenishment after running FAILURE, NONE does not allow rerun or replenishment after either successful or failed running;</p>
	AllowRedoType *string `json:"AllowRedoType,omitnil,omitempty" name:"AllowRedoType"`

	// <p>Output parameter array</p>
	ParamTaskOutList []*OutTaskParameter `json:"ParamTaskOutList,omitnil,omitempty" name:"ParamTaskOutList"`

	// <p>Input parameter array</p>
	ParamTaskInList []*InTaskParameter `json:"ParamTaskInList,omitnil,omitempty" name:"ParamTaskInList"`

	// <p>Output registration</p>
	TaskOutputRegistryList []*TaskDataRegistry `json:"TaskOutputRegistryList,omitnil,omitempty" name:"TaskOutputRegistryList"`

	// <p><strong>Instance Generation Policy</strong></p><ul><li>T_PLUS_0: T+0 generation, default policy</li><li>T_PLUS_1: T+1 generation</li></ul>
	InitStrategy *string `json:"InitStrategy,omitnil,omitempty" name:"InitStrategy"`

	// <p>Scheduling type: 0 normal scheduling 1 dry-run scheduling, default is 0</p>
	//
	// Deprecated: ScheduleRunType is deprecated.
	ScheduleRunType *string `json:"ScheduleRunType,omitnil,omitempty" name:"ScheduleRunType"`

	// <p>Task scheduling priority Execution priority 4 High 5 Medium 6 Low, Default:6</p>
	//
	// Deprecated: RunPriority is deprecated.
	RunPriority *string `json:"RunPriority,omitnil,omitempty" name:"RunPriority"`

	// <p>Retry policy Retry wait time, in minutes: Default: 5</p>
	//
	// Deprecated: RetryWait is deprecated.
	RetryWait *string `json:"RetryWait,omitnil,omitempty" name:"RetryWait"`

	// <p>Retry policy Maximum attempts, Default: 4</p>
	//
	// Deprecated: MaxRetryAttempts is deprecated.
	MaxRetryAttempts *string `json:"MaxRetryAttempts,omitnil,omitempty" name:"MaxRetryAttempts"`

	// <p>Timeout handling strategy Runtime timeout (unit: minutes) Default is -1</p>
	//
	// Deprecated: ExecutionTTL is deprecated.
	ExecutionTTL *string `json:"ExecutionTTL,omitnil,omitempty" name:"ExecutionTTL"`

	// <p>Timeout handling strategy Wait duration timeout (unit: minutes) Default value is -1</p>
	//
	// Deprecated: WaitExecutionTotalTTL is deprecated.
	WaitExecutionTotalTTL *string `json:"WaitExecutionTotalTTL,omitnil,omitempty" name:"WaitExecutionTotalTTL"`

	// <p>Scheduling type: 0 normal scheduling 1 dry-run scheduling, default is 0</p>
	ScheduleType *int64 `json:"ScheduleType,omitnil,omitempty" name:"ScheduleType"`

	// <p>Task scheduling priority Execution priority 4 High 5 Medium 6 Low, Default:6</p>
	RunPriorityType *int64 `json:"RunPriorityType,omitnil,omitempty" name:"RunPriorityType"`

	// <p>Retry policy Retry wait time, in minutes: Default: 5</p>
	RetryWaitMinute *int64 `json:"RetryWaitMinute,omitnil,omitempty" name:"RetryWaitMinute"`

	// <p>Retry policy Maximum attempts, Default: 4</p>
	MaxRetryNumber *int64 `json:"MaxRetryNumber,omitnil,omitempty" name:"MaxRetryNumber"`

	// <p>Timeout handling strategy Runtime timeout (unit: minutes) Default is -1</p>
	ExecutionTTLMinute *int64 `json:"ExecutionTTLMinute,omitnil,omitempty" name:"ExecutionTTLMinute"`

	// <p>Timeout handling strategy Wait duration timeout (unit: minutes) Default value is -1</p>
	WaitExecutionTotalTTLMinute *int64 `json:"WaitExecutionTotalTTLMinute,omitnil,omitempty" name:"WaitExecutionTotalTTLMinute"`

	// <ul><li>The task dependency run condition defaults to ALL_SUCCESS. Currently, only workflow scheduling under the project supports configuration.</li><li>ALL_SUCCESS: All successful: When all upstream dependency tasks reach the final state, perform a dependency check. If all upstream tasks are successful, the dependency check passes. Otherwise, if one upstream task skips running, it is marked as skipped. In other cases, it is marked as upstream failure.</li><li>ALL_FAILED: All failed: When all upstream dependency tasks reach the final state, perform a dependency check. If all upstream tasks are in a failed state or marked as upstream failure, the dependency check passes. Otherwise, it is marked as skipped.</li><li>ALL_DONE: All completed: When all upstream dependency tasks reach the final state, perform a dependency check, and the dependency check passes directly.</li><li>ALL_DONE_AT_LEAST_ONE_SUCCESS: All upstream tasks completed with at least one success: When all upstream dependency tasks reach the final state, perform a dependency check. If at least one is successful, the dependency check passes. Otherwise, it skips running.</li><li>ALL_SKIPPED: All upstream tasks skipped: When all upstream dependency tasks reach the final state, perform a dependency check. Only if all upstream tasks are in a skipped state does the dependency check pass. Otherwise, the current node skips running.</li><li>ONE_FAILED: At least one failed: If at least one upstream task fails, perform a dependency check, and the check passes. If all upstream tasks complete but none fail, it skips running.</li><li>ONE_SUCCESS: At least one success: If at least one upstream task succeeds, perform a dependency check, and the check passes. If all upstream tasks complete but none succeed, it skips running.</li><li>ONE_DONE: At least one completed: If at least one upstream task completes, perform a dependency check, and the check passes. Otherwise, it continues waiting for upstream.</li><li>NONE_FAILED: All upstream tasks completed with no failure: When all upstream dependency tasks reach the final state, perform a dependency check. If all upstream tasks are successful or skipped, the check passes. Otherwise, it is marked as upstream failure.</li><li>ALL_DONE_NONE_FAILED_AT_LEAST_ONE_SUCCESS: All upstream tasks completed with no failure and at least one success: When all upstream dependency tasks reach the final state, perform a dependency check. If no upstream task fails and at least one succeeds, the check passes. Otherwise, it skips running.</li><li>NONE_SKIPPED: All upstream tasks completed with no skipped runs: When all upstream dependency tasks reach the final state, perform a dependency check. If all upstream tasks are in a successful, failed, or upstream failure state, the check passes. Otherwise, it skips running.</li><li>ALL_DONE_AT_LEAST_ONE_FAILED: All upstream tasks completed with at least one failure: When all upstream dependency tasks reach the final state, perform a dependency check. If at least one fails, the check passes. Otherwise, it skips running.</li></ul>
	DependencyTriggerPolicy *string `json:"DependencyTriggerPolicy,omitnil,omitempty" name:"DependencyTriggerPolicy"`

	// <p>Whether to allow downstream dependency 1 Allow 0 Do not allow</p><p>Value ranges from 0 to 1</p><p>Default value: 1</p>
	//
	// Deprecated: AllowDownstreamDependency is deprecated.
	AllowDownstreamDependency *int64 `json:"AllowDownstreamDependency,omitnil,omitempty" name:"AllowDownstreamDependency"`
}

type CreateTriggerTaskBaseAttribute struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task type ID:.
	// * 26:OfflineSynchronization
	// * 30:Python
	// * 32:DLC SQL
	// * 35:Shell
	// * 38:Shell Form Mode
	// * 46:DLC Spark
	// * 50:DLC PySpark
	// * 130:Branch Node
	// * 131:Merged Node
	// * 132:Notebook
	// * 133:SSH
	// * 137:For-each
	// * 139:DLC Spark Streaming
	// * 140:Run Workflow
	TaskTypeId *string `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task owner ID, defaults to the current user.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Task folder path.
	// 
	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for the operation to succeed.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type CreateTriggerTaskConfiguration struct {
	// Resource group ID: need to pass through DescribeNormalSchedulerExecutorGroups to obtain ExecutorGroupId.
	ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"`

	// Base64 encoding of the code content.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// Task extended attribute configuration list.
	TaskExtConfigurationList []*TaskExtParameter `json:"TaskExtConfigurationList,omitnil,omitempty" name:"TaskExtConfigurationList"`

	// Cluster ID
	DataCluster *string `json:"DataCluster,omitnil,omitempty" name:"DataCluster"`

	// Specified running node.
	BrokerIp *string `json:"BrokerIp,omitnil,omitempty" name:"BrokerIp"`

	// Resource pool queue name. need to pass through DescribeProjectClusterQueues to obtain.
	YarnQueue *string `json:"YarnQueue,omitnil,omitempty" name:"YarnQueue"`

	// Source data source ID, separated by semicolons, need to pass through DescribeDataSourceWithoutInfo to obtain.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Target data source ID, use ; to separate, need to pass through DescribeDataSourceWithoutInfo to obtain.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Scheduling parameter.
	TaskSchedulingParameterList []*TaskSchedulingParameter `json:"TaskSchedulingParameterList,omitnil,omitempty" name:"TaskSchedulingParameterList"`

	// ID used by the Bundle.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

// Predefined struct for user
type CreateTriggerTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task basic attributes.
	TriggerTaskBaseAttribute *CreateTriggerTaskBaseAttribute `json:"TriggerTaskBaseAttribute,omitnil,omitempty" name:"TriggerTaskBaseAttribute"`

	// Task configurations.
	TriggerTaskConfiguration *CreateTriggerTaskConfiguration `json:"TriggerTaskConfiguration,omitnil,omitempty" name:"TriggerTaskConfiguration"`

	// Task scheduling configuration.
	TriggerTaskSchedulerConfiguration *CreateTriggerTaskSchedulerConfiguration `json:"TriggerTaskSchedulerConfiguration,omitnil,omitempty" name:"TriggerTaskSchedulerConfiguration"`
}

type CreateTriggerTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task basic attributes.
	TriggerTaskBaseAttribute *CreateTriggerTaskBaseAttribute `json:"TriggerTaskBaseAttribute,omitnil,omitempty" name:"TriggerTaskBaseAttribute"`

	// Task configurations.
	TriggerTaskConfiguration *CreateTriggerTaskConfiguration `json:"TriggerTaskConfiguration,omitnil,omitempty" name:"TriggerTaskConfiguration"`

	// Task scheduling configuration.
	TriggerTaskSchedulerConfiguration *CreateTriggerTaskSchedulerConfiguration `json:"TriggerTaskSchedulerConfiguration,omitnil,omitempty" name:"TriggerTaskSchedulerConfiguration"`
}

func (r *CreateTriggerTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TriggerTaskBaseAttribute")
	delete(f, "TriggerTaskConfiguration")
	delete(f, "TriggerTaskSchedulerConfiguration")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTriggerTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateTriggerTaskResponseParams struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *CreateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateTriggerTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateTriggerTaskResponseParams `json:"Response"`
}

func (r *CreateTriggerTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTriggerTaskSchedulerConfiguration struct {
	// Task array of upstream dependency.
	UpstreamDependencyConfigList []*DependencyTriggerTaskBrief `json:"UpstreamDependencyConfigList,omitnil,omitempty" name:"UpstreamDependencyConfigList"`

	// Task scheduling priority. execution priority: 4 (high), 5 (medium), 6 (low). default: 6.
	RunPriorityType *int64 `json:"RunPriorityType,omitnil,omitempty" name:"RunPriorityType"`

	// Retry policy retry wait time, in minutes: default: 5.
	RetryWaitMinute *int64 `json:"RetryWaitMinute,omitnil,omitempty" name:"RetryWaitMinute"`

	// Retry policy maximum attempts. default: 4.
	MaxRetryNumber *int64 `json:"MaxRetryNumber,omitnil,omitempty" name:"MaxRetryNumber"`

	// Timeout handling strategy runtime timeout (unit: minutes) defaults to -1.
	ExecutionTTLMinute *int64 `json:"ExecutionTTLMinute,omitnil,omitempty" name:"ExecutionTTLMinute"`

	// Timeout handling strategy wait duration timeout (unit: minutes) defaults to -1.
	WaitExecutionTotalTTLMinute *int64 `json:"WaitExecutionTotalTTLMinute,omitnil,omitempty" name:"WaitExecutionTotalTTLMinute"`

	// Rerun & replenishment configuration, defaults to ALL. ALL allows rerun or replenishment after successful or failed running. FAILURE does not allow rerun or replenishment after successful running, but allows rerun or replenishment after failed running. NONE does not allow rerun or replenishment after successful or failed running.
	AllowRedoType *string `json:"AllowRedoType,omitnil,omitempty" name:"AllowRedoType"`

	// Output parameter array.
	ParamTaskOutList []*OutTaskParameter `json:"ParamTaskOutList,omitnil,omitempty" name:"ParamTaskOutList"`

	// Input parameter array.
	ParamTaskInList []*InTaskParameter `json:"ParamTaskInList,omitnil,omitempty" name:"ParamTaskInList"`

	// Output registration.
	TaskOutputRegistryList []*TaskDataRegistry `json:"TaskOutputRegistryList,omitnil,omitempty" name:"TaskOutputRegistryList"`
}

// Predefined struct for user
type CreateTriggerWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Folder path.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow parameter.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unified scheduling info.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameters configuration.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`
}

type CreateTriggerWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Folder path.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow parameter.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unified scheduling info.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameters configuration.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`
}

func (r *CreateTriggerWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowName")
	delete(f, "ParentFolderPath")
	delete(f, "WorkflowDesc")
	delete(f, "OwnerUin")
	delete(f, "WorkflowParams")
	delete(f, "TriggerWorkflowSchedulerConfigurations")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	delete(f, "GeneralTaskParams")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTriggerWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateTriggerWorkflowResponseParams struct {
	// Return the workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *CreateTriggerWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateTriggerWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *CreateTriggerWorkflowResponseParams `json:"Response"`
}

func (r *CreateTriggerWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTriggerWorkflowResult struct {
	// Workflow id after successful creation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

// Predefined struct for user
type CreateTriggerWorkflowRunRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Custom running parameters. if empty or null, use the latest configuration of the workflow.
	AdvancedParams []*SchedulingParameter `json:"AdvancedParams,omitnil,omitempty" name:"AdvancedParams"`

	// This time, run the specified task ID set. if it is null or empty, run all.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specified scheduling resource group id. uses the original resource group by default if left empty.
	SchedulingResourceGroupId *string `json:"SchedulingResourceGroupId,omitnil,omitempty" name:"SchedulingResourceGroupId"`

	// Specified integration resource group id. uses the original resource group if left empty.
	IntegrationResourceGroupId *string `json:"IntegrationResourceGroupId,omitnil,omitempty" name:"IntegrationResourceGroupId"`
}

type CreateTriggerWorkflowRunRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Custom running parameters. if empty or null, use the latest configuration of the workflow.
	AdvancedParams []*SchedulingParameter `json:"AdvancedParams,omitnil,omitempty" name:"AdvancedParams"`

	// This time, run the specified task ID set. if it is null or empty, run all.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specified scheduling resource group id. uses the original resource group by default if left empty.
	SchedulingResourceGroupId *string `json:"SchedulingResourceGroupId,omitnil,omitempty" name:"SchedulingResourceGroupId"`

	// Specified integration resource group id. uses the original resource group if left empty.
	IntegrationResourceGroupId *string `json:"IntegrationResourceGroupId,omitnil,omitempty" name:"IntegrationResourceGroupId"`
}

func (r *CreateTriggerWorkflowRunRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerWorkflowRunRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "AdvancedParams")
	delete(f, "TaskIds")
	delete(f, "SchedulingResourceGroupId")
	delete(f, "IntegrationResourceGroupId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTriggerWorkflowRunRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateTriggerWorkflowRunResponseParams struct {
	// Operation Result Information
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *CreateTriggerWorkflowRunResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateTriggerWorkflowRunResponse struct {
	*tchttp.BaseResponse
	Response *CreateTriggerWorkflowRunResponseParams `json:"Response"`
}

func (r *CreateTriggerWorkflowRunResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateTriggerWorkflowRunResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateTriggerWorkflowRunResult struct {
	// Workflow execution id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`
}

// Predefined struct for user
type CreateWorkflowFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder absolute path, such as /abc/de. if it is the root directory, pass /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the folder name to be created.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type CreateWorkflowFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder absolute path, such as /abc/de. if it is the root directory, pass /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the folder name to be created.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

func (r *CreateWorkflowFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "FolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateWorkflowFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateWorkflowFolderResponseParams struct {
	// Folder creation result. error will be reported if creation failed.
	Data *CreateFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateWorkflowFolderResponse struct {
	*tchttp.BaseResponse
	Response *CreateWorkflowFolderResponseParams `json:"Response"`
}

func (r *CreateWorkflowFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateWorkflowPermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// Authorization information array.
	PermissionList []*WorkflowPermission `json:"PermissionList,omitnil,omitempty" name:"PermissionList"`
}

type CreateWorkflowPermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// Authorization information array.
	PermissionList []*WorkflowPermission `json:"PermissionList,omitnil,omitempty" name:"PermissionList"`
}

func (r *CreateWorkflowPermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowPermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "EntityId")
	delete(f, "EntityType")
	delete(f, "PermissionList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateWorkflowPermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateWorkflowPermissionsResponseParams struct {
	// Authorization result.
	Data *CreateWorkflowPermissionsResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateWorkflowPermissionsResponse struct {
	*tchttp.BaseResponse
	Response *CreateWorkflowPermissionsResponseParams `json:"Response"`
}

func (r *CreateWorkflowPermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowPermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateWorkflowPermissionsResult struct {
	// Authorization result, true/false.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type CreateWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Specifies the folder path.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow type. value examples: cycle for periodic workflow; manual for manual workflow. default input: cycle.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow parameter.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Specifies unified scheduling info.
	WorkflowSchedulerConfiguration *WorkflowSchedulerConfigurationInfo `json:"WorkflowSchedulerConfiguration,omitnil,omitempty" name:"WorkflowSchedulerConfiguration"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type CreateWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Specifies the folder path.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow type. value examples: cycle for periodic workflow; manual for manual workflow. default input: cycle.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow parameter.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Specifies unified scheduling info.
	WorkflowSchedulerConfiguration *WorkflowSchedulerConfigurationInfo `json:"WorkflowSchedulerConfiguration,omitnil,omitempty" name:"WorkflowSchedulerConfiguration"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

func (r *CreateWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowName")
	delete(f, "ParentFolderPath")
	delete(f, "WorkflowType")
	delete(f, "WorkflowDesc")
	delete(f, "OwnerUin")
	delete(f, "WorkflowParams")
	delete(f, "WorkflowSchedulerConfiguration")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type CreateWorkflowResponseParams struct {
	// Returns the workflow ID.
	Data *CreateWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type CreateWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *CreateWorkflowResponseParams `json:"Response"`
}

func (r *CreateWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *CreateWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type CreateWorkflowResult struct {
	// Workflow id after successful creation.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type DLCClusterInfo struct {
	// dlc resource name (the role Uin needs to be added to dlc, otherwise the resource may be unavailable).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ComputeResources []*string `json:"ComputeResources,omitnil,omitempty" name:"ComputeResources"`

	// dlc region.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// Specify the default database for the DLC cluster.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DefaultDatabase *string `json:"DefaultDatabase,omitnil,omitempty" name:"DefaultDatabase"`

	// Cluster configuration tag (only applicable to projects in standard mode and required in standard mode). valid values:.
	// -Prod (live production environment).
	// -Dev (development environment).
	StandardModeEnvTag *string `json:"StandardModeEnvTag,omitnil,omitempty" name:"StandardModeEnvTag"`

	// Access account (only applicable to projects in standard mode and required in standard mode), used for submitting dlc tasks.
	// Use a designated sub-account and set permissions to the corresponding database and table for the sub-account. task owner mode is prone to cause task failure after the person in charge leaves. master account mode is not easy to control permissions when permissions across multiple projects are different.
	// 
	// Enumeration value:.
	// -TASK_RUNNER (task owner).
	// -OWNER (master account mode).
	// -SUB (sub-account mode).
	AccessAccount *string `json:"AccessAccount,omitnil,omitempty" name:"AccessAccount"`

	// Sub-Account id (only applicable to projects in standard mode). when AccessAccount is in sub-account mode, the designated sub-account id information is required. other modes do not require specifying.
	SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"`
}

type DataBackfill struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data supplement plan id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`

	// Data supplement plan name.
	DataBackfillPlanName *string `json:"DataBackfillPlanName,omitnil,omitempty" name:"DataBackfillPlanName"`

	// Supplementary task collection.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Backfill task data configuration list.
	DataBackfillRangeList []*DataBackfillRange `json:"DataBackfillRangeList,omitnil,omitempty" name:"DataBackfillRangeList"`

	// Check parent task type. valid values: NONE (do not check ALL), ALL (check ALL upstream parent tasks), MAKE_SCOPE (check only in the selected tasks of the present replenishment plan).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CheckParentType *string `json:"CheckParentType,omitnil,omitempty" name:"CheckParentType"`

	// Specifies whether to ignore event dependency during backfill.	
	// Note: This field may return null, indicating that no valid values can be obtained.
	SkipEventListening *bool `json:"SkipEventListening,omitnil,omitempty" name:"SkipEventListening"`

	// Custom instance run degree of concurrency. return null or do not return indicates task original self-dependent.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedefineParallelNum *uint64 `json:"RedefineParallelNum,omitnil,omitempty" name:"RedefineParallelNum"`

	// Custom workflow self-dependency, yes or no. if not configured, use the existing workflow self-dependency.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedefineSelfWorkflowDependency *string `json:"RedefineSelfWorkflowDependency,omitnil,omitempty" name:"RedefineSelfWorkflowDependency"`

	// Scheduling resource group id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SchedulerResourceGroupId *string `json:"SchedulerResourceGroupId,omitnil,omitempty" name:"SchedulerResourceGroupId"`

	// Integration resource group id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IntegrationResourceGroupId *string `json:"IntegrationResourceGroupId,omitnil,omitempty" name:"IntegrationResourceGroupId"`

	// Backfill custom generation cycle.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedefineCycleType *string `json:"RedefineCycleType,omitnil,omitempty" name:"RedefineCycleType"`

	// Custom parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RedefineParamList []*KVPair `json:"RedefineParamList,omitnil,omitempty" name:"RedefineParamList"`

	// Execution start time of the backfill task.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Backfill task execution end time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Create a user id.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Percentage of supplementary plan instances completed.
	CompletePercent *uint64 `json:"CompletePercent,omitnil,omitempty" name:"CompletePercent"`

	// Percentage of supplementary plan instances successful.
	SuccessPercent *uint64 `json:"SuccessPercent,omitnil,omitempty" name:"SuccessPercent"`

	// Backfill follows the instance data time sequence and must meet two conditions to take effect: 1. must be tasks in the same cycle 2. execute based on dependencies, or execute based on configured execution ORDER without dependency impact  available values: - NORMAL: leave unset - ORDER: sequence - REVERSE: descending ORDER  if not set, the default is NORMAL.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DataTimeOrder *string `json:"DataTimeOrder,omitnil,omitempty" name:"DataTimeOrder"`
}

type DataBackfillRange struct {
	// Start date in yyyy-MM-dd format. indicates the start from 00:00:00 on the specified date.
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// End date in the format yyyy-MM-dd, indicates ending at 23:59:59 of the specified date.
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// Start time of each day between [StartDate, EndDate] in HH:mm format. effective for tasks with a period of hours or less.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// End time point between [StartDate, EndDate] in HH:mm format. effective for tasks with a period of hours or less.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`
}

type DataSource struct {
	// Belonging project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Data source type: enumeration value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Data source name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data source display name for visual inspection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source description information
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Affiliated project Name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Data source creator.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUser *string `json:"CreateUser,omitnil,omitempty" name:"CreateUser"`

	// Time
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Updater
	// Note: This field may return null, indicating that no valid values can be obtained.
	ModifyUser *string `json:"ModifyUser,omitnil,omitempty" name:"ModifyUser"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Configuration message of data sources is stored in JSON KV. KV storage information varies based on data source type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProdConProperties *string `json:"ProdConProperties,omitnil,omitempty" name:"ProdConProperties"`

	// Same as params content for developing data of data sources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DevConProperties *string `json:"DevConProperties,omitnil,omitempty" name:"DevConProperties"`

	// Data source type.
	// 
	// -DB - custom definition source.
	// -CLUSTER --- system source.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Category *string `json:"Category,omitnil,omitempty" name:"Category"`
}

type DataSourceFileUpload struct {
	// Truststore authentication file, default filename truststore.jks.
	TrustStore *string `json:"TrustStore,omitnil,omitempty" name:"TrustStore"`

	// Keystore authentication file, default filename keystore.jks.
	KeyStore *string `json:"KeyStore,omitnil,omitempty" name:"KeyStore"`

	// core-site.xml file.
	CoreSite *string `json:"CoreSite,omitnil,omitempty" name:"CoreSite"`

	// hdfs-site.xml file.
	HdfsSite *string `json:"HdfsSite,omitnil,omitempty" name:"HdfsSite"`

	// hive-site.xml file.
	HiveSite *string `json:"HiveSite,omitnil,omitempty" name:"HiveSite"`

	// hbase-site file.
	HBASESite *string `json:"HBASESite,omitnil,omitempty" name:"HBASESite"`

	// Keytab file, default filename [data source name].keytab.
	KeyTab *string `json:"KeyTab,omitnil,omitempty" name:"KeyTab"`

	// krb5.conf file.
	KRB5Conf *string `json:"KRB5Conf,omitnil,omitempty" name:"KRB5Conf"`

	// Private key, default filename private_key.pem.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

	// Public key, default filename public_key.pem.
	PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
}

type DataSourceInfo struct {
	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Data Source List
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*DataSource `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total score page number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type DataSourceResult struct {
	// Whether the operation is successful
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`

	// Data source ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DataSourceId *int64 `json:"DataSourceId,omitnil,omitempty" name:"DataSourceId"`
}

type DataSourceStatus struct {
	// Data source operation status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type DatabaseInfo struct {
	// Database GUID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Guid *string `json:"Guid,omitnil,omitempty" name:"Guid"`

	// Database name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Database catalog.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Repository description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Database location.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Database storage size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`

	// Data source ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Data source type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceType *string `json:"DatasourceType,omitnil,omitempty" name:"DatasourceType"`
}

type DatasourceRelationTaskInfo struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Data source association task info. the current period only supports data development task API return data.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskInfo []*RelateTask `json:"TaskInfo,omitnil,omitempty" name:"TaskInfo"`
}

type DeleteAlarmRuleResult struct {
	// Whether deletion succeeded.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteCodeFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`
}

type DeleteCodeFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`
}

func (r *DeleteCodeFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodeFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "CodeFileId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCodeFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteCodeFileResponseParams struct {
	// Execution result
	Data *CodeStudioFileActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteCodeFileResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCodeFileResponseParams `json:"Response"`
}

func (r *DeleteCodeFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodeFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteCodeFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. the parameter value comes from the CreateCodeFolder API response.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type DeleteCodeFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. the parameter value comes from the CreateCodeFolder API response.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *DeleteCodeFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodeFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCodeFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteCodeFolderResponseParams struct {
	// Execution result
	Data *CodeStudioFolderActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteCodeFolderResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCodeFolderResponseParams `json:"Response"`
}

func (r *DeleteCodeFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodeFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteCodePermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// List of permissions to revoke.
	RecyclePolicySet []*ExploreAuthorizationRecycleObject `json:"RecyclePolicySet,omitnil,omitempty" name:"RecyclePolicySet"`
}

type DeleteCodePermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// List of permissions to revoke.
	RecyclePolicySet []*ExploreAuthorizationRecycleObject `json:"RecyclePolicySet,omitnil,omitempty" name:"RecyclePolicySet"`
}

func (r *DeleteCodePermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodePermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "RecyclePolicySet")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCodePermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteCodePermissionsResponseParams struct {
	// Permission revocation result.
	Data []*CodePermissionsResultItem `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteCodePermissionsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCodePermissionsResponseParams `json:"Response"`
}

func (r *DeleteCodePermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteCodePermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteDataBackfillPlanAsyncRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Supplemental plan id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`
}

type DeleteDataBackfillPlanAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Supplemental plan id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`
}

func (r *DeleteDataBackfillPlanAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteDataBackfillPlanAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "DataBackfillPlanId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDataBackfillPlanAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteDataBackfillPlanAsyncResponseParams struct {
	// Delete execution plan async response.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteDataBackfillPlanAsyncResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDataBackfillPlanAsyncResponseParams `json:"Response"`
}

func (r *DeleteDataBackfillPlanAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteDataBackfillPlanAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteDataSourceRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

type DeleteDataSourceRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

func (r *DeleteDataSourceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteDataSourceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "Id")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDataSourceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteDataSourceResponseParams struct {
	// Whether deletion succeeded.
	Data *DataSourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteDataSourceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDataSourceResponseParams `json:"Response"`
}

func (r *DeleteDataSourceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteDataSourceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteFolderResult struct {
	// Deletion status. true indicates success, false indicates failure.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteLineageRequestParams struct {
	// List of lineage relationships to be deleted.
	Relations []*LineagePair `json:"Relations,omitnil,omitempty" name:"Relations"`
}

type DeleteLineageRequest struct {
	*tchttp.BaseRequest
	
	// List of lineage relationships to be deleted.
	Relations []*LineagePair `json:"Relations,omitnil,omitempty" name:"Relations"`
}

func (r *DeleteLineageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteLineageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Relations")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLineageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteLineageResponseParams struct {
	// Deletion result
	Data *OperateResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteLineageResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLineageResponseParams `json:"Response"`
}

func (r *DeleteLineageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteLineageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteOpsAlarmRuleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Alarm Rule Unique ID. Obtained from the response of the CreateAlarmRule API. Either this field or AlarmRuleName must be provided.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`
}

type DeleteOpsAlarmRuleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Alarm Rule Unique ID. Obtained from the response of the CreateAlarmRule API. Either this field or AlarmRuleName must be provided.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`
}

func (r *DeleteOpsAlarmRuleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteOpsAlarmRuleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AlarmRuleId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteOpsAlarmRuleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteOpsAlarmRuleResponseParams struct {
	// Whether deletion succeeded.
	Data *DeleteAlarmRuleResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteOpsAlarmRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteOpsAlarmRuleResponseParams `json:"Response"`
}

func (r *DeleteOpsAlarmRuleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteOpsAlarmRuleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteProjectMemberRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID list
	UserUins []*string `json:"UserUins,omitnil,omitempty" name:"UserUins"`
}

type DeleteProjectMemberRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID list
	UserUins []*string `json:"UserUins,omitnil,omitempty" name:"UserUins"`
}

func (r *DeleteProjectMemberRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteProjectMemberRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "UserUins")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteProjectMemberRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteProjectMemberResponseParams struct {
	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteProjectMemberResponse struct {
	*tchttp.BaseResponse
	Response *DeleteProjectMemberResponseParams `json:"Response"`
}

func (r *DeleteProjectMemberResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteProjectMemberResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteProjectRequestParams struct {
	// Project ID to delete.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type DeleteProjectRequest struct {
	*tchttp.BaseRequest
	
	// Project ID to delete.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *DeleteProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteProjectResponseParams struct {
	// Deletion result
	Data *ProjectResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteProjectResponse struct {
	*tchttp.BaseResponse
	Response *DeleteProjectResponseParams `json:"Response"`
}

func (r *DeleteProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteResourceFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource ID. obtain through the API ListResourceFiles.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

type DeleteResourceFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource ID. obtain through the API ListResourceFiles.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

func (r *DeleteResourceFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ResourceId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteResourceFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteResourceFileResponseParams struct {
	// Specifies the resource deletion result.
	Data *DeleteResourceFileResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteResourceFileResponse struct {
	*tchttp.BaseResponse
	Response *DeleteResourceFileResponseParams `json:"Response"`
}

func (r *DeleteResourceFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteResourceFileResult struct {
	// true
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteResourceFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the ListResourceFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type DeleteResourceFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the ListResourceFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *DeleteResourceFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteResourceFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteResourceFolderResponseParams struct {
	// true represents successful deletion. false represents failure.
	Data *DeleteFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteResourceFolderResponse struct {
	*tchttp.BaseResponse
	Response *DeleteResourceFolderResponseParams `json:"Response"`
}

func (r *DeleteResourceFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteResourceGroupRequestParams struct {
	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

type DeleteResourceGroupRequest struct {
	*tchttp.BaseRequest
	
	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func (r *DeleteResourceGroupRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceGroupRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Id")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteResourceGroupRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteResourceGroupResponseParams struct {
	// Whether termination succeeded.
	Data *ResourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteResourceGroupResponseParams `json:"Response"`
}

func (r *DeleteResourceGroupResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteResourceGroupResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteSQLFolderRequestParams struct {
	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type DeleteSQLFolderRequest struct {
	*tchttp.BaseRequest
	
	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *DeleteSQLFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteSQLFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "FolderId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteSQLFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteSQLFolderResponseParams struct {
	// Operation result.
	Data *SQLContentActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteSQLFolderResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSQLFolderResponseParams `json:"Response"`
}

func (r *DeleteSQLFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteSQLFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteSQLScriptRequestParams struct {
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type DeleteSQLScriptRequest struct {
	*tchttp.BaseRequest
	
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *DeleteSQLScriptRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteSQLScriptRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ScriptId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteSQLScriptRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteSQLScriptResponseParams struct {
	// Execution result
	Data *SQLContentActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteSQLScriptResponse struct {
	*tchttp.BaseResponse
	Response *DeleteSQLScriptResponseParams `json:"Response"`
}

func (r *DeleteSQLScriptResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteSQLScriptResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTaskFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID, obtain through the ListTaskFolders api.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`
}

type DeleteTaskFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID, obtain through the ListTaskFolders api.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`
}

func (r *DeleteTaskFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTaskFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "TaskFolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTaskFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTaskFolderResponseParams struct {
	// Deletion result
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DeleteTaskFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteTaskFolderResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTaskFolderResponseParams `json:"Response"`
}

func (r *DeleteTaskFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTaskFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteTaskFolderResult struct {
	// Deletion status. true: successful, false: unsuccessful.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Either Task ID or VirtualTaskId must be provided (optional, choose one).
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Whether to send a notification to downstream task owners when performing task operations.
	// true: Send notification
	// false: Do not send notification
	// default: false.
	OperateInform *bool `json:"OperateInform,omitnil,omitempty" name:"OperateInform"`

	// Task Deletion Mode.
	// true: Do not force downstream task instances to fail
	// false: Force downstream task instances to fail
	// default: false 
	DeleteMode *bool `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"`
}

type DeleteTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Either Task ID or VirtualTaskId must be provided (optional, choose one).
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Whether to send a notification to downstream task owners when performing task operations.
	// true: Send notification
	// false: Do not send notification
	// default: false.
	OperateInform *bool `json:"OperateInform,omitnil,omitempty" name:"OperateInform"`

	// Task Deletion Mode.
	// true: Do not force downstream task instances to fail
	// false: Force downstream task instances to fail
	// default: false 
	DeleteMode *bool `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"`
}

func (r *DeleteTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "OperateInform")
	delete(f, "DeleteMode")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTaskResponseParams struct {
	// Whether deletion succeeded.
	Data *DeleteTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteTaskResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTaskResponseParams `json:"Response"`
}

func (r *DeleteTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteTaskResult struct {
	// Deletion status. true indicates success. false indicates failure.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteTriggerTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	// Specifies either VirtualTaskId or the other parameter.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Whether task operation notifies downstream task owners. valid values: true (notify).
	// false: do not notify.
	// Default false if not passed.
	OperateInform *bool `json:"OperateInform,omitnil,omitempty" name:"OperateInform"`

	// This parameter does not take effect. currently, deleting an upstream task does not force failure on downstream task instances.
	DeleteMode *bool `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"`
}

type DeleteTriggerTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	// Specifies either VirtualTaskId or the other parameter.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Whether task operation notifies downstream task owners. valid values: true (notify).
	// false: do not notify.
	// Default false if not passed.
	OperateInform *bool `json:"OperateInform,omitnil,omitempty" name:"OperateInform"`

	// This parameter does not take effect. currently, deleting an upstream task does not force failure on downstream task instances.
	DeleteMode *bool `json:"DeleteMode,omitnil,omitempty" name:"DeleteMode"`
}

func (r *DeleteTriggerTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTriggerTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "OperateInform")
	delete(f, "DeleteMode")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTriggerTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTriggerTaskResponseParams struct {
	// Whether deletion succeeded.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DeleteTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteTriggerTaskResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTriggerTaskResponseParams `json:"Response"`
}

func (r *DeleteTriggerTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTriggerTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTriggerWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type DeleteTriggerWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *DeleteTriggerWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTriggerWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTriggerWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteTriggerWorkflowResponseParams struct {
	// Whether deletion succeeded.
	Data *DeleteTriggerWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteTriggerWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTriggerWorkflowResponseParams `json:"Response"`
}

func (r *DeleteTriggerWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteTriggerWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteTriggerWorkflowResult struct {
	// Whether deleting the workflow is successful.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteWorkflowFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. Obtain through the ListWorkflowFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type DeleteWorkflowFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. Obtain through the ListWorkflowFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *DeleteWorkflowFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWorkflowFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteWorkflowFolderResponseParams struct {
	// Deletion result
	Data *DeleteFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteWorkflowFolderResponse struct {
	*tchttp.BaseResponse
	Response *DeleteWorkflowFolderResponseParams `json:"Response"`
}

func (r *DeleteWorkflowFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteWorkflowPermission struct {
	// Target type to delete (user: user, role: role, group: group).
	PermissionTargetType *string `json:"PermissionTargetType,omitnil,omitempty" name:"PermissionTargetType"`

	// Authorization target id (userId/roleId) to delete.
	PermissionTargetId *string `json:"PermissionTargetId,omitnil,omitempty" name:"PermissionTargetId"`

	// Type array of authorization permissions to delete (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only support CAN_MANAGE).
	PermissionTypeList []*string `json:"PermissionTypeList,omitnil,omitempty" name:"PermissionTypeList"`
}

// Predefined struct for user
type DeleteWorkflowPermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// Delete permission array.
	DeletePermissionList []*DeleteWorkflowPermission `json:"DeletePermissionList,omitnil,omitempty" name:"DeletePermissionList"`
}

type DeleteWorkflowPermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// Delete permission array.
	DeletePermissionList []*DeleteWorkflowPermission `json:"DeletePermissionList,omitnil,omitempty" name:"DeletePermissionList"`
}

func (r *DeleteWorkflowPermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowPermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "EntityId")
	delete(f, "EntityType")
	delete(f, "DeletePermissionList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWorkflowPermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteWorkflowPermissionsResponseParams struct {
	// Resource deletion result.
	Data *DeleteWorkflowPermissionsResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteWorkflowPermissionsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteWorkflowPermissionsResponseParams `json:"Response"`
}

func (r *DeleteWorkflowPermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowPermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteWorkflowPermissionsResult struct {
	// Delete result true/false.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type DeleteWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type DeleteWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *DeleteWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DeleteWorkflowResponseParams struct {
	// Whether deletion succeeded.
	Data *DeleteWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DeleteWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *DeleteWorkflowResponseParams `json:"Response"`
}

func (r *DeleteWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DeleteWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type DeleteWorkflowResult struct {
	// Indicates whether the workflow deletion was successful
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type DependencyConfigPage struct {
	// Total number of records matching the query conditions.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages matching the query conditions.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// The page number of the current request.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// The number of entries in the current request data page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Paginated Data
	Items []*TaskDependDto `json:"Items,omitnil,omitempty" name:"Items"`
}

type DependencyStrategyTask struct {
	// Wait upstream task instance policy: EXECUTING (execute); WAITING (wait).
	PollingNullStrategy *string `json:"PollingNullStrategy,omitnil,omitempty" name:"PollingNullStrategy"`

	// This field is required only when PollingNullStrategy is set to EXECUTING.
	// Type: List
	// 
	// NOT_EXIST (default) - In cases where minute depends on minute / hour depends on hour, the parent instance does not fall within the scheduling time range of the downstream instance.
	// 
	// PARENT_EXPIRED - The parent instance failed.
	// 
	// PARENT_TIMEOUT - The parent instance timed out.
	// 
	// If any of the above conditions are met, the dependency check for that parent task instance is considered satisfied. In all other cases, the system must wait for the parent instance.
	TaskDependencyExecutingStrategies []*string `json:"TaskDependencyExecutingStrategies,omitnil,omitempty" name:"TaskDependencyExecutingStrategies"`

	// This field is required only when TaskDependencyExecutingStrategies includes PARENT_TIMEOUT.
	// Specifies the timeout duration (in minutes) for the downstream task's dependency on the parent instance execution.
	TaskDependencyExecutingTimeoutValue *int64 `json:"TaskDependencyExecutingTimeoutValue,omitnil,omitempty" name:"TaskDependencyExecutingTimeoutValue"`
}

type DependencyTaskBrief struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Main dependency configuration. Valid values:
	// 
	// * CRONTAB
	// * DAY
	// * HOUR
	// * LIST_DAY
	// * LIST_HOUR
	// * LIST_MINUTE
	// * MINUTE
	// * MONTH
	// * RANGE_DAY
	// * RANGE_HOUR
	// * RANGE_MINUTE
	// * WEEK
	// * YEAR
	MainCyclicConfig *string `json:"MainCyclicConfig,omitnil,omitempty" name:"MainCyclicConfig"`

	// Configures secondary dependencies.  Valid values:
	// * ALL_DAY_OF_YEAR
	// * ALL_MONTH_OF_YEAR
	// * CURRENT
	// * CURRENT_DAY
	// * CURRENT_HOUR
	// * CURRENT_MINUTE
	// * CURRENT_MONTH
	// * CURRENT_WEEK
	// * CURRENT_YEAR
	// * PREVIOUS_BEGIN_OF_MONTH
	// * PREVIOUS_DAY
	// * PREVIOUS_DAY_LATER_OFFSET_HOUR
	// * PREVIOUS_DAY_LATER_OFFSET_MINUTE
	// * PREVIOUS_END_OF_MONTH
	// * PREVIOUS_FRIDAY
	// * PREVIOUS_HOUR
	// * PREVIOUS_HOUR_CYCLE
	// * PREVIOUS_HOUR_LATER_OFFSET_MINUTE
	// * PREVIOUS_MINUTE_CYCLE
	// * PREVIOUS_MONTH
	// * PREVIOUS_WEEK
	// * PREVIOUS_WEEKEND
	// * RECENT_DATE
	SubordinateCyclicConfig *string `json:"SubordinateCyclicConfig,omitnil,omitempty" name:"SubordinateCyclicConfig"`

	// Offset in Range/List Mode
	Offset *string `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Dependency Execution Policy
	DependencyStrategy *DependencyStrategyTask `json:"DependencyStrategy,omitnil,omitempty" name:"DependencyStrategy"`
}

type DependencyTriggerTaskBrief struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

// Predefined struct for user
type DescribeDataSourceAuthorityRequestParams struct {
	// Unique object ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

type DescribeDataSourceAuthorityRequest struct {
	*tchttp.BaseRequest
	
	// Unique object ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

func (r *DescribeDataSourceAuthorityRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DescribeDataSourceAuthorityRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Id")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataSourceAuthorityRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DescribeDataSourceAuthorityResponseParams struct {
	// Data source permission object.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *AuthInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DescribeDataSourceAuthorityResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDataSourceAuthorityResponseParams `json:"Response"`
}

func (r *DescribeDataSourceAuthorityResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DescribeDataSourceAuthorityResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DisableProjectRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type DisableProjectRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *DisableProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DisableProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DisableProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DisableProjectResponseParams struct {
	// None.
	Data *ProjectResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DisableProjectResponse struct {
	*tchttp.BaseResponse
	Response *DisableProjectResponseParams `json:"Response"`
}

func (r *DisableProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DisableProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DissociateResourceGroupFromProjectRequestParams struct {
	// Resource group ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type DissociateResourceGroupFromProjectRequest struct {
	*tchttp.BaseRequest
	
	// Resource group ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *DissociateResourceGroupFromProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DissociateResourceGroupFromProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ResourceGroupId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DissociateResourceGroupFromProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type DissociateResourceGroupFromProjectResponseParams struct {
	// Indicates whether the binding is successful. returns an exception if it fails.
	Data *ResourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type DissociateResourceGroupFromProjectResponse struct {
	*tchttp.BaseResponse
	Response *DissociateResourceGroupFromProjectResponseParams `json:"Response"`
}

func (r *DissociateResourceGroupFromProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *DissociateResourceGroupFromProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type EnableProjectRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type EnableProjectRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *EnableProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *EnableProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "EnableProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type EnableProjectResponseParams struct {
	// None.
	Data *ProjectResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type EnableProjectResponse struct {
	*tchttp.BaseResponse
	Response *EnableProjectResponseParams `json:"Response"`
}

func (r *EnableProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *EnableProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type EventListener struct {
	// Event name
	EventName *string `json:"EventName,omitnil,omitempty" name:"EventName"`

	// Event cycle. valid values: SECOND, MIN, HOUR, DAY.
	EventSubType *string `json:"EventSubType,omitnil,omitempty" name:"EventSubType"`

	// Event BROADCAST type: SINGLE, BROADCAST.
	EventBroadcastType *string `json:"EventBroadcastType,omitnil,omitempty" name:"EventBroadcastType"`

	// Extension Information
	// 
	PropertiesList []*ParamInfo `json:"PropertiesList,omitnil,omitempty" name:"PropertiesList"`
}

type ExecutionActionBrief struct {
	// Operate entity ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ItemId *string `json:"ItemId,omitnil,omitempty" name:"ItemId"`

	// Operate the entity name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ItemName *string `json:"ItemName,omitnil,omitempty" name:"ItemName"`

	// Operation ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionActionId *string `json:"ExecutionActionId,omitnil,omitempty" name:"ExecutionActionId"`

	// Failure information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"`

	// Operation status. true: successful, false: unsuccessful.
	OpStatus *bool `json:"OpStatus,omitnil,omitempty" name:"OpStatus"`
}

type ExecutorResourceGroupData struct {
	// Result list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*ExecutorResourceGroupInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of entries
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Number of pages.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number of total score.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *int64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type ExecutorResourceGroupInfo struct {
	// Resource group unique id.
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Resource group name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Resource group description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Execute the resource group type. values cannot be empty.
	// 
	// -Schedule --- scheduling resource group.
	// -Integration - integration resource group.
	// -DataService - data service resource group.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupType *string `json:"ResourceGroupType,omitnil,omitempty" name:"ResourceGroupType"`

	// Project set.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AssociateProjects []*BindProject `json:"AssociateProjects,omitnil,omitempty" name:"AssociateProjects"`

	// Region.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// vpcId
	// Note: This field may return null, indicating that no valid values can be obtained.
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// Subnet ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubNet *string `json:"SubNet,omitnil,omitempty" name:"SubNet"`

	// Whether to perform auto-renewal.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AutoRenewEnabled *bool `json:"AutoRenewEnabled,omitnil,omitempty" name:"AutoRenewEnabled"`
}

type ExploreAuthorizationObject struct {
	// Authorized resource info, including resourceId and resourceType.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resource *ExploreFileResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Authorization details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AuthorizeSubjects []*ExploreAuthorizeSubject `json:"AuthorizeSubjects,omitnil,omitempty" name:"AuthorizeSubjects"`
}

type ExploreAuthorizationRecycleObject struct {
	// File resource information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resource *ExploreFileResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Authorization details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RecycleSubjects []*ExploreAuthorizeSubject `json:"RecycleSubjects,omitnil,omitempty" name:"RecycleSubjects"`
}

type ExploreAuthorizeSubject struct {
	// Type (user, role, group).
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectType *string `json:"SubjectType,omitnil,omitempty" name:"SubjectType"`

	// Value list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubjectValues []*string `json:"SubjectValues,omitnil,omitempty" name:"SubjectValues"`

	// Permission list
	// Note: This field may return null, indicating that no valid values can be obtained.
	Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

type ExploreFilePermissionsPage struct {
	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Permission list
	// Note: This field may return null, indicating that no valid values can be obtained.
	Rows []*ExploreFilePrivilegeItem `json:"Rows,omitnil,omitempty" name:"Rows"`

	// Total number
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total score page number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *int64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type ExploreFilePrivilegeItem struct {
	// Permission point.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Privileges []*string `json:"Privileges,omitnil,omitempty" name:"Privileges"`

	// User: user role: role group: group.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RoleType *string `json:"RoleType,omitnil,omitempty" name:"RoleType"`

	// User or role ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RoleId *string `json:"RoleId,omitnil,omitempty" name:"RoleId"`

	// Authorized resources.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resource *ExploreFileResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Whether can be deleted.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DeleteAble *bool `json:"DeleteAble,omitnil,omitempty" name:"DeleteAble"`
}

type ExploreFileResource struct {
	// Resource type, can only be two types: folder, script.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Resource ID: directory ID or script ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Full path id for recursive authentication.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceIdForPath *string `json:"ResourceIdForPath,omitnil,omitempty" name:"ResourceIdForPath"`

	// cfs path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceCFSPath *string `json:"ResourceCFSPath,omitnil,omitempty" name:"ResourceCFSPath"`
}

type Filter struct {
	// Filter field name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter value list.
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

// Predefined struct for user
type GetAlarmMessageRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Alarm message Id.
	AlarmMessageId *string `json:"AlarmMessageId,omitnil,omitempty" name:"AlarmMessageId"`

	// Specifies the time zone of the return date. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

type GetAlarmMessageRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Alarm message Id.
	AlarmMessageId *string `json:"AlarmMessageId,omitnil,omitempty" name:"AlarmMessageId"`

	// Specifies the time zone of the return date. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func (r *GetAlarmMessageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetAlarmMessageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AlarmMessageId")
	delete(f, "TimeZone")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetAlarmMessageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetAlarmMessageResponseParams struct {
	// Alarm information.
	Data *AlarmMessage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetAlarmMessageResponse struct {
	*tchttp.BaseResponse
	Response *GetAlarmMessageResponseParams `json:"Response"`
}

func (r *GetAlarmMessageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetAlarmMessageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetCodeFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API response.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`

	// true: return file content and configuration. false: only return configuration message. default false.
	IncludeContent *bool `json:"IncludeContent,omitnil,omitempty" name:"IncludeContent"`
}

type GetCodeFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API response.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`

	// true: return file content and configuration. false: only return configuration message. default false.
	IncludeContent *bool `json:"IncludeContent,omitnil,omitempty" name:"IncludeContent"`
}

func (r *GetCodeFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetCodeFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "CodeFileId")
	delete(f, "IncludeContent")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetCodeFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetCodeFileResponseParams struct {
	// Specifies the code file detail.
	Data *CodeFile `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetCodeFileResponse struct {
	*tchttp.BaseResponse
	Response *GetCodeFileResponseParams `json:"Response"`
}

func (r *GetCodeFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetCodeFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetCodeFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type GetCodeFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *GetCodeFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetCodeFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetCodeFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetCodeFolderResponseParams struct {
	// codestudio folder.
	Data *CodeFolderNode `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetCodeFolderResponse struct {
	*tchttp.BaseResponse
	Response *GetCodeFolderResponseParams `json:"Response"`
}

func (r *GetCodeFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetCodeFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataBackfillPlanRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Supplemental plan id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`

	// Show the time zone. default is UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

type GetDataBackfillPlanRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Supplemental plan id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`

	// Show the time zone. default is UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func (r *GetDataBackfillPlanRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataBackfillPlanRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "DataBackfillPlanId")
	delete(f, "TimeZone")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetDataBackfillPlanRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataBackfillPlanResponseParams struct {
	// Details.
	Data *DataBackfill `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetDataBackfillPlanResponse struct {
	*tchttp.BaseResponse
	Response *GetDataBackfillPlanResponseParams `json:"Response"`
}

func (r *GetDataBackfillPlanResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataBackfillPlanResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataSourceRelatedTasksRequestParams struct {
	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

type GetDataSourceRelatedTasksRequest struct {
	*tchttp.BaseRequest
	
	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`
}

func (r *GetDataSourceRelatedTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataSourceRelatedTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Id")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetDataSourceRelatedTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataSourceRelatedTasksResponseParams struct {
	// None.
	Data []*DatasourceRelationTaskInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetDataSourceRelatedTasksResponse struct {
	*tchttp.BaseResponse
	Response *GetDataSourceRelatedTasksResponseParams `json:"Response"`
}

func (r *GetDataSourceRelatedTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataSourceRelatedTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataSourceRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source ID.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
}

type GetDataSourceRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data source ID.
	Id *int64 `json:"Id,omitnil,omitempty" name:"Id"`
}

func (r *GetDataSourceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataSourceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "Id")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetDataSourceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetDataSourceResponseParams struct {
	// Data Source List
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DataSource `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetDataSourceResponse struct {
	*tchttp.BaseResponse
	Response *GetDataSourceResponseParams `json:"Response"`
}

func (r *GetDataSourceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetDataSourceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetMyCodeMaxPermissionRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorized resource unique id, folder id, or file id.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

type GetMyCodeMaxPermissionRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorized resource unique id, folder id, or file id.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

func (r *GetMyCodeMaxPermissionRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetMyCodeMaxPermissionRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ResourceId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetMyCodeMaxPermissionRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetMyCodeMaxPermissionResponseParams struct {
	// Maximum permission scope of a user for recursive access to CodeStudio files/folders.
	Data *CodeStudioMaxPermission `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetMyCodeMaxPermissionResponse struct {
	*tchttp.BaseResponse
	Response *GetMyCodeMaxPermissionResponseParams `json:"Response"`
}

func (r *GetMyCodeMaxPermissionResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetMyCodeMaxPermissionResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetMyWorkflowMaxPermissionRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorization entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorize entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`
}

type GetMyWorkflowMaxPermissionRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorization entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorize entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`
}

func (r *GetMyWorkflowMaxPermissionRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetMyWorkflowMaxPermissionRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "EntityId")
	delete(f, "EntityType")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetMyWorkflowMaxPermissionRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetMyWorkflowMaxPermissionResponseParams struct {
	// Maximum recursive permission type of the current user for the entity resource.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *WorkflowMaxPermission `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetMyWorkflowMaxPermissionResponse struct {
	*tchttp.BaseResponse
	Response *GetMyWorkflowMaxPermissionResponseParams `json:"Response"`
}

func (r *GetMyWorkflowMaxPermissionResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetMyWorkflowMaxPermissionResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsAlarmRuleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the unique id of the Alarm rule.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`
}

type GetOpsAlarmRuleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the unique id of the Alarm rule.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`
}

func (r *GetOpsAlarmRuleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsAlarmRuleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AlarmRuleId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsAlarmRuleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsAlarmRuleResponseParams struct {
	// Specifies the Alarm rule details.
	Data *AlarmRuleData `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsAlarmRuleResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsAlarmRuleResponseParams `json:"Response"`
}

func (r *GetOpsAlarmRuleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsAlarmRuleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsAsyncJobRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Asynchronous operation id.
	AsyncId *string `json:"AsyncId,omitnil,omitempty" name:"AsyncId"`
}

type GetOpsAsyncJobRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Asynchronous operation id.
	AsyncId *string `json:"AsyncId,omitnil,omitempty" name:"AsyncId"`
}

func (r *GetOpsAsyncJobRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsAsyncJobRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AsyncId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsAsyncJobRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsAsyncJobResponseParams struct {
	// Asynchronous operation result.
	Data *OpsAsyncJobDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsAsyncJobResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsAsyncJobResponseParams `json:"Response"`
}

func (r *GetOpsAsyncJobResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsAsyncJobResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTaskCodeRequestParams struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type GetOpsTaskCodeRequest struct {
	*tchttp.BaseRequest
	
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func (r *GetOpsTaskCodeRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTaskCodeRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsTaskCodeRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTaskCodeResponseParams struct {
	// Retrieves the task code result.
	Data *TaskCode `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsTaskCodeResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsTaskCodeResponseParams `json:"Response"`
}

func (r *GetOpsTaskCodeResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTaskCodeResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTaskRequestParams struct {
	// Task ID		
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type GetOpsTaskRequest struct {
	*tchttp.BaseRequest
	
	// Task ID		
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *GetOpsTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "TaskId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTaskResponseParams struct {
	// Task details.
	Data *Task `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsTaskResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsTaskResponseParams `json:"Response"`
}

func (r *GetOpsTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTriggerWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow execution ID.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`
}

type GetOpsTriggerWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow execution ID.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`
}

func (r *GetOpsTriggerWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTriggerWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowExecutionId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsTriggerWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsTriggerWorkflowResponseParams struct {
	// Workflow task info.
	Data *TriggerTaskDAGBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsTriggerWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsTriggerWorkflowResponseParams `json:"Response"`
}

func (r *GetOpsTriggerWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsTriggerWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow Id, can be obtained through the ListOpsWorkflows api.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type GetOpsWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow Id, can be obtained through the ListOpsWorkflows api.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *GetOpsWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetOpsWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetOpsWorkflowResponseParams struct {
	// Workflow scheduling details.
	Data *OpsWorkflowDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetOpsWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *GetOpsWorkflowResponseParams `json:"Response"`
}

func (r *GetOpsWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetOpsWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetProjectRequestParams struct {
	// Project id. use a project id to query. either project id or projectName is required.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type GetProjectRequest struct {
	*tchttp.BaseRequest
	
	// Project id. use a project id to query. either project id or projectName is required.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *GetProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetProjectResponseParams struct {
	// This API is used to obtain project information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *Project `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetProjectResponse struct {
	*tchttp.BaseResponse
	Response *GetProjectResponseParams `json:"Response"`
}

func (r *GetProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file ID. obtain through the API ListResourceFiles.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

type GetResourceFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file ID. obtain through the API ListResourceFiles.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}

func (r *GetResourceFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ResourceId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetResourceFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceFileResponseParams struct {
	// Describes the resource file details.
	Data *ResourceFile `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetResourceFileResponse struct {
	*tchttp.BaseResponse
	Response *GetResourceFileResponseParams `json:"Response"`
}

func (r *GetResourceFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type GetResourceFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *GetResourceFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetResourceFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceFolderResponseParams struct {
	// Resource folder info.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *ResourceFolderDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetResourceFolderResponse struct {
	*tchttp.BaseResponse
	Response *GetResourceFolderResponseParams `json:"Response"`
}

func (r *GetResourceFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceGroupMetricsRequestParams struct {
	// Execution resource group id.
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Start time of usage trend (ms). default last hour.
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Usage trend end time (ms), default current.
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Metrics and dimensions.
	// 
	// -all.
	// -task metrics.
	// -system metrics.
	MetricType *string `json:"MetricType,omitnil,omitempty" name:"MetricType"`

	// Metric collection granularity, in minutes, default 1 minute.
	Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"`
}

type GetResourceGroupMetricsRequest struct {
	*tchttp.BaseRequest
	
	// Execution resource group id.
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Start time of usage trend (ms). default last hour.
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Usage trend end time (ms), default current.
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Metrics and dimensions.
	// 
	// -all.
	// -task metrics.
	// -system metrics.
	MetricType *string `json:"MetricType,omitnil,omitempty" name:"MetricType"`

	// Metric collection granularity, in minutes, default 1 minute.
	Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"`
}

func (r *GetResourceGroupMetricsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceGroupMetricsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ResourceGroupId")
	delete(f, "StartTime")
	delete(f, "EndTime")
	delete(f, "MetricType")
	delete(f, "Granularity")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetResourceGroupMetricsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetResourceGroupMetricsResponseParams struct {
	// Execute group metric information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *ResourceGroupMetrics `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetResourceGroupMetricsResponse struct {
	*tchttp.BaseResponse
	Response *GetResourceGroupMetricsResponseParams `json:"Response"`
}

func (r *GetResourceGroupMetricsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetResourceGroupMetricsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type GetResourcePrivilegeDetailRsp struct {
	// List of permission details.
	Details []*ResourcePrivilegeDetail `json:"Details,omitnil,omitempty" name:"Details"`

	// Total.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type GetSQLFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type GetSQLFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *GetSQLFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetSQLFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetSQLFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetSQLFolderResponseParams struct {
	// sql folder.
	Data *SQLFolderNode `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetSQLFolderResponse struct {
	*tchttp.BaseResponse
	Response *GetSQLFolderResponseParams `json:"Response"`
}

func (r *GetSQLFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetSQLFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetSQLScriptRequestParams struct {
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type GetSQLScriptRequest struct {
	*tchttp.BaseRequest
	
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *GetSQLScriptRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetSQLScriptRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ScriptId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetSQLScriptRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetSQLScriptResponseParams struct {
	// Script details.
	Data *SQLScript `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetSQLScriptResponse struct {
	*tchttp.BaseResponse
	Response *GetSQLScriptResponseParams `json:"Response"`
}

func (r *GetSQLScriptResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetSQLScriptResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTableColumnsRequestParams struct {
	// Data table GUID.
	TableGuid *string `json:"TableGuid,omitnil,omitempty" name:"TableGuid"`
}

type GetTableColumnsRequest struct {
	*tchttp.BaseRequest
	
	// Data table GUID.
	TableGuid *string `json:"TableGuid,omitnil,omitempty" name:"TableGuid"`
}

func (r *GetTableColumnsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTableColumnsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "TableGuid")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTableColumnsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTableColumnsResponseParams struct {
	// Field list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data []*ColumnInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTableColumnsResponse struct {
	*tchttp.BaseResponse
	Response *GetTableColumnsResponseParams `json:"Response"`
}

func (r *GetTableColumnsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTableColumnsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTableRequestParams struct {
	// Table GUID.
	TableGuid *string `json:"TableGuid,omitnil,omitempty" name:"TableGuid"`
}

type GetTableRequest struct {
	*tchttp.BaseRequest
	
	// Table GUID.
	TableGuid *string `json:"TableGuid,omitnil,omitempty" name:"TableGuid"`
}

func (r *GetTableRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTableRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "TableGuid")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTableRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTableResponseParams struct {
	// Table details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TableInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTableResponse struct {
	*tchttp.BaseResponse
	Response *GetTableResponseParams `json:"Response"`
}

func (r *GetTableResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTableResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskCodeRequestParams struct {
	// The project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type GetTaskCodeRequest struct {
	*tchttp.BaseRequest
	
	// The project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func (r *GetTaskCodeRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskCodeRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskCodeRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskCodeResponseParams struct {
	// Retrieves the task code result.
	Data *TaskCodeResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskCodeResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskCodeResponseParams `json:"Response"`
}

func (r *GetTaskCodeResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskCodeResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`
}

type GetTaskFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`
}

func (r *GetTaskFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "TaskFolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskFolderResponseParams struct {
	// Folder Details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TaskFolderDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskFolderResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskFolderResponseParams `json:"Response"`
}

func (r *GetTaskFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskInstanceLogRequestParams struct {
	// **Project ID**. specifies the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Instance Lifecycle Number** - Identifies a specific execution of an instance.
	// For example: the first run of a cyclic instance has a lifecycle number of 0. If the user reruns that instance later, the second execution will have a lifecycle number of 1;
	// By default, the latest execution is used.
	LifeRoundNum *uint64 `json:"LifeRoundNum,omitnil,omitempty" name:"LifeRoundNum"`

	// **Log level** default All - Info - Debug - Warn - Error - All.
	LogLevel *string `json:"LogLevel,omitnil,omitempty" name:"LogLevel"`

	// **Used when performing paginated log queries; has no specific business meaning.**
	// 
	// For the first query, the value is null.
	// 
	// For subsequent queries, use the value of the NextCursor field returned from the previous query.
	NextCursor *string `json:"NextCursor,omitnil,omitempty" name:"NextCursor"`
}

type GetTaskInstanceLogRequest struct {
	*tchttp.BaseRequest
	
	// **Project ID**. specifies the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Instance Lifecycle Number** - Identifies a specific execution of an instance.
	// For example: the first run of a cyclic instance has a lifecycle number of 0. If the user reruns that instance later, the second execution will have a lifecycle number of 1;
	// By default, the latest execution is used.
	LifeRoundNum *uint64 `json:"LifeRoundNum,omitnil,omitempty" name:"LifeRoundNum"`

	// **Log level** default All - Info - Debug - Warn - Error - All.
	LogLevel *string `json:"LogLevel,omitnil,omitempty" name:"LogLevel"`

	// **Used when performing paginated log queries; has no specific business meaning.**
	// 
	// For the first query, the value is null.
	// 
	// For subsequent queries, use the value of the NextCursor field returned from the previous query.
	NextCursor *string `json:"NextCursor,omitnil,omitempty" name:"NextCursor"`
}

func (r *GetTaskInstanceLogRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskInstanceLogRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKey")
	delete(f, "LifeRoundNum")
	delete(f, "LogLevel")
	delete(f, "NextCursor")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskInstanceLogRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskInstanceLogResponseParams struct {
	// Details of a scheduled instance.
	Data *InstanceLog `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskInstanceLogResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskInstanceLogResponseParams `json:"Response"`
}

func (r *GetTaskInstanceLogResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskInstanceLogResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskInstanceRequestParams struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance unique id, can be obtained through ListInstances.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

type GetTaskInstanceRequest struct {
	*tchttp.BaseRequest
	
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance unique id, can be obtained through ListInstances.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func (r *GetTaskInstanceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskInstanceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKey")
	delete(f, "TimeZone")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskInstanceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskInstanceResponseParams struct {
	// Details of an instance.
	Data *TaskInstanceDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskInstanceResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskInstanceResponseParams `json:"Response"`
}

func (r *GetTaskInstanceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskInstanceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type GetTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func (r *GetTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskResponseParams struct {
	// Task details.
	Data *Task `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskResponseParams `json:"Response"`
}

func (r *GetTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskVersionRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Submit version ID. If not specified, the latest submit version will be used by default.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`
}

type GetTaskVersionRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Submit version ID. If not specified, the latest submit version will be used by default.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`
}

func (r *GetTaskVersionRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskVersionRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "VersionId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTaskVersionRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTaskVersionResponseParams struct {
	// Version detail.
	Data *TaskVersionDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTaskVersionResponse struct {
	*tchttp.BaseResponse
	Response *GetTaskVersionResponseParams `json:"Response"`
}

func (r *GetTaskVersionResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTaskVersionResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskCodeRequestParams struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type GetTriggerTaskCodeRequest struct {
	*tchttp.BaseRequest
	
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func (r *GetTriggerTaskCodeRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskCodeRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerTaskCodeRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskCodeResponseParams struct {
	// Retrieve the task code result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TaskCodeResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerTaskCodeResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerTaskCodeResponseParams `json:"Response"`
}

func (r *GetTriggerTaskCodeResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskCodeResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

type GetTriggerTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func (r *GetTriggerTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskResponseParams struct {
	// Task details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerTask `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerTaskResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerTaskResponseParams `json:"Response"`
}

func (r *GetTriggerTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskRunRequestParams struct {
	// Workspace ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task run ID.
	TaskExecutionId *string `json:"TaskExecutionId,omitnil,omitempty" name:"TaskExecutionId"`
}

type GetTriggerTaskRunRequest struct {
	*tchttp.BaseRequest
	
	// Workspace ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task run ID.
	TaskExecutionId *string `json:"TaskExecutionId,omitnil,omitempty" name:"TaskExecutionId"`
}

func (r *GetTriggerTaskRunRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskRunRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskExecutionId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerTaskRunRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskRunResponseParams struct {
	// Workflow task running list pagination result.
	Data *TriggerTaskRunBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerTaskRunResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerTaskRunResponseParams `json:"Response"`
}

func (r *GetTriggerTaskRunResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskRunResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskVersionRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Submit version ID. by default if left blank, get the latest version.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`
}

type GetTriggerTaskVersionRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Submit version ID. by default if left blank, get the latest version.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`
}

func (r *GetTriggerTaskVersionRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskVersionRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "VersionId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerTaskVersionRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerTaskVersionResponseParams struct {
	// Version detail.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerTaskVersionDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerTaskVersionResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerTaskVersionResponseParams `json:"Response"`
}

func (r *GetTriggerTaskVersionResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerTaskVersionResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID is obtained through the ListWorkflows api.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type GetTriggerWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID is obtained through the ListWorkflows api.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *GetTriggerWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerWorkflowResponseParams struct {
	// Workflow details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerWorkflowDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerWorkflowResponseParams `json:"Response"`
}

func (r *GetTriggerWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerWorkflowRunRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow execution ID.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Filter criteria.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sort criteria
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`
}

type GetTriggerWorkflowRunRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow execution ID.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Filter criteria.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sort criteria
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`
}

func (r *GetTriggerWorkflowRunRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerWorkflowRunRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowExecutionId")
	delete(f, "Filters")
	delete(f, "OrderFields")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetTriggerWorkflowRunRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetTriggerWorkflowRunResponseParams struct {
	// Workflow task info.
	Data *TriggerWorkflowTaskRunDetailBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetTriggerWorkflowRunResponse struct {
	*tchttp.BaseResponse
	Response *GetTriggerWorkflowRunResponseParams `json:"Response"`
}

func (r *GetTriggerWorkflowRunResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetTriggerWorkflowRunResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetWorkflowFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type GetWorkflowFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

func (r *GetWorkflowFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetWorkflowFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetWorkflowFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetWorkflowFolderResponseParams struct {
	// Folder Details
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *WorkflowFolderDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetWorkflowFolderResponse struct {
	*tchttp.BaseResponse
	Response *GetWorkflowFolderResponseParams `json:"Response"`
}

func (r *GetWorkflowFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetWorkflowFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID. Obtained through the  ListWorkflows API.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

type GetWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID. Obtained through the  ListWorkflows API.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`
}

func (r *GetWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GetWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GetWorkflowResponseParams struct {
	// Describes workflow details.
	Data *WorkflowDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GetWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *GetWorkflowResponseParams `json:"Response"`
}

func (r *GetWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GetWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GrantMemberProjectRoleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Role id list. currently supports project roles:.
	// -308335260274237440 (project administrator).
	// -308335260676890624 (data engineer).
	// -308335260844662784 (operation and maintenance engineer).
	// -308335260945326080 (ordinary member).
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

type GrantMemberProjectRoleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Role id list. currently supports project roles:.
	// -308335260274237440 (project administrator).
	// -308335260676890624 (data engineer).
	// -308335260844662784 (operation and maintenance engineer).
	// -308335260945326080 (ordinary member).
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

func (r *GrantMemberProjectRoleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GrantMemberProjectRoleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "UserUin")
	delete(f, "RoleIds")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GrantMemberProjectRoleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type GrantMemberProjectRoleResponseParams struct {
	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type GrantMemberProjectRoleResponse struct {
	*tchttp.BaseResponse
	Response *GrantMemberProjectRoleResponseParams `json:"Response"`
}

func (r *GrantMemberProjectRoleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *GrantMemberProjectRoleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type InTaskParameter struct {
	// <p>Parameter name</p>
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`

	// <p>Parameter description: Format is project ID.task name.parameter name; for example: project_wedata_1.sh_250820_104107.pp_out</p>
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamDesc *string `json:"ParamDesc,omitnil,omitempty" name:"ParamDesc"`

	// <p>Parent task ID.</p>
	// Note: This field may return null, indicating that no valid values can be obtained.
	FromTaskId *string `json:"FromTaskId,omitnil,omitempty" name:"FromTaskId"`

	// <p>Parent task parameter key</p>
	// Note: This field may return null, indicating that no valid values can be obtained.
	FromParamKey *string `json:"FromParamKey,omitnil,omitempty" name:"FromParamKey"`

	// <p>Task input type, by default uses TASK.</p><p>Enumeration value:</p><ul><li>TASK: Source is the parent task.</li><li>CONSTANT: Constant value, currently only supported by for-each node.</li></ul>
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`
}

type InstanceExecution struct {
	// Instance unique identifier.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Instance lifecycle number, identifies one-time execution of the instance.**.
	// 
	// For example, the first run of a periodic instance is numbered 0. if the user reruns the instance subsequently, the second execution is numbered 1.
	LifeRoundNum *uint64 `json:"LifeRoundNum,omitnil,omitempty" name:"LifeRoundNum"`

	// **Instance status**.
	// -WAIT_EVENT: specifies the wait for event.
	// -WAIT_UPSTREAM: waiting for upstream.
	// - WAIT_RUN: awaiting execution.
	// - RUNNING: indicates the instance is RUNNING.
	// - SKIP_RUNNING: SKIP RUNNING.
	// - FAILED_RETRY: RETRY on failure.
	// - EXPIRED: failed.
	// -COMPLETED: success.
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// **Trigger type for instance running**.
	// 
	// -RERUN indicates a rerun.
	// -ADDITION indicates supplementary recording.
	// -PERIODIC indicates a period.
	// -APERIODIC indicates non-periodic.
	// -RERUN_SKIP_RUN indicates rerun - empty run.
	// -ADDITION_SKIP_RUN indicates a supplementary empty run.
	// -PERIODIC_SKIP_RUN indicates cycle - empty run.
	// -APERIODIC_SKIP_RUN indicates non-periodic empty run.
	// -MANUAL_TRIGGER indicates manual triggering.
	// -RERUN_MANUAL_TRIGGER indicates manual triggering - rerun.
	RunType *string `json:"RunType,omitnil,omitempty" name:"RunType"`

	// Specifies the number of retry attempts on failure.
	Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"`

	// **Specifies the lifecycle list for instance execution.**.
	ExecutionPhaseList []*InstanceExecutionPhase `json:"ExecutionPhaseList,omitnil,omitempty" name:"ExecutionPhaseList"`

	// Time spent, in milliseconds.
	CostTime *int64 `json:"CostTime,omitnil,omitempty" name:"CostTime"`
}

type InstanceExecutionPhase struct {
	// Start time of the state.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// **Instance lifecycle phase status**.
	// 
	// -WAIT_UPSTREAM indicates the wait event/upstream status.
	// -WAIT_RUN indicates the waiting for running status.
	// -RUNNING indicates the running state.
	// -COMPLETE indicates the final state of completion.
	// - FAILED indicates the final state - retry on failure.
	// -EXPIRED indicates the final state - failure.
	// -SKIP_RUNNING indicates the branch skipped by the upstream branch node in the final state.
	// -HISTORY indicates compatibility with historical instances before 2024-03-30. no need to pay attention to this enum afterward.
	DetailState *string `json:"DetailState,omitnil,omitempty" name:"DetailState"`

	// End time of the state.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type InstanceLog struct {
	// Instance unique id.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// Project ID.
	// 
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the code content to run.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// log information
	LogInfo *string `json:"LogInfo,omitnil,omitempty" name:"LogInfo"`

	// Used for paginated log queries; has no specific business meaning.
	// 
	// For the first query, set the value to null.
	// 
	// For subsequent queries, use the NextCursor value returned from the previous query.
	NextCursor *string `json:"NextCursor,omitnil,omitempty" name:"NextCursor"`
}

type IntegrationResource struct {
	// Real-Time integration resource group.
	// 
	// -i32c (real-time data sync - 16c64G).
	RealTimeDataSync *ResourceGroupSpecification `json:"RealTimeDataSync,omitnil,omitempty" name:"RealTimeDataSync"`

	// Offline integration resource group.
	// 
	// -integrated (offline data sync-8C16G).
	// -i16 (offline data sync-8C32G).
	OfflineDataSync *ResourceGroupSpecification `json:"OfflineDataSync,omitnil,omitempty" name:"OfflineDataSync"`
}

type JobDto struct {
	// Task ID of the data exploration.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Task name.
	JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"`

	// Task type
	JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"`

	// Script ID
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Subtask List
	JobExecutionList []*JobExecutionDto `json:"JobExecutionList,omitnil,omitempty" name:"JobExecutionList"`

	// Specifies the script content.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// State of a task.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Task creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Root account UIN.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Account UIN.
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Duration. specifies the time taken.
	TimeCost *int64 `json:"TimeCost,omitnil,omitempty" name:"TimeCost"`

	// Specifies whether the script content is truncated.
	ScriptContentTruncate *bool `json:"ScriptContentTruncate,omitnil,omitempty" name:"ScriptContentTruncate"`
}

type JobExecutionDto struct {
	// Job ID of the data exploration.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Query job ID.
	JobExecutionId *string `json:"JobExecutionId,omitnil,omitempty" name:"JobExecutionId"`

	// Specifies the subquery name.
	JobExecutionName *string `json:"JobExecutionName,omitnil,omitempty" name:"JobExecutionName"`

	// Specifies the subquery sql content.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Subquery status.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Execution phase.
	ExecuteStageInfo *string `json:"ExecuteStageInfo,omitnil,omitempty" name:"ExecuteStageInfo"`

	// Log path
	LogFilePath *string `json:"LogFilePath,omitnil,omitempty" name:"LogFilePath"`

	// Result path for download.
	ResultFilePath *string `json:"ResultFilePath,omitnil,omitempty" name:"ResultFilePath"`

	// Preview result path.
	ResultPreviewFilePath *string `json:"ResultPreviewFilePath,omitnil,omitempty" name:"ResultPreviewFilePath"`

	// Total number of lines in the task execution result.
	ResultTotalCount *int64 `json:"ResultTotalCount,omitnil,omitempty" name:"ResultTotalCount"`

	// Update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// End time.
	// 
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Duration. specifies the time taken.
	TimeCost *int64 `json:"TimeCost,omitnil,omitempty" name:"TimeCost"`

	// SQL content in the context.
	ContextScriptContent []*string `json:"ContextScriptContent,omitnil,omitempty" name:"ContextScriptContent"`

	// Specifies the preview row count for task execution results.
	ResultPreviewCount *int64 `json:"ResultPreviewCount,omitnil,omitempty" name:"ResultPreviewCount"`

	// Specifies the number of affected rows in task execution.
	ResultEffectCount *int64 `json:"ResultEffectCount,omitnil,omitempty" name:"ResultEffectCount"`

	// Whether the full result is being collected: default false. true indicates the full result is being collected, for the frontend to determine whether to continue to poll.
	CollectingTotalResult *bool `json:"CollectingTotalResult,omitnil,omitempty" name:"CollectingTotalResult"`

	// Specifies whether to truncate the script content.
	ScriptContentTruncate *bool `json:"ScriptContentTruncate,omitnil,omitempty" name:"ScriptContentTruncate"`
}

type KVMap struct {
	// k
	K *string `json:"K,omitnil,omitempty" name:"K"`

	// v
	V *string `json:"V,omitnil,omitempty" name:"V"`
}

type KVPair struct {
	// Key name
	// 
	K *string `json:"K,omitnil,omitempty" name:"K"`

	// The value. do not pass SQL (the request will be deemed as an attack on the api). if needed, transcode the SQL with Base64 and decode it.
	V *string `json:"V,omitnil,omitempty" name:"V"`
}

// Predefined struct for user
type KillTaskInstancesAsyncRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list, can be obtained from ListInstances API.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`
}

type KillTaskInstancesAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list, can be obtained from ListInstances API.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`
}

func (r *KillTaskInstancesAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *KillTaskInstancesAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKeyList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "KillTaskInstancesAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type KillTaskInstancesAsyncResponseParams struct {
	// Async id of the batch termination operation. can be used in the GetAsyncJob API to query execution detail.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type KillTaskInstancesAsyncResponse struct {
	*tchttp.BaseResponse
	Response *KillTaskInstancesAsyncResponseParams `json:"Response"`
}

func (r *KillTaskInstancesAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *KillTaskInstancesAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type KillTriggerWorkflowRunsRequestParams struct {
	// Project ID.	
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Specifies the workflow execution ID to be stopped.
	WorkflowExecutionIdList []*string `json:"WorkflowExecutionIdList,omitnil,omitempty" name:"WorkflowExecutionIdList"`

	// When specifying an empty workflow run, whether all terminate running workflow execution.	
	All *bool `json:"All,omitnil,omitempty" name:"All"`

	// Whether to stop only waiting workflow runs when specifying empty workflow runs.
	Pending *bool `json:"Pending,omitnil,omitempty" name:"Pending"`
}

type KillTriggerWorkflowRunsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.	
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Specifies the workflow execution ID to be stopped.
	WorkflowExecutionIdList []*string `json:"WorkflowExecutionIdList,omitnil,omitempty" name:"WorkflowExecutionIdList"`

	// When specifying an empty workflow run, whether all terminate running workflow execution.	
	All *bool `json:"All,omitnil,omitempty" name:"All"`

	// Whether to stop only waiting workflow runs when specifying empty workflow runs.
	Pending *bool `json:"Pending,omitnil,omitempty" name:"Pending"`
}

func (r *KillTriggerWorkflowRunsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *KillTriggerWorkflowRunsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowExecutionIdList")
	delete(f, "All")
	delete(f, "Pending")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "KillTriggerWorkflowRunsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type KillTriggerWorkflowRunsResponseParams struct {
	// Flow running operation result.
	Data []*ExecutionActionBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type KillTriggerWorkflowRunsResponse struct {
	*tchttp.BaseResponse
	Response *KillTriggerWorkflowRunsResponseParams `json:"Response"`
}

func (r *KillTriggerWorkflowRunsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *KillTriggerWorkflowRunsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type LineageNodeInfo struct {
	// Current resource.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Resource *LineageResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Relationship.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Relation *LineageRelation `json:"Relation,omitnil,omitempty" name:"Relation"`

	// Upstream quantity.
	DownStreamCount *int64 `json:"DownStreamCount,omitnil,omitempty" name:"DownStreamCount"`

	// Downstream quantity.
	UpStreamCount *int64 `json:"UpStreamCount,omitnil,omitempty" name:"UpStreamCount"`
}

type LineagePair struct {
	// Source.
	Source *LineageResouce `json:"Source,omitnil,omitempty" name:"Source"`

	// Goal.
	Target *LineageResouce `json:"Target,omitnil,omitempty" name:"Target"`

	// Lineage processing process.
	Processes []*LineageProcess `json:"Processes,omitnil,omitempty" name:"Processes"`
}

type LineageProcess struct {
	// Original unique ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProcessId *string `json:"ProcessId,omitnil,omitempty" name:"ProcessId"`

	// Task type
	// Schedule task execution.
	//     SCHEDULE_TASK,
	// Integration task.
	//     INTEGRATION_TASK,
	// Third-Party reporting.
	//     THIRD_REPORT,
	// Data modeling.
	//     TABLE_MODEL,
	// Create metrics for the model.
	//     MODEL_METRIC,
	// Create a derived metric from atomic metrics.
	//     METRIC_METRIC,
	// Data service.
	//     DATA_SERVICE
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProcessType *string `json:"ProcessType,omitnil,omitempty" name:"ProcessType"`

	// WEDATA, THIRD;
	// Note: This field may return null, indicating that no valid values can be obtained.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// Task Subtype
	//  SQL_TASK,
	// Integrate real-time tasks lineage.
	//     INTEGRATED_STREAM,
	// Integration of offline tasks lineage.
	//     INTEGRATED_OFFLINE;
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProcessSubType *string `json:"ProcessSubType,omitnil,omitempty" name:"ProcessSubType"`

	// Additional parameters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProcessProperties []*LineageProperty `json:"ProcessProperties,omitnil,omitempty" name:"ProcessProperties"`

	// Unique node ID of the lineage task.
	LineageNodeId *string `json:"LineageNodeId,omitnil,omitempty" name:"LineageNodeId"`
}

type LineageProperty struct {
	// Attribute Name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Attribute value
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type LineageRelation struct {
	// Association ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	RelationId *string `json:"RelationId,omitnil,omitempty" name:"RelationId"`

	// Source lineage ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceUniqueId *string `json:"SourceUniqueId,omitnil,omitempty" name:"SourceUniqueId"`

	// Target unique lineage ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetUniqueId *string `json:"TargetUniqueId,omitnil,omitempty" name:"TargetUniqueId"`

	// Lineage processing process.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Processes []*LineageProcess `json:"Processes,omitnil,omitempty" name:"Processes"`
}

type LineageResouce struct {
	// Original unique ID of the entity.
	// Remark: when the lineage is a table column, pass the table ResourceUniqueId::field name as the unique ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceUniqueId *string `json:"ResourceUniqueId,omitnil,omitempty" name:"ResourceUniqueId"`

	// Entity type.
	// TABLE|METRIC|MODEL|SERVICE|COLUMN
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Source: WEDATA|THIRD.
	// Default wedata.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// Service name: database name.table name | metric name | model name | field name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Description: table type | metric description | model description | field description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// resource additional parameters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceProperties []*LineageProperty `json:"ResourceProperties,omitnil,omitempty" name:"ResourceProperties"`

	// Unique identifier symbol of the lineage node.
	LineageNodeId *string `json:"LineageNodeId,omitnil,omitempty" name:"LineageNodeId"`
}

type LineageResource struct {
	// Original unique ID of the entity.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceUniqueId *string `json:"ResourceUniqueId,omitnil,omitempty" name:"ResourceUniqueId"`

	// Service name: database name.table name | metric name | model name | field name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Entity type.
	// TABLE|METRIC|MODEL|SERVICE|COLUMN
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Unique identifier of the node lineage symbol.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LineageNodeId *string `json:"LineageNodeId,omitnil,omitempty" name:"LineageNodeId"`

	// Description: table type | metric description | model description | field description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Source: WEDATA|THIRD.
	// Default wedata.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// resource additional parameters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceProperties []*LineageProperty `json:"ResourceProperties,omitnil,omitempty" name:"ResourceProperties"`
}

type ListAlarmMessages struct {
	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of entries
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Alarm information list.
	Items []*AlarmMessage `json:"Items,omitnil,omitempty" name:"Items"`
}

// Predefined struct for user
type ListAlarmMessagesRequestParams struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number for pagination, minimum value is 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items displayed per page. maximum value: 100.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Starting Alarm time. format: yyyy-MM-dd HH:MM:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the Alarm end time in the format yyyy-MM-dd HH:MM:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Alarm level.
	AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Alert recipient Id.
	AlarmRecipientId *string `json:"AlarmRecipientId,omitnil,omitempty" name:"AlarmRecipientId"`

	// For incoming and returned filter time zone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

type ListAlarmMessagesRequest struct {
	*tchttp.BaseRequest
	
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number for pagination, minimum value is 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items displayed per page. maximum value: 100.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Starting Alarm time. format: yyyy-MM-dd HH:MM:ss.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Specifies the Alarm end time in the format yyyy-MM-dd HH:MM:ss.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Alarm level.
	AlarmLevel *uint64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Alert recipient Id.
	AlarmRecipientId *string `json:"AlarmRecipientId,omitnil,omitempty" name:"AlarmRecipientId"`

	// For incoming and returned filter time zone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func (r *ListAlarmMessagesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListAlarmMessagesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "StartTime")
	delete(f, "EndTime")
	delete(f, "AlarmLevel")
	delete(f, "AlarmRecipientId")
	delete(f, "TimeZone")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListAlarmMessagesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListAlarmMessagesResponseParams struct {
	// Alarm information list.
	Data *ListAlarmMessages `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListAlarmMessagesResponse struct {
	*tchttp.BaseResponse
	Response *ListAlarmMessagesResponseParams `json:"Response"`
}

func (r *ListAlarmMessagesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListAlarmMessagesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListAlarmRulesResult struct {
	// Page number for pagination. current page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of pages.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Count of all Alarm rules.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Alert rule information list.
	Items []*AlarmRuleData `json:"Items,omitnil,omitempty" name:"Items"`
}

type ListCatalogPage struct {
	// Directory record list.
	Items []*CatalogInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListCatalogRequestParams struct {
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Parent directory ID (this parameter is not supported).
	ParentCatalogId *string `json:"ParentCatalogId,omitnil,omitempty" name:"ParentCatalogId"`
}

type ListCatalogRequest struct {
	*tchttp.BaseRequest
	
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Parent directory ID (this parameter is not supported).
	ParentCatalogId *string `json:"ParentCatalogId,omitnil,omitempty" name:"ParentCatalogId"`
}

func (r *ListCatalogRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCatalogRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "ParentCatalogId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListCatalogRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListCatalogResponseParams struct {
	// Paging data
	Data *ListCatalogPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListCatalogResponse struct {
	*tchttp.BaseResponse
	Response *ListCatalogResponseParams `json:"Response"`
}

func (r *ListCatalogResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCatalogResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListCodeFolderContentsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, such as /aaa/bbb/ccc. path header must include a slash. pass / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name or code file name.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Queries folder only.
	OnlyFolderNode *bool `json:"OnlyFolderNode,omitnil,omitempty" name:"OnlyFolderNode"`

	// Specifies whether to query only code script created by user themselves.
	OnlyUserSelfScript *bool `json:"OnlyUserSelfScript,omitnil,omitempty" name:"OnlyUserSelfScript"`
}

type ListCodeFolderContentsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, such as /aaa/bbb/ccc. path header must include a slash. pass / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name or code file name.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Queries folder only.
	OnlyFolderNode *bool `json:"OnlyFolderNode,omitnil,omitempty" name:"OnlyFolderNode"`

	// Specifies whether to query only code script created by user themselves.
	OnlyUserSelfScript *bool `json:"OnlyUserSelfScript,omitnil,omitempty" name:"OnlyUserSelfScript"`
}

func (r *ListCodeFolderContentsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCodeFolderContentsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "Keyword")
	delete(f, "OnlyFolderNode")
	delete(f, "OnlyUserSelfScript")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListCodeFolderContentsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListCodeFolderContentsResponseParams struct {
	// Result
	Data []*CodeFolderNode `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListCodeFolderContentsResponse struct {
	*tchttp.BaseResponse
	Response *ListCodeFolderContentsResponseParams `json:"Response"`
}

func (r *ListCodeFolderContentsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCodeFolderContentsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListCodePermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number, which is 1 by default.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of returned results. the default is 20, and the maximum value is 100. requirements: 500, 1000 or more.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Authorized resources.
	Resource *ExploreFileResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// User filtering criteria.
	Users []*string `json:"Users,omitnil,omitempty" name:"Users"`
}

type ListCodePermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number, which is 1 by default.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of returned results. the default is 20, and the maximum value is 100. requirements: 500, 1000 or more.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Authorized resources.
	Resource *ExploreFileResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// User filtering criteria.
	Users []*string `json:"Users,omitnil,omitempty" name:"Users"`
}

func (r *ListCodePermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCodePermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Resource")
	delete(f, "Users")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListCodePermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListCodePermissionsResponseParams struct {
	// Permission list
	Data *ExploreFilePermissionsPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListCodePermissionsResponse struct {
	*tchttp.BaseResponse
	Response *ListCodePermissionsResponseParams `json:"Response"`
}

func (r *ListCodePermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListCodePermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListColumnLineageRequestParams struct {
	// Table unique ID.
	TableUniqueId *string `json:"TableUniqueId,omitnil,omitempty" name:"TableUniqueId"`

	// Lineage direction INPUT｜OUTPUT.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Column name.
	ColumnName *string `json:"ColumnName,omitnil,omitempty" name:"ColumnName"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

type ListColumnLineageRequest struct {
	*tchttp.BaseRequest
	
	// Table unique ID.
	TableUniqueId *string `json:"TableUniqueId,omitnil,omitempty" name:"TableUniqueId"`

	// Lineage direction INPUT｜OUTPUT.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Column name.
	ColumnName *string `json:"ColumnName,omitnil,omitempty" name:"ColumnName"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

func (r *ListColumnLineageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListColumnLineageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "TableUniqueId")
	delete(f, "Direction")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "ColumnName")
	delete(f, "Platform")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListColumnLineageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListColumnLineageResponseParams struct {
	// Paging data
	Data *ListLineagePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListColumnLineageResponse struct {
	*tchttp.BaseResponse
	Response *ListColumnLineageResponseParams `json:"Response"`
}

func (r *ListColumnLineageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListColumnLineageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDataBackfillInstancesRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Backfill plan Id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListDataBackfillInstancesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Backfill plan Id.
	DataBackfillPlanId *string `json:"DataBackfillPlanId,omitnil,omitempty" name:"DataBackfillPlanId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListDataBackfillInstancesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDataBackfillInstancesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "DataBackfillPlanId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDataBackfillInstancesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDataBackfillInstancesResponseParams struct {
	// All backfill  instances under one backfill  plan.
	Data *BackfillInstanceCollection `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDataBackfillInstancesResponse struct {
	*tchttp.BaseResponse
	Response *ListDataBackfillInstancesResponseParams `json:"Response"`
}

func (r *ListDataBackfillInstancesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDataBackfillInstancesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDataSourcesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of returned results. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Data source name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data source display name.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source type: enumeration value.
	// 
	// - MYSQL
	// - TENCENT_MYSQL
	// - POSTGRE
	// - ORACLE
	// - SQLSERVER
	// - FTP
	// - HIVE
	// - HUDI
	// - HDFS
	// - ICEBERG
	// - KAFKA
	// - HBASE
	// - SPARK
	// - VIRTUAL
	// - TBASE
	// - DB2
	// - DM
	// - GAUSSDB
	// - GBASE
	// - IMPALA
	// - ES
	// - TENCENT_ES
	// - GREENPLUM
	// - PHOENIX
	// - SAP_HANA
	// - SFTP
	// - OCEANBASE
	// - CLICKHOUSE
	// - KUDU
	// - VERTICA
	// - REDIS
	// - COS
	// - DLC
	// - DORIS
	// - CKAFKA
	// - S3
	// - TDSQL
	// - TDSQL_MYSQL
	// - MONGODB
	// - TENCENT_MONGODB
	// - REST_API
	// - SuperSQL
	// - PRESTO
	// - TiDB
	// - StarRocks
	// - Trino
	// - Kyuubi
	// - TCHOUSE_X
	// - TCHOUSE_P
	// - TCHOUSE_C
	// - TCHOUSE_D
	// - INFLUXDB
	// - BIG_QUERY
	// - SSH
	// - BLOB
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// Creator
	Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"`
}

type ListDataSourcesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Number of returned results. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Data source name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data source display name.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source type: enumeration value.
	// 
	// - MYSQL
	// - TENCENT_MYSQL
	// - POSTGRE
	// - ORACLE
	// - SQLSERVER
	// - FTP
	// - HIVE
	// - HUDI
	// - HDFS
	// - ICEBERG
	// - KAFKA
	// - HBASE
	// - SPARK
	// - VIRTUAL
	// - TBASE
	// - DB2
	// - DM
	// - GAUSSDB
	// - GBASE
	// - IMPALA
	// - ES
	// - TENCENT_ES
	// - GREENPLUM
	// - PHOENIX
	// - SAP_HANA
	// - SFTP
	// - OCEANBASE
	// - CLICKHOUSE
	// - KUDU
	// - VERTICA
	// - REDIS
	// - COS
	// - DLC
	// - DORIS
	// - CKAFKA
	// - S3
	// - TDSQL
	// - TDSQL_MYSQL
	// - MONGODB
	// - TENCENT_MONGODB
	// - REST_API
	// - SuperSQL
	// - PRESTO
	// - TiDB
	// - StarRocks
	// - Trino
	// - Kyuubi
	// - TCHOUSE_X
	// - TCHOUSE_P
	// - TCHOUSE_C
	// - TCHOUSE_D
	// - INFLUXDB
	// - BIG_QUERY
	// - SSH
	// - BLOB
	Type []*string `json:"Type,omitnil,omitempty" name:"Type"`

	// Creator
	Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"`
}

func (r *ListDataSourcesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDataSourcesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageSize")
	delete(f, "PageNumber")
	delete(f, "Name")
	delete(f, "DisplayName")
	delete(f, "Type")
	delete(f, "Creator")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDataSourcesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDataSourcesResponseParams struct {
	// Data Source List
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *DataSourceInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDataSourcesResponse struct {
	*tchttp.BaseResponse
	Response *ListDataSourcesResponseParams `json:"Response"`
}

func (r *ListDataSourcesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDataSourcesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListDatabasePage struct {
	// Database record list.
	Items []*DatabaseInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListDatabaseRequestParams struct {
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Search by database name keyword.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type ListDatabaseRequest struct {
	*tchttp.BaseRequest
	
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Search by database name keyword.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

func (r *ListDatabaseRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDatabaseRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "CatalogName")
	delete(f, "DatasourceId")
	delete(f, "Keyword")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDatabaseRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDatabaseResponseParams struct {
	// Paging data
	Data *ListDatabasePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDatabaseResponse struct {
	*tchttp.BaseResponse
	Response *ListDatabaseResponseParams `json:"Response"`
}

func (r *ListDatabaseResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDatabaseResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamOpsTasksRequestParams struct {
	// Task ID		
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Project ID.
	// 		
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListDownstreamOpsTasksRequest struct {
	*tchttp.BaseRequest
	
	// Task ID		
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Project ID.
	// 		
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListDownstreamOpsTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamOpsTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "TaskId")
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDownstreamOpsTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamOpsTasksResponseParams struct {
	// Downstream dependency description.
	Data *ChildDependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDownstreamOpsTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListDownstreamOpsTasksResponseParams `json:"Response"`
}

func (r *ListDownstreamOpsTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamOpsTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTaskInstancesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Page number, int** used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListDownstreamTaskInstancesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Page number, int** used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListDownstreamTaskInstancesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTaskInstancesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKey")
	delete(f, "TimeZone")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDownstreamTaskInstancesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTaskInstancesResponseParams struct {
	// Direct downstream instance list.
	Data *TaskInstancePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDownstreamTaskInstancesResponse struct {
	*tchttp.BaseResponse
	Response *ListDownstreamTaskInstancesResponseParams `json:"Response"`
}

func (r *ListDownstreamTaskInstancesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTaskInstancesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListDownstreamTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListDownstreamTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDownstreamTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTasksResponseParams struct {
	// Describes the downstream dependency details.
	Data *DependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDownstreamTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListDownstreamTasksResponseParams `json:"Response"`
}

func (r *ListDownstreamTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTriggerTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListDownstreamTriggerTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListDownstreamTriggerTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTriggerTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListDownstreamTriggerTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListDownstreamTriggerTasksResponseParams struct {
	// Downstream dependency details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerDependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListDownstreamTriggerTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListDownstreamTriggerTasksResponseParams `json:"Response"`
}

func (r *ListDownstreamTriggerTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListDownstreamTriggerTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListLineagePage struct {
	// Lineage record list.
	Items []*LineageNodeInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListLineageRequestParams struct {
	// Entity unique ID.
	ResourceUniqueId *string `json:"ResourceUniqueId,omitnil,omitempty" name:"ResourceUniqueId"`

	// Entity type TABLE|METRIC|MODEL|SERVICE|COLUMN.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Lineage direction INPUT｜OUTPUT.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

type ListLineageRequest struct {
	*tchttp.BaseRequest
	
	// Entity unique ID.
	ResourceUniqueId *string `json:"ResourceUniqueId,omitnil,omitempty" name:"ResourceUniqueId"`

	// Entity type TABLE|METRIC|MODEL|SERVICE|COLUMN.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Lineage direction INPUT｜OUTPUT.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

func (r *ListLineageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListLineageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ResourceUniqueId")
	delete(f, "ResourceType")
	delete(f, "Direction")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Platform")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListLineageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListLineageResponseParams struct {
	// Paging data
	Data *ListLineagePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListLineageResponse struct {
	*tchttp.BaseResponse
	Response *ListLineageResponseParams `json:"Response"`
}

func (r *ListLineageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListLineageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsAlarmRulesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number for pagination. defaults to 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of items to display per page, defaults to 20, minimum value 1, maximum value 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *int64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Based on task id, queries Alarm rules.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Alarm Rule Monitoring Types:
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when an offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmType *string `json:"AlarmType,omitnil,omitempty" name:"AlarmType"`

	// Queries Alarm rules configured with corresponding Alarm levels.
	// Valid values: 1. ordinary, 2. important, 3. critical.
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Query the alarm rules associated with the configured alarm recipients.
	AlarmRecipientId *string `json:"AlarmRecipientId,omitnil,omitempty" name:"AlarmRecipientId"`

	// Queries the corresponding Alarm rule based on Alarm rule id or rule name.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specifies the creator filter for Alarm rule creation.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Start time of the Alarm rule create time range, in the format of 2025-08-17 00:00:00.
	CreateTimeFrom *string `json:"CreateTimeFrom,omitnil,omitempty" name:"CreateTimeFrom"`

	// End time of the Alarm rule creation time range, in the format of "2025-08-26 23:59:59".
	CreateTimeTo *string `json:"CreateTimeTo,omitnil,omitempty" name:"CreateTimeTo"`

	// Filters Alarm rules by last update time, in the format of "2025-08-26 00:00:00".
	UpdateTimeFrom *string `json:"UpdateTimeFrom,omitnil,omitempty" name:"UpdateTimeFrom"`

	// Filters Alarm rules by last update time in the format of "2025-08-26 23:59:59".
	UpdateTimeTo *string `json:"UpdateTimeTo,omitnil,omitempty" name:"UpdateTimeTo"`
}

type ListOpsAlarmRulesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number for pagination. defaults to 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of items to display per page, defaults to 20, minimum value 1, maximum value 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *int64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Based on task id, queries Alarm rules.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Alarm Rule Monitoring Types:
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when an offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when an offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmType *string `json:"AlarmType,omitnil,omitempty" name:"AlarmType"`

	// Queries Alarm rules configured with corresponding Alarm levels.
	// Valid values: 1. ordinary, 2. important, 3. critical.
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Query the alarm rules associated with the configured alarm recipients.
	AlarmRecipientId *string `json:"AlarmRecipientId,omitnil,omitempty" name:"AlarmRecipientId"`

	// Queries the corresponding Alarm rule based on Alarm rule id or rule name.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specifies the creator filter for Alarm rule creation.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Start time of the Alarm rule create time range, in the format of 2025-08-17 00:00:00.
	CreateTimeFrom *string `json:"CreateTimeFrom,omitnil,omitempty" name:"CreateTimeFrom"`

	// End time of the Alarm rule creation time range, in the format of "2025-08-26 23:59:59".
	CreateTimeTo *string `json:"CreateTimeTo,omitnil,omitempty" name:"CreateTimeTo"`

	// Filters Alarm rules by last update time, in the format of "2025-08-26 00:00:00".
	UpdateTimeFrom *string `json:"UpdateTimeFrom,omitnil,omitempty" name:"UpdateTimeFrom"`

	// Filters Alarm rules by last update time in the format of "2025-08-26 23:59:59".
	UpdateTimeTo *string `json:"UpdateTimeTo,omitnil,omitempty" name:"UpdateTimeTo"`
}

func (r *ListOpsAlarmRulesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsAlarmRulesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "MonitorObjectType")
	delete(f, "TaskId")
	delete(f, "AlarmType")
	delete(f, "AlarmLevel")
	delete(f, "AlarmRecipientId")
	delete(f, "Keyword")
	delete(f, "CreateUserUin")
	delete(f, "CreateTimeFrom")
	delete(f, "CreateTimeTo")
	delete(f, "UpdateTimeFrom")
	delete(f, "UpdateTimeTo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListOpsAlarmRulesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsAlarmRulesResponseParams struct {
	// Alarm information response.
	Data *ListAlarmRulesResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListOpsAlarmRulesResponse struct {
	*tchttp.BaseResponse
	Response *ListOpsAlarmRulesResponseParams `json:"Response"`
}

func (r *ListOpsAlarmRulesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsAlarmRulesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListOpsTasksPage struct {
	// Total number of results
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Record list	
	// 	
	Items []*TaskOpsInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

// Predefined struct for user
type ListOpsTasksRequestParams struct {
	// Project ID.
	// 		
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Task type Id. 
	// -20: common data sync.
	//  - 25:ETLTaskType
	//  - 26:ETLTaskType
	//  - 30:python
	//  - 31:pyspark
	//  - 34:HiveSQLTaskType
	//  - 35:shell
	//  - 36:SparkSQLTaskType
	//  - 21:JDBCSQLTaskType
	//  - 32:DLCTaskType
	//  - 33:ImpalaTaskType
	//  - 40:CDWTaskType
	//  - 41:kettle
	//  - 46:DLCSparkTaskType
	// -47: TiOne machine learning.
	//  - 48:TrinoTaskType
	//  - 50:DLCPyspark39:spark
	//  - 92:mr
	// -38: shell script.
	// -70: hivesql script.
	// -1000: common custom business.
	TaskTypeId *string `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Owner id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Data source ID.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Target data source id.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Executor Group ID
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Task Cycle Type:
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Task Status
	// 
	// -Y: Running
	// 
	// -F: Stopped
	// 
	// -O: Frozen
	// 
	// -T: Stopping
	// 
	// -INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Time zone. defaults to UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

type ListOpsTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	// 		
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Task type Id. 
	// -20: common data sync.
	//  - 25:ETLTaskType
	//  - 26:ETLTaskType
	//  - 30:python
	//  - 31:pyspark
	//  - 34:HiveSQLTaskType
	//  - 35:shell
	//  - 36:SparkSQLTaskType
	//  - 21:JDBCSQLTaskType
	//  - 32:DLCTaskType
	//  - 33:ImpalaTaskType
	//  - 40:CDWTaskType
	//  - 41:kettle
	//  - 46:DLCSparkTaskType
	// -47: TiOne machine learning.
	//  - 48:TrinoTaskType
	//  - 50:DLCPyspark39:spark
	//  - 92:mr
	// -38: shell script.
	// -70: hivesql script.
	// -1000: common custom business.
	TaskTypeId *string `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Owner id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Data source ID.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Target data source id.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Executor Group ID
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Task Cycle Type:
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Task Status
	// 
	// -Y: Running
	// 
	// -F: Stopped
	// 
	// -O: Frozen
	// 
	// -T: Stopping
	// 
	// -INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Time zone. defaults to UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`
}

func (r *ListOpsTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageSize")
	delete(f, "PageNumber")
	delete(f, "TaskTypeId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowName")
	delete(f, "OwnerUin")
	delete(f, "FolderId")
	delete(f, "SourceServiceId")
	delete(f, "TargetServiceId")
	delete(f, "ExecutorGroupId")
	delete(f, "CycleType")
	delete(f, "Status")
	delete(f, "TimeZone")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListOpsTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsTasksResponseParams struct {
	// Task list.
	Data *ListOpsTasksPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListOpsTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListOpsTasksResponseParams `json:"Response"`
}

func (r *ListOpsTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsTriggerWorkflowsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Filter parameters, workflow name or ID query name: Keyword, workflow ID query name: WorkflowId, folder query name: FolderId, person in charge query name: InChargeUin.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field, sorting field name as follows: number of tasks: TaskCount.
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`
}

type ListOpsTriggerWorkflowsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Filter parameters, workflow name or ID query name: Keyword, workflow ID query name: WorkflowId, folder query name: FolderId, person in charge query name: InChargeUin.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field, sorting field name as follows: number of tasks: TaskCount.
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`
}

func (r *ListOpsTriggerWorkflowsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsTriggerWorkflowsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Filters")
	delete(f, "OrderFields")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListOpsTriggerWorkflowsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsTriggerWorkflowsResponseParams struct {
	// Workflow query result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListOpsTriggerWorkflowsResponse struct {
	*tchttp.BaseResponse
	Response *ListOpsTriggerWorkflowsResponseParams `json:"Response"`
}

func (r *ListOpsTriggerWorkflowsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsTriggerWorkflowsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsWorkflowsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Workflow Status Filter
	// 
	// * ALL_RUNNING: All workflows are running (scheduled)
	// 
	// * ALL_FREEZED: All workflows are paused
	// 
	// * ALL_STOPPED: All workflows are offline
	// 
	// * PART_RUNNING: Some workflows are running (partially scheduled)
	// 
	// * ALL_NO_RUNNING: No workflows are running (unscheduled)
	// 
	// * ALL_INVALID: All workflows are invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Owner ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow type filter criteria. supported values: Cycle or Manual. default: Cycle.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow keyword-based filtering supports fuzzy matching of workflow Id/name.
	KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`

	// Sort item. Options: CreateTime, TaskCount.
	SortItem *string `json:"SortItem,omitnil,omitempty" name:"SortItem"`

	// Sorting method, DESC or ASC, uppercase.
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`

	// CreatorId. specifies the id of the creator.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Update time. format: yyyy-MM-dd HH:MM:ss.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time. format: yyyy-MM-dd HH:MM:ss.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListOpsWorkflowsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Workflow Status Filter
	// 
	// * ALL_RUNNING: All workflows are running (scheduled)
	// 
	// * ALL_FREEZED: All workflows are paused
	// 
	// * ALL_STOPPED: All workflows are offline
	// 
	// * PART_RUNNING: Some workflows are running (partially scheduled)
	// 
	// * ALL_NO_RUNNING: No workflows are running (unscheduled)
	// 
	// * ALL_INVALID: All workflows are invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Owner ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow type filter criteria. supported values: Cycle or Manual. default: Cycle.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow keyword-based filtering supports fuzzy matching of workflow Id/name.
	KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`

	// Sort item. Options: CreateTime, TaskCount.
	SortItem *string `json:"SortItem,omitnil,omitempty" name:"SortItem"`

	// Sorting method, DESC or ASC, uppercase.
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`

	// CreatorId. specifies the id of the creator.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Update time. format: yyyy-MM-dd HH:MM:ss.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time. format: yyyy-MM-dd HH:MM:ss.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

func (r *ListOpsWorkflowsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsWorkflowsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "FolderId")
	delete(f, "Status")
	delete(f, "OwnerUin")
	delete(f, "WorkflowType")
	delete(f, "KeyWord")
	delete(f, "SortItem")
	delete(f, "SortType")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTime")
	delete(f, "CreateTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListOpsWorkflowsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListOpsWorkflowsResponseParams struct {
	// Workflow list
	Data *OpsWorkflows `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListOpsWorkflowsResponse struct {
	*tchttp.BaseResponse
	Response *ListOpsWorkflowsResponseParams `json:"Response"`
}

func (r *ListOpsWorkflowsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListOpsWorkflowsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListPermissionsRequestParams struct {
	// Resource.
	// ResourceType: originates from the ResourceType returned by the GetGrantPrivilegesSTD API in the TCCATALOG module, and change to capitalize the first letter, such as METALAKE corresponding to METALAKE.
	// ResourceUri depends on ResourceType. fixed as default for Metalake. use the three-segment format of catalog for other categories, such as.
	// -Metalake, fixed as default.
	// -Catalog. specifies the catalogName.
	// -Schema. valid values: catalogName.SchemaName.
	// -Table. specifies catalogName.SchemaName.TableName.
	Resource *PrivilegeResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Filtering conditions (this parameter is not supported).
	Filters []*SecurityFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field (this parameter is not supported).
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page parameter (this parameter is not supported).
	Page *Page `json:"Page,omitnil,omitempty" name:"Page"`
}

type ListPermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Resource.
	// ResourceType: originates from the ResourceType returned by the GetGrantPrivilegesSTD API in the TCCATALOG module, and change to capitalize the first letter, such as METALAKE corresponding to METALAKE.
	// ResourceUri depends on ResourceType. fixed as default for Metalake. use the three-segment format of catalog for other categories, such as.
	// -Metalake, fixed as default.
	// -Catalog. specifies the catalogName.
	// -Schema. valid values: catalogName.SchemaName.
	// -Table. specifies catalogName.SchemaName.TableName.
	Resource *PrivilegeResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Filtering conditions (this parameter is not supported).
	Filters []*SecurityFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field (this parameter is not supported).
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page parameter (this parameter is not supported).
	Page *Page `json:"Page,omitnil,omitempty" name:"Page"`
}

func (r *ListPermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListPermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Resource")
	delete(f, "Filters")
	delete(f, "OrderFields")
	delete(f, "Page")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListPermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListPermissionsResponseParams struct {
	// Obtain resource permission details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *GetResourcePrivilegeDetailRsp `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListPermissionsResponse struct {
	*tchttp.BaseResponse
	Response *ListPermissionsResponseParams `json:"Response"`
}

func (r *ListPermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListPermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListProcessLineagePage struct {
	// Lineage pair list.
	Items []*LineagePair `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListProcessLineageRequestParams struct {
	// Unique task ID.
	ProcessId *string `json:"ProcessId,omitnil,omitempty" name:"ProcessId"`

	// TASK type //scheduling tasks SCHEDULE_TASK, //INTEGRATION tasks INTEGRATION_TASK, //THIRD-party reporting THIRD_REPORT, //DATA modeling TABLE_MODEL, //MODEL create metrics MODEL_METRIC, //atomic metrics create derived metrics METRIC_METRIC, //DATA SERVICE DATA_SERVICE.
	ProcessType *string `json:"ProcessType,omitnil,omitempty" name:"ProcessType"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

type ListProcessLineageRequest struct {
	*tchttp.BaseRequest
	
	// Unique task ID.
	ProcessId *string `json:"ProcessId,omitnil,omitempty" name:"ProcessId"`

	// TASK type //scheduling tasks SCHEDULE_TASK, //INTEGRATION tasks INTEGRATION_TASK, //THIRD-party reporting THIRD_REPORT, //DATA modeling TABLE_MODEL, //MODEL create metrics MODEL_METRIC, //atomic metrics create derived metrics METRIC_METRIC, //DATA SERVICE DATA_SERVICE.
	ProcessType *string `json:"ProcessType,omitnil,omitempty" name:"ProcessType"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Source: WEDATA|THIRD default WEDATA.
	Platform *string `json:"Platform,omitnil,omitempty" name:"Platform"`
}

func (r *ListProcessLineageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProcessLineageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProcessId")
	delete(f, "ProcessType")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Platform")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListProcessLineageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProcessLineageResponseParams struct {
	// Paging data
	Data *ListProcessLineagePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListProcessLineageResponse struct {
	*tchttp.BaseResponse
	Response *ListProcessLineageResponseParams `json:"Response"`
}

func (r *ListProcessLineageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProcessLineageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectMembersRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filter by member name with fuzzy query support.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Filter by member id. supports fuzzy query.
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Page size, default first page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Number of items per page. default value is `10`.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

type ListProjectMembersRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filter by member name with fuzzy query support.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Filter by member id. supports fuzzy query.
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Page size, default first page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Number of items per page. default value is `10`.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

func (r *ListProjectMembersRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectMembersRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "UserName")
	delete(f, "UserUin")
	delete(f, "PageSize")
	delete(f, "PageNumber")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListProjectMembersRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectMembersResponseParams struct {
	// Project list.
	Data *ProjectUsersBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListProjectMembersResponse struct {
	*tchttp.BaseResponse
	Response *ListProjectMembersResponseParams `json:"Response"`
}

func (r *ListProjectMembersResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectMembersResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectRolesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Fuzzy query for the chinese display name of a role. can only pass one value.
	RoleDisplayName *string `json:"RoleDisplayName,omitnil,omitempty" name:"RoleDisplayName"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Paging information.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListProjectRolesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Fuzzy query for the chinese display name of a role. can only pass one value.
	RoleDisplayName *string `json:"RoleDisplayName,omitnil,omitempty" name:"RoleDisplayName"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Paging information.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListProjectRolesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectRolesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "RoleDisplayName")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListProjectRolesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectRolesResponseParams struct {
	// This API is used to provide the role list.
	Data *PageRoles `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListProjectRolesResponse struct {
	*tchttp.BaseResponse
	Response *ListProjectRolesResponseParams `json:"Response"`
}

func (r *ListProjectRolesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectRolesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectsRequestParams struct {
	// Project ID List
	ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Project name or unique id, supports fuzzy search.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Project status, available values: 0 (disabled), 1 (normal).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Project mode. available values: SIMPLE, STANDARD.
	ProjectModel *string `json:"ProjectModel,omitnil,omitempty" name:"ProjectModel"`

	// Number of requested data pages for pagination.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of items per page. default value is `10`.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListProjectsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID List
	ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Project name or unique id, supports fuzzy search.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Project status, available values: 0 (disabled), 1 (normal).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Project mode. available values: SIMPLE, STANDARD.
	ProjectModel *string `json:"ProjectModel,omitnil,omitempty" name:"ProjectModel"`

	// Number of requested data pages for pagination.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of items per page. default value is `10`.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListProjectsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectIds")
	delete(f, "ProjectName")
	delete(f, "Status")
	delete(f, "ProjectModel")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListProjectsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListProjectsResponseParams struct {
	// Project list.
	Data *ProjectBrief `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListProjectsResponse struct {
	*tchttp.BaseResponse
	Response *ListProjectsResponseParams `json:"Response"`
}

func (r *ListProjectsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListProjectsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListQualityRuleTemplatesRequestParams struct {
	// Workspace ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Current page, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records per page, which is 10 by default.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Common sort.
	// Supported sorting fields:.
	// CitationCount - sort by number of references.
	// UpdateTime - sort by update time.
	// Sorting order:.
	// 1 - ascending (ASC).
	// 2 - descending (DESC).
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Universal filter criteria.
	// 1. Id
	// Description: template ID.
	// Value: unique identifier of the template.
	// 
	// 2. Keyword
	// Description: search by keyword, supports template name fuzzy search.
	// Value: string.
	// 
	// 3. Type
	// Description: template type.
	// Value: 1 - system template; 2 - custom template; support multiple values (OR relationship).
	// 
	// 4. QualityDim
	// Describes the quality detection dimension.
	// Valid values: 1 - accuracy; 2 - uniqueness; 3 - integrity; 4 - consistency; 5 - timeliness; 6 - validity. support multiple values (OR relationship).
	// 
	// 5. SourceObjectType
	// Describes the applicable source data object type for rule.
	// Value: 1 - constant; 2 - offline table level; 3 - offline field level; 4 - database level. supports multiple values (OR relationship).
	// 
	// 6. SourceEngineTypes
	// Description: specifies the source data engine type to which the template applies.
	// Value: 1 - MySQL; 2 - Hive; 4 - Spark; 8 - Livy; 16 - DLC; 32 - Gbase; 64 - TCHouse-P; 128 - Doris; 256 - TCHouse-D; 512 - EMR_StarRocks; 1024 - TCHouse-X. supports multiple values (OR relationship).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

type ListQualityRuleTemplatesRequest struct {
	*tchttp.BaseRequest
	
	// Workspace ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Current page, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records per page, which is 10 by default.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Common sort.
	// Supported sorting fields:.
	// CitationCount - sort by number of references.
	// UpdateTime - sort by update time.
	// Sorting order:.
	// 1 - ascending (ASC).
	// 2 - descending (DESC).
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Universal filter criteria.
	// 1. Id
	// Description: template ID.
	// Value: unique identifier of the template.
	// 
	// 2. Keyword
	// Description: search by keyword, supports template name fuzzy search.
	// Value: string.
	// 
	// 3. Type
	// Description: template type.
	// Value: 1 - system template; 2 - custom template; support multiple values (OR relationship).
	// 
	// 4. QualityDim
	// Describes the quality detection dimension.
	// Valid values: 1 - accuracy; 2 - uniqueness; 3 - integrity; 4 - consistency; 5 - timeliness; 6 - validity. support multiple values (OR relationship).
	// 
	// 5. SourceObjectType
	// Describes the applicable source data object type for rule.
	// Value: 1 - constant; 2 - offline table level; 3 - offline field level; 4 - database level. supports multiple values (OR relationship).
	// 
	// 6. SourceEngineTypes
	// Description: specifies the source data engine type to which the template applies.
	// Value: 1 - MySQL; 2 - Hive; 4 - Spark; 8 - Livy; 16 - DLC; 32 - Gbase; 64 - TCHouse-P; 128 - Doris; 256 - TCHouse-D; 512 - EMR_StarRocks; 1024 - TCHouse-X. supports multiple values (OR relationship).
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func (r *ListQualityRuleTemplatesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListQualityRuleTemplatesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "OrderFields")
	delete(f, "Filters")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListQualityRuleTemplatesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListQualityRuleTemplatesResponseParams struct {
	// Result
	Data *QualityRuleTemplatePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListQualityRuleTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *ListQualityRuleTemplatesResponseParams `json:"Response"`
}

func (r *ListQualityRuleTemplatesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListQualityRuleTemplatesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceFilesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Resource file name (fuzzy search keyword).
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Creator ID. obtain through the DescribeCurrentUserInfo API.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
	ModifyTimeStart *string `json:"ModifyTimeStart,omitnil,omitempty" name:"ModifyTimeStart"`

	// Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
	ModifyTimeEnd *string `json:"ModifyTimeEnd,omitnil,omitempty" name:"ModifyTimeEnd"`

	// Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
	CreateTimeStart *string `json:"CreateTimeStart,omitnil,omitempty" name:"CreateTimeStart"`

	// Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
	CreateTimeEnd *string `json:"CreateTimeEnd,omitnil,omitempty" name:"CreateTimeEnd"`
}

type ListResourceFilesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Resource file name (fuzzy search keyword).
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Specifies the path of the file's parent folder (for example /a/b/c, querying resource files under the folder c).
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Creator ID. obtain through the DescribeCurrentUserInfo API.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Update time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
	ModifyTimeStart *string `json:"ModifyTimeStart,omitnil,omitempty" name:"ModifyTimeStart"`

	// Update time range. specifies the end time in yyyy-MM-dd HH:MM:ss format.
	ModifyTimeEnd *string `json:"ModifyTimeEnd,omitnil,omitempty" name:"ModifyTimeEnd"`

	// Create time range. specifies the start time in yyyy-MM-dd HH:MM:ss format.
	CreateTimeStart *string `json:"CreateTimeStart,omitnil,omitempty" name:"CreateTimeStart"`

	// Create time range. specifies the termination time in yyyy-MM-dd HH:MM:ss format.
	CreateTimeEnd *string `json:"CreateTimeEnd,omitnil,omitempty" name:"CreateTimeEnd"`
}

func (r *ListResourceFilesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceFilesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "ResourceName")
	delete(f, "ParentFolderPath")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTimeStart")
	delete(f, "ModifyTimeEnd")
	delete(f, "CreateTimeStart")
	delete(f, "CreateTimeEnd")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListResourceFilesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceFilesResponseParams struct {
	// Retrieve the resource file list.
	Data *ResourceFilePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListResourceFilesResponse struct {
	*tchttp.BaseResponse
	Response *ListResourceFilesResponseParams `json:"Response"`
}

func (r *ListResourceFilesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceFilesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceFoldersRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource folder absolute path. value example.
	// /wedata/test
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListResourceFoldersRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource folder absolute path. value example.
	// /wedata/test
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListResourceFoldersRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceFoldersRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListResourceFoldersRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceFoldersResponseParams struct {
	// Paginated resource folder query result.
	Data *ResourceFolderPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListResourceFoldersResponse struct {
	*tchttp.BaseResponse
	Response *ListResourceFoldersResponseParams `json:"Response"`
}

func (r *ListResourceFoldersResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceFoldersResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceGroupsRequestParams struct {
	// Execution resource group type.
	// 
	// -Schedule --- scheduling resource group.
	// -Integration - integration resource group.
	// -DataService - data service resource group.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Execution resource group name to search.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Project space id query list.
	ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Number of pages.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListResourceGroupsRequest struct {
	*tchttp.BaseRequest
	
	// Execution resource group type.
	// 
	// -Schedule --- scheduling resource group.
	// -Integration - integration resource group.
	// -DataService - data service resource group.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Execution resource group name to search.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Project space id query list.
	ProjectIds []*string `json:"ProjectIds,omitnil,omitempty" name:"ProjectIds"`

	// Number of pages.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListResourceGroupsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceGroupsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Type")
	delete(f, "Id")
	delete(f, "Name")
	delete(f, "ProjectIds")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListResourceGroupsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListResourceGroupsResponseParams struct {
	// Pagination Results
	Data *ExecutorResourceGroupData `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListResourceGroupsResponse struct {
	*tchttp.BaseResponse
	Response *ListResourceGroupsResponseParams `json:"Response"`
}

func (r *ListResourceGroupsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListResourceGroupsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListSQLFolderContentsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. path header must include a slash. pass / to query the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name or script name search.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Queries only the folder.
	OnlyFolderNode *bool `json:"OnlyFolderNode,omitnil,omitempty" name:"OnlyFolderNode"`

	// Specifies whether to query only scripts created by the user themselves.
	OnlyUserSelfScript *bool `json:"OnlyUserSelfScript,omitnil,omitempty" name:"OnlyUserSelfScript"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

type ListSQLFolderContentsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder path, /aaa/bbb/ccc. path header must include a slash. pass / to query the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name or script name search.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Queries only the folder.
	OnlyFolderNode *bool `json:"OnlyFolderNode,omitnil,omitempty" name:"OnlyFolderNode"`

	// Specifies whether to query only scripts created by the user themselves.
	OnlyUserSelfScript *bool `json:"OnlyUserSelfScript,omitnil,omitempty" name:"OnlyUserSelfScript"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

func (r *ListSQLFolderContentsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSQLFolderContentsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "Keyword")
	delete(f, "OnlyFolderNode")
	delete(f, "OnlyUserSelfScript")
	delete(f, "AccessScope")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListSQLFolderContentsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListSQLFolderContentsResponseParams struct {
	// Result list
	Data []*SQLFolderNode `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListSQLFolderContentsResponse struct {
	*tchttp.BaseResponse
	Response *ListSQLFolderContentsResponseParams `json:"Response"`
}

func (r *ListSQLFolderContentsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSQLFolderContentsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListSQLScriptRunsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Script id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Task ID.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Search keywords.
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`

	// Specifies the executor ID.
	ExecuteUserUin *string `json:"ExecuteUserUin,omitnil,omitempty" name:"ExecuteUserUin"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type ListSQLScriptRunsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Script id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Task ID.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Search keywords.
	SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"`

	// Specifies the executor ID.
	ExecuteUserUin *string `json:"ExecuteUserUin,omitnil,omitempty" name:"ExecuteUserUin"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func (r *ListSQLScriptRunsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSQLScriptRunsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ScriptId")
	delete(f, "JobId")
	delete(f, "SearchWord")
	delete(f, "ExecuteUserUin")
	delete(f, "StartTime")
	delete(f, "EndTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListSQLScriptRunsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListSQLScriptRunsResponseParams struct {
	// Data Exploration runs.
	Data []*JobDto `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListSQLScriptRunsResponse struct {
	*tchttp.BaseResponse
	Response *ListSQLScriptRunsResponseParams `json:"Response"`
}

func (r *ListSQLScriptRunsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSQLScriptRunsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListSchemaPage struct {
	// Schema record list.
	Items []*SchemaInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListSchemaRequestParams struct {
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Database name.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Search by database schema keyword.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type ListSchemaRequest struct {
	*tchttp.BaseRequest
	
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Database name.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Search by database schema keyword.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

func (r *ListSchemaRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSchemaRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "CatalogName")
	delete(f, "DatasourceId")
	delete(f, "DatabaseName")
	delete(f, "Keyword")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListSchemaRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListSchemaResponseParams struct {
	// Paging data
	Data *ListSchemaPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListSchemaResponse struct {
	*tchttp.BaseResponse
	Response *ListSchemaResponseParams `json:"Response"`
}

func (r *ListSchemaResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListSchemaResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTablePage struct {
	// Record list.
	Items []*TableInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages.
	PageCount *int64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Pagination size.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number of records
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListTableRequestParams struct {
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Database name.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Schema name.
	SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"`

	// Search keywords table.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

type ListTableRequest struct {
	*tchttp.BaseRequest
	
	// Page number, starting from 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size. maximum 500.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Directory name.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Database name.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Schema name.
	SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"`

	// Search keywords table.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}

func (r *ListTableRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTableRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "CatalogName")
	delete(f, "DatasourceId")
	delete(f, "DatabaseName")
	delete(f, "SchemaName")
	delete(f, "Keyword")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTableRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTableResponseParams struct {
	// Paging data
	Data *ListTablePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTableResponse struct {
	*tchttp.BaseResponse
	Response *ListTableResponseParams `json:"Response"`
}

func (r *ListTableResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTableResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskFoldersRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Absolute path of the parent folder, such as /abc/de. if it is the root directory, pass /.
	ParentTaskFolderPath *string `json:"ParentTaskFolderPath,omitnil,omitempty" name:"ParentTaskFolderPath"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task folder type.
	// 
	// | task folder type parameter | task folder type interface corresponding name |.
	// | ---------------- | ------------------------ |
	// ETL | integration task.
	// | EMR              | EMR                      |
	// | DLC              | DLC                      |
	// | SETATS           | SETATS                   |
	// | TDSQL            | TDSQL                    |
	// | TCHOUSE          | TCHOUSE                  |
	// GENERAL.
	// TI_ONE | ti-one machine learning.
	// ACROSS_WORKFLOWS | cross-workflow.
	// 
	TaskFolderType *string `json:"TaskFolderType,omitnil,omitempty" name:"TaskFolderType"`

	// Number of data pages, equal to or greater than 1. default is 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. minimum value is 10. maximum value is 200. default value is 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListTaskFoldersRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Absolute path of the parent folder, such as /abc/de. if it is the root directory, pass /.
	ParentTaskFolderPath *string `json:"ParentTaskFolderPath,omitnil,omitempty" name:"ParentTaskFolderPath"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task folder type.
	// 
	// | task folder type parameter | task folder type interface corresponding name |.
	// | ---------------- | ------------------------ |
	// ETL | integration task.
	// | EMR              | EMR                      |
	// | DLC              | DLC                      |
	// | SETATS           | SETATS                   |
	// | TDSQL            | TDSQL                    |
	// | TCHOUSE          | TCHOUSE                  |
	// GENERAL.
	// TI_ONE | ti-one machine learning.
	// ACROSS_WORKFLOWS | cross-workflow.
	// 
	TaskFolderType *string `json:"TaskFolderType,omitnil,omitempty" name:"TaskFolderType"`

	// Number of data pages, equal to or greater than 1. default is 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. minimum value is 10. maximum value is 200. default value is 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListTaskFoldersRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskFoldersRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentTaskFolderPath")
	delete(f, "WorkflowId")
	delete(f, "TaskFolderType")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTaskFoldersRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskFoldersResponseParams struct {
	// Paged folder query result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TaskFolderPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTaskFoldersResponse struct {
	*tchttp.BaseResponse
	Response *ListTaskFoldersResponseParams `json:"Response"`
}

func (r *ListTaskFoldersResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskFoldersResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTaskInfo struct {
	// Task Array
	Items []*TaskBaseAttribute `json:"Items,omitnil,omitempty" name:"Items"`

	// Current request data page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of entries in the current request.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of data entries that meet the query condition.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages that meet the query condition.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

// Predefined struct for user
type ListTaskInstanceExecutionsRequestParams struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance unique id, can be obtained through ListInstances.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Size per page. default: 10. maximum: 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

type ListTaskInstanceExecutionsRequest struct {
	*tchttp.BaseRequest
	
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance unique id, can be obtained through ListInstances.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Size per page. default: 10. maximum: 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number, which is 1 by default.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

func (r *ListTaskInstanceExecutionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskInstanceExecutionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKey")
	delete(f, "TimeZone")
	delete(f, "PageSize")
	delete(f, "PageNumber")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTaskInstanceExecutionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskInstanceExecutionsResponseParams struct {
	// Instance details.
	Data *TaskInstanceExecutions `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTaskInstanceExecutionsResponse struct {
	*tchttp.BaseResponse
	Response *ListTaskInstanceExecutionsResponseParams `json:"Response"`
}

func (r *ListTaskInstanceExecutionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskInstanceExecutionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskInstancesRequestParams struct {
	// **Project ID**. specifies the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Page number. integer.**.
	// Used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name or task ID.
	// Supports fuzzy search filtering. multiple values are separated by commas.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Instance Type**
	// 
	// 0 - Backfill instance
	// 
	// 1 - Cyclic (scheduled) instance
	// 
	// 2 - Non-cyclic (non-scheduled) instance
	InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// **Instance Status**
	// 
	// WAIT_EVENT: Waiting for event
	// 
	// WAIT_UPSTREAM: Waiting for upstream
	// 
	// WAIT_RUN: Waiting to run
	// 
	// RUNNING: Running
	// 
	// SKIP_RUNNING: Skipped
	// 
	// FAILED_RETRY: Retrying after failure
	// 
	// EXPIRED: Failed
	// 
	// COMPLETED: Succeeded
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// Task type Id.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// **Task Cycle Type**
	// 
	// ONEOFF_CYCLE: One-time
	// 
	// YEAR_CYCLE: Yearly
	// 
	// MONTH_CYCLE: Monthly
	// 
	// WEEK_CYCLE: Weekly
	// 
	// DAY_CYCLE: Daily
	// 
	// HOUR_CYCLE: Hourly
	// 
	// MINUTE_CYCLE: Minute-level
	// 
	// CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Task owner id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Folder id
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Workflow id of the task.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// **Execution resource group Id**.
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// **Instance Scheduled Time Filter Condition** specifies the filter start time in the time format yyyy-MM-dd HH:MM:ss.
	ScheduleTimeFrom *string `json:"ScheduleTimeFrom,omitnil,omitempty" name:"ScheduleTimeFrom"`

	// **Instance Scheduled Time Filter Condition** specifies the cutoff time in the format of yyyy-MM-dd HH:MM:ss.
	ScheduleTimeTo *string `json:"ScheduleTimeTo,omitnil,omitempty" name:"ScheduleTimeTo"`

	// **Instance Execution Start Time Filter Condition** specifies the start time for filtering. time format: yyyy-MM-dd HH:MM:ss.
	StartTimeFrom *string `json:"StartTimeFrom,omitnil,omitempty" name:"StartTimeFrom"`

	// **Instance Execution Start Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	StartTimeTo *string `json:"StartTimeTo,omitnil,omitempty" name:"StartTimeTo"`

	// **Instance Last Update Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	LastUpdateTimeFrom *string `json:"LastUpdateTimeFrom,omitnil,omitempty" name:"LastUpdateTimeFrom"`

	// **Instance Last Update Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	LastUpdateTimeTo *string `json:"LastUpdateTimeTo,omitnil,omitempty" name:"LastUpdateTimeTo"`

	// **Query Result Sorting Field**
	// 
	// SCHEDULE_DATE: Sort by scheduled execution time
	// 
	// START_TIME: Sort by actual execution start time
	// 
	// END_TIME: Sort by actual execution end time
	// 
	// COST_TIME: Sort by execution duration
	SortColumn *string `json:"SortColumn,omitnil,omitempty" name:"SortColumn"`

	// **Instance Sorting Order**
	// 
	// - ASC 
	// - DESC
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`
}

type ListTaskInstancesRequest struct {
	*tchttp.BaseRequest
	
	// **Project ID**. specifies the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Page number. integer.**.
	// Used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name or task ID.
	// Supports fuzzy search filtering. multiple values are separated by commas.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// **Time zone** timeZone, specifies the time zone of the passed in time string. default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Instance Type**
	// 
	// 0 - Backfill instance
	// 
	// 1 - Cyclic (scheduled) instance
	// 
	// 2 - Non-cyclic (non-scheduled) instance
	InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// **Instance Status**
	// 
	// WAIT_EVENT: Waiting for event
	// 
	// WAIT_UPSTREAM: Waiting for upstream
	// 
	// WAIT_RUN: Waiting to run
	// 
	// RUNNING: Running
	// 
	// SKIP_RUNNING: Skipped
	// 
	// FAILED_RETRY: Retrying after failure
	// 
	// EXPIRED: Failed
	// 
	// COMPLETED: Succeeded
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// Task type Id.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// **Task Cycle Type**
	// 
	// ONEOFF_CYCLE: One-time
	// 
	// YEAR_CYCLE: Yearly
	// 
	// MONTH_CYCLE: Monthly
	// 
	// WEEK_CYCLE: Weekly
	// 
	// DAY_CYCLE: Daily
	// 
	// HOUR_CYCLE: Hourly
	// 
	// MINUTE_CYCLE: Minute-level
	// 
	// CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Task owner id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Folder id
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Workflow id of the task.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// **Execution resource group Id**.
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// **Instance Scheduled Time Filter Condition** specifies the filter start time in the time format yyyy-MM-dd HH:MM:ss.
	ScheduleTimeFrom *string `json:"ScheduleTimeFrom,omitnil,omitempty" name:"ScheduleTimeFrom"`

	// **Instance Scheduled Time Filter Condition** specifies the cutoff time in the format of yyyy-MM-dd HH:MM:ss.
	ScheduleTimeTo *string `json:"ScheduleTimeTo,omitnil,omitempty" name:"ScheduleTimeTo"`

	// **Instance Execution Start Time Filter Condition** specifies the start time for filtering. time format: yyyy-MM-dd HH:MM:ss.
	StartTimeFrom *string `json:"StartTimeFrom,omitnil,omitempty" name:"StartTimeFrom"`

	// **Instance Execution Start Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	StartTimeTo *string `json:"StartTimeTo,omitnil,omitempty" name:"StartTimeTo"`

	// **Instance Last Update Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	LastUpdateTimeFrom *string `json:"LastUpdateTimeFrom,omitnil,omitempty" name:"LastUpdateTimeFrom"`

	// **Instance Last Update Time Filter Condition**.
	// Expiration time in yyyy-MM-dd HH:MM:ss format.
	LastUpdateTimeTo *string `json:"LastUpdateTimeTo,omitnil,omitempty" name:"LastUpdateTimeTo"`

	// **Query Result Sorting Field**
	// 
	// SCHEDULE_DATE: Sort by scheduled execution time
	// 
	// START_TIME: Sort by actual execution start time
	// 
	// END_TIME: Sort by actual execution end time
	// 
	// COST_TIME: Sort by execution duration
	SortColumn *string `json:"SortColumn,omitnil,omitempty" name:"SortColumn"`

	// **Instance Sorting Order**
	// 
	// - ASC 
	// - DESC
	SortType *string `json:"SortType,omitnil,omitempty" name:"SortType"`
}

func (r *ListTaskInstancesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskInstancesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Keyword")
	delete(f, "TimeZone")
	delete(f, "InstanceType")
	delete(f, "InstanceState")
	delete(f, "TaskTypeId")
	delete(f, "CycleType")
	delete(f, "OwnerUin")
	delete(f, "FolderId")
	delete(f, "WorkflowId")
	delete(f, "ExecutorGroupId")
	delete(f, "ScheduleTimeFrom")
	delete(f, "ScheduleTimeTo")
	delete(f, "StartTimeFrom")
	delete(f, "StartTimeTo")
	delete(f, "LastUpdateTimeFrom")
	delete(f, "LastUpdateTimeTo")
	delete(f, "SortColumn")
	delete(f, "SortType")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTaskInstancesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskInstancesResponseParams struct {
	// Instance result set.
	Data *TaskInstancePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTaskInstancesResponse struct {
	*tchttp.BaseResponse
	Response *ListTaskInstancesResponseParams `json:"Response"`
}

func (r *ListTaskInstancesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskInstancesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTaskVersions struct {
	// Record list	
	// 	
	Items []*TaskVersion `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of records that meet the query condition.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages that meet the query condition.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Number of records on current page.
	PageCount *uint64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Specifies the number of entries in the current request data page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Specifies the data page number of the current request.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

// Predefined struct for user
type ListTaskVersionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// SAVE version.
	// SUBMIT version.
	// Defaults to SAVE.
	TaskVersionType *string `json:"TaskVersionType,omitnil,omitempty" name:"TaskVersionType"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListTaskVersionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// SAVE version.
	// SUBMIT version.
	// Defaults to SAVE.
	TaskVersionType *string `json:"TaskVersionType,omitnil,omitempty" name:"TaskVersionType"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListTaskVersionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskVersionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "TaskVersionType")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTaskVersionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTaskVersionsResponseParams struct {
	// Task version list.
	Data *ListTaskVersions `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTaskVersionsResponse struct {
	*tchttp.BaseResponse
	Response *ListTaskVersionsResponseParams `json:"Response"`
}

func (r *ListTaskVersionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTaskVersionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow ID
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task type
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task Status:
	// * N: New
	// * Y: Scheduling
	// * F: Offline
	// * O: Paused
	// * T: Offlining
	// * INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Submission status.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Bundle id.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modification time range (yyyy-MM-dd HH:mm:ss). Two time values must be provided in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range (yyyy-MM-dd HH:MM:ss). Two time values must be provided in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow ID
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task type
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task Status:
	// * N: New
	// * Y: Scheduling
	// * F: Offline
	// * O: Paused
	// * T: Offlining
	// * INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Submission status.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Bundle id.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modification time range (yyyy-MM-dd HH:mm:ss). Two time values must be provided in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range (yyyy-MM-dd HH:MM:ss). Two time values must be provided in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

func (r *ListTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "TaskName")
	delete(f, "WorkflowId")
	delete(f, "OwnerUin")
	delete(f, "TaskTypeId")
	delete(f, "Status")
	delete(f, "Submit")
	delete(f, "BundleId")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTime")
	delete(f, "CreateTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTasksResponseParams struct {
	// Describes the task pagination information.
	Data *ListTaskInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListTasksResponseParams `json:"Response"`
}

func (r *ListTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTenantRolesRequestParams struct {
	// Role chinese display name fuzzy query. can only pass one.
	RoleDisplayName *string `json:"RoleDisplayName,omitnil,omitempty" name:"RoleDisplayName"`
}

type ListTenantRolesRequest struct {
	*tchttp.BaseRequest
	
	// Role chinese display name fuzzy query. can only pass one.
	RoleDisplayName *string `json:"RoleDisplayName,omitnil,omitempty" name:"RoleDisplayName"`
}

func (r *ListTenantRolesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTenantRolesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "RoleDisplayName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTenantRolesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTenantRolesResponseParams struct {
	// Account role list.
	Data []*SystemRole `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTenantRolesResponse struct {
	*tchttp.BaseResponse
	Response *ListTenantRolesResponseParams `json:"Response"`
}

func (r *ListTenantRolesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTenantRolesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTriggerTaskInfo struct {
	// Task Array
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerTaskBaseAttribute `json:"Items,omitnil,omitempty" name:"Items"`

	// Current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of entries in the current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of data entries that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type ListTriggerTaskRunBrief struct {
	// Running ID of the task
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionId *string `json:"ExecutionId,omitnil,omitempty" name:"ExecutionId"`

	// Workflow ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Running ID of the workflow
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Trigger Type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerType *string `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// Waiting duration, in seconds
	// Note: This field may return null, indicating that no valid values can be obtained.
	WaitTime *string `json:"WaitTime,omitnil,omitempty" name:"WaitTime"`

	// Operating Account
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecuteUserUin *string `json:"ExecuteUserUin,omitnil,omitempty" name:"ExecuteUserUin"`

	// Planned scheduling time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ScheduleTime *string `json:"ScheduleTime,omitnil,omitempty" name:"ScheduleTime"`

	// Start time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Running end time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Running time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionTime *string `json:"ExecutionTime,omitnil,omitempty" name:"ExecutionTime"`

	// Times of automatic retry
	// Note: This field may return null, indicating that no valid values can be obtained.
	RetryTimes *int64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Error code description
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorCodeStr *string `json:"ErrorCodeStr,omitnil,omitempty" name:"ErrorCodeStr"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Number of manual rerun attempts by the user
	// Note: This field may return null, indicating that no valid values can be obtained.
	RerunTimes *int64 `json:"RerunTimes,omitnil,omitempty" name:"RerunTimes"`

	// Task running status
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskExecutionState *string `json:"TaskExecutionState,omitnil,omitempty" name:"TaskExecutionState"`

	// Whether it is the most recent run
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsLatestExecution *bool `json:"IsLatestExecution,omitnil,omitempty" name:"IsLatestExecution"`
}

type ListTriggerTaskRunResult struct {
	// Total number of records
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Number of pages.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task running information collection
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*ListTriggerTaskRunBrief `json:"Items,omitnil,omitempty" name:"Items"`
}

// Predefined struct for user
type ListTriggerTaskRunsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filtering parameters: Keyword for task name or ID query, WorkflowId for workflow ID query, FolderId for folder query, InChargeUin for responsible person query, WorkflowExecutionId for workflow execution ID, ExecutionId for task execution ID, TaskId for task ID, ScheduleTimeGreaterEqual / ScheduleTimeLessEqual for planned scheduling time interval
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field, sorting field name as follows: start time: CreateTime, end time: EndTime, scheduled dispatch time: ScheduleTime
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListTriggerTaskRunsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filtering parameters: Keyword for task name or ID query, WorkflowId for workflow ID query, FolderId for folder query, InChargeUin for responsible person query, WorkflowExecutionId for workflow execution ID, ExecutionId for task execution ID, TaskId for task ID, ScheduleTimeGreaterEqual / ScheduleTimeLessEqual for planned scheduling time interval
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field, sorting field name as follows: start time: CreateTime, end time: EndTime, scheduled dispatch time: ScheduleTime
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListTriggerTaskRunsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTaskRunsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "Filters")
	delete(f, "OrderFields")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTriggerTaskRunsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerTaskRunsResponseParams struct {
	// Task run query result
	Data *ListTriggerTaskRunResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTriggerTaskRunsResponse struct {
	*tchttp.BaseResponse
	Response *ListTriggerTaskRunsResponseParams `json:"Response"`
}

func (r *ListTriggerTaskRunsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTaskRunsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTriggerTaskVersions struct {
	// Record list	
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerTaskVersion `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of records that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Number of records on current page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageCount *uint64 `json:"PageCount,omitnil,omitempty" name:"PageCount"`

	// Number of entries in the current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number of the current request.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

// Predefined struct for user
type ListTriggerTaskVersionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// SAVE version: SAVE.
	// SUBMIT version: SUBMIT.
	// Default value: SAVE.
	TaskVersionType *string `json:"TaskVersionType,omitnil,omitempty" name:"TaskVersionType"`

	// The number of requested data pages. the default value is 1. valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListTriggerTaskVersionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// SAVE version: SAVE.
	// SUBMIT version: SUBMIT.
	// Default value: SAVE.
	TaskVersionType *string `json:"TaskVersionType,omitnil,omitempty" name:"TaskVersionType"`

	// The number of requested data pages. the default value is 1. valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListTriggerTaskVersionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTaskVersionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "TaskVersionType")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTriggerTaskVersionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerTaskVersionsResponseParams struct {
	// Version list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *ListTriggerTaskVersions `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTriggerTaskVersionsResponse struct {
	*tchttp.BaseResponse
	Response *ListTriggerTaskVersionsResponseParams `json:"Response"`
}

func (r *ListTriggerTaskVersionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTaskVersionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// The number of requested data pages. the default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow ID
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Responsible person ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task type
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task status.
	// * N: create. 
	// * Y: scheduling in progress. 
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Submission status.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Bundle id information.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modify the time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListTriggerTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// The number of requested data pages. the default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow ID
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Responsible person ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task type
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task status.
	// * N: create. 
	// * Y: scheduling in progress. 
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Submission status.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Bundle id information.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modify the time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

func (r *ListTriggerTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "TaskName")
	delete(f, "WorkflowId")
	delete(f, "OwnerUin")
	delete(f, "TaskTypeId")
	delete(f, "Status")
	delete(f, "Submit")
	delete(f, "BundleId")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTime")
	delete(f, "CreateTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTriggerTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerTasksResponseParams struct {
	// Task pagination information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *ListTriggerTaskInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTriggerTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListTriggerTasksResponseParams `json:"Response"`
}

func (r *ListTriggerTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListTriggerWorkflowInfo struct {
	// List item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerWorkflowInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of entries in the current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of data entries that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListTriggerWorkflowRunsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filter parameters, workflow name or ID query name: Keyword, workflow ID query name: WorkflowId, folder query name: FolderId, person in charge query name: InChargeUin, workflow execution ID: ExecutionId.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field. the sorting field name is as follows: start time - CreateTime, end time - EndTime.
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListTriggerWorkflowRunsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Filter parameters, workflow name or ID query name: Keyword, workflow ID query name: WorkflowId, folder query name: FolderId, person in charge query name: InChargeUin, workflow execution ID: ExecutionId.
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Sorting field. the sorting field name is as follows: start time - CreateTime, end time - EndTime.
	OrderFields []*OrderField `json:"OrderFields,omitnil,omitempty" name:"OrderFields"`

	// Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListTriggerWorkflowRunsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerWorkflowRunsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "Filters")
	delete(f, "OrderFields")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTriggerWorkflowRunsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerWorkflowRunsResponseParams struct {
	// Workflow run query result.
	Data *TriggerWorkflowRunResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTriggerWorkflowRunsResponse struct {
	*tchttp.BaseResponse
	Response *ListTriggerWorkflowRunsResponseParams `json:"Response"`
}

func (r *ListTriggerWorkflowRunsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerWorkflowRunsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerWorkflowsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Request data page number. default value is 1. valid values: at least 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records per page. the default value is `10`. the minimum value is `10`. the maximum value is `200`.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Search keywords.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Workflow folder.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// bundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Person in Charge ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modify the time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListTriggerWorkflowsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Request data page number. default value is 1. valid values: at least 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records per page. the default value is `10`. the minimum value is `10`. the maximum value is `200`.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Search keywords.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Workflow folder.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// bundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Person in Charge ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modify the time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

func (r *ListTriggerWorkflowsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerWorkflowsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Keyword")
	delete(f, "ParentFolderPath")
	delete(f, "BundleId")
	delete(f, "OwnerUin")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTime")
	delete(f, "CreateTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListTriggerWorkflowsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListTriggerWorkflowsResponseParams struct {
	// Query workflow pagination information.
	Data *ListTriggerWorkflowInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListTriggerWorkflowsResponse struct {
	*tchttp.BaseResponse
	Response *ListTriggerWorkflowsResponseParams `json:"Response"`
}

func (r *ListTriggerWorkflowsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListTriggerWorkflowsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamOpsTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListUpstreamOpsTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Page number
	PageNumber *string `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *string `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListUpstreamOpsTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamOpsTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListUpstreamOpsTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamOpsTasksResponseParams struct {
	// Upstream task details.
	Data *ParentDependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListUpstreamOpsTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListUpstreamOpsTasksResponseParams `json:"Response"`
}

func (r *ListUpstreamOpsTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamOpsTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTaskInstancesRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Page number, int** used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListUpstreamTaskInstancesRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// **Time zone** timeZone, default UTC+8.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// **Page number, int** used in conjunction with pageSize and cannot be less than 1. default value: 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of items to display per page. default: 10. value range: 1-100.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListUpstreamTaskInstancesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTaskInstancesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKey")
	delete(f, "TimeZone")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListUpstreamTaskInstancesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTaskInstancesResponseParams struct {
	// Upstream instance list.
	Data *TaskInstancePage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListUpstreamTaskInstancesResponse struct {
	*tchttp.BaseResponse
	Response *ListUpstreamTaskInstancesResponseParams `json:"Response"`
}

func (r *ListUpstreamTaskInstancesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTaskInstancesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies the data page number of the request. Default value is 1. Valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the data page number of the request. Default value is 1. Valid values: equal to or greater than 1.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListUpstreamTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies the data page number of the request. Default value is 1. Valid values: equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the data page number of the request. Default value is 1. Valid values: equal to or greater than 1.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListUpstreamTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListUpstreamTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTasksResponseParams struct {
	// Upstream task details.
	Data *DependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListUpstreamTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListUpstreamTasksResponseParams `json:"Response"`
}

func (r *ListUpstreamTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTriggerTasksRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListUpstreamTriggerTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListUpstreamTriggerTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTriggerTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListUpstreamTriggerTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListUpstreamTriggerTasksResponseParams struct {
	// Upstream task details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *TriggerDependencyConfigPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListUpstreamTriggerTasksResponse struct {
	*tchttp.BaseResponse
	Response *ListUpstreamTriggerTasksResponseParams `json:"Response"`
}

func (r *ListUpstreamTriggerTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListUpstreamTriggerTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListWorkflowFoldersRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder absolute path, for example /abc/de, if it is root directory, pass /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListWorkflowFoldersRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Parent folder absolute path, for example /abc/de, if it is root directory, pass /.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Data page number, equal to or greater than 1. default 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. valid values: 10 to 200. default: 10.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListWorkflowFoldersRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowFoldersRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ParentFolderPath")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListWorkflowFoldersRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListWorkflowFoldersResponseParams struct {
	// Paginated folder query result.
	Data *WorkflowFolderPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListWorkflowFoldersResponse struct {
	*tchttp.BaseResponse
	Response *ListWorkflowFoldersResponseParams `json:"Response"`
}

func (r *ListWorkflowFoldersResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowFoldersResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ListWorkflowInfo struct {
	// List items.
	Items []*WorkflowInfo `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of pages that meet the query condition.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Current request data page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of entries in the current request.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of data entries that meet the query condition.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`
}

// Predefined struct for user
type ListWorkflowPermissionsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ListWorkflowPermissionsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Authorize entity ID.
	EntityId *string `json:"EntityId,omitnil,omitempty" name:"EntityId"`

	// Authorized entity type, folder/workflow.
	EntityType *string `json:"EntityType,omitnil,omitempty" name:"EntityType"`

	// The page number of the requested data. the default value is 1. the value must be equal to or greater than 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of data records displayed per page. default value is 10. minimum value is 10. maximum value is 200.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func (r *ListWorkflowPermissionsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowPermissionsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "EntityId")
	delete(f, "EntityType")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListWorkflowPermissionsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListWorkflowPermissionsResponseParams struct {
	// Paginated authorization information inquiry results.
	Data *WorkflowPermissionPage `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListWorkflowPermissionsResponse struct {
	*tchttp.BaseResponse
	Response *ListWorkflowPermissionsResponseParams `json:"Response"`
}

func (r *ListWorkflowPermissionsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowPermissionsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListWorkflowsRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Search keywords.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Workflow folder.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow type. valid values: cycle and manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// bundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Owner ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modification time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type ListWorkflowsRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the data page number of the request. default value is 1. valid values: equal to or greater than 1.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. default: 10. value range: 10 to 200.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Search keywords.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Workflow folder.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Workflow type. valid values: cycle and manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// bundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Owner ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modification time interval yyyy-MM-dd HH:MM:ss. fill in two times in the array.
	ModifyTime []*string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Creation time range yyyy-MM-dd HH:MM:ss. two times must be filled in the array.
	CreateTime []*string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

func (r *ListWorkflowsRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowsRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "PageNumber")
	delete(f, "PageSize")
	delete(f, "Keyword")
	delete(f, "ParentFolderPath")
	delete(f, "WorkflowType")
	delete(f, "BundleId")
	delete(f, "OwnerUin")
	delete(f, "CreateUserUin")
	delete(f, "ModifyTime")
	delete(f, "CreateTime")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListWorkflowsRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type ListWorkflowsResponseParams struct {
	// Describes workflow pagination information.
	Data *ListWorkflowInfo `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type ListWorkflowsResponse struct {
	*tchttp.BaseResponse
	Response *ListWorkflowsResponseParams `json:"Response"`
}

func (r *ListWorkflowsResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *ListWorkflowsResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type MetricData struct {
	// Metric name
	// 
	// -ConcurrencyUsage --- concurrency usage rate.
	// -CpuCoreUsage --- cpu utilization.
	// -CpuLoad --- cpu load.
	// -DevelopQueueTask --- number of tasks in the queue.
	// -Number of running develop tasks.
	// -DevelopSchedulingTask --- number of development tasks being scheduled.
	// -DiskUsage --- disk usage.
	// -DiskUsed --- disk used amount.
	// -MaximumConcurrency --- maximum concurrency.
	// -MemoryLoad --- memory load.
	// -MemoryUsage --- memory usage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"`

	// Current value.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SnapshotValue *uint64 `json:"SnapshotValue,omitnil,omitempty" name:"SnapshotValue"`

	// Metric trend.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TrendList []*TrendData `json:"TrendList,omitnil,omitempty" name:"TrendList"`
}

type ModifyAlarmRuleResult struct {
	// Whether update succeeded
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type MonitorWhiteTask struct {
	// Configure the allowlist corresponding to the workflow/project id.
	MonitorObjectId *string `json:"MonitorObjectId,omitnil,omitempty" name:"MonitorObjectId"`

	// Allowlist task list.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`
}

type NotebookSessionInfo struct {
	// Specifies the session ID.
	NotebookSessionId *string `json:"NotebookSessionId,omitnil,omitempty" name:"NotebookSessionId"`

	// Session Name
	NotebookSessionName *string `json:"NotebookSessionName,omitnil,omitempty" name:"NotebookSessionName"`
}

type NotificationFatigue struct {
	// Number of alarms.
	NotifyCount *uint64 `json:"NotifyCount,omitnil,omitempty" name:"NotifyCount"`

	// Alarm interval, in minutes.
	NotifyInterval *uint64 `json:"NotifyInterval,omitnil,omitempty" name:"NotifyInterval"`

	// Do not disturb period, such as example value.
	// [{DaysOfWeek: [1, 2], StartTime: "00:00:00", EndTime: "09:00:00"}]	
	// Specifies notification muting from 00:00 to 09:00 every monday and tuesday.
	QuietIntervals []*AlarmQuietInterval `json:"QuietIntervals,omitnil,omitempty" name:"QuietIntervals"`
}

type OperateResult struct {
	// Operation result 1 success other failures.
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

type OpsAsyncJobDetail struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Operation ID
	AsyncId *string `json:"AsyncId,omitnil,omitempty" name:"AsyncId"`

	// Asynchronous operation type.
	AsyncType *string `json:"AsyncType,omitnil,omitempty" name:"AsyncType"`

	// Asynchronous operation status: initial status: INIT; Running: RUNNING; Success: SUCCESS; failure: FAIL; partially successful: PART_SUCCESS.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Error message.
	// 
	ErrorDesc *string `json:"ErrorDesc,omitnil,omitempty" name:"ErrorDesc"`

	// Total sub-processes.
	TotalSubProcessCount *uint64 `json:"TotalSubProcessCount,omitnil,omitempty" name:"TotalSubProcessCount"`

	// Number of completed sub-processes.
	FinishedSubProcessCount *uint64 `json:"FinishedSubProcessCount,omitnil,omitempty" name:"FinishedSubProcessCount"`

	// Count of successful sub-processes.
	SuccessSubProcessCount *uint64 `json:"SuccessSubProcessCount,omitnil,omitempty" name:"SuccessSubProcessCount"`

	// Operator id.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type OpsAsyncResponse struct {
	// Asynchronous execution record Id.
	AsyncId *string `json:"AsyncId,omitnil,omitempty" name:"AsyncId"`
}

type OpsTaskDepend struct {
	// Task ID
	// 
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// 
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// 
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Project ID.
	// 
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	// 
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Task Status
	// 
	// -N: New
	// 
	// -Y: Scheduling
	// 
	// -F: Offline
	// 
	// -O: Paused
	// 
	// -T: Offlining
	// 
	// -INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Task type Id.
	// * 21:JDBC SQL
	// * 23:TDSQL-PostgreSQL
	// * 26:OfflineSynchronization
	// * 30:Python
	// * 31:PySpark
	// * 33:Impala
	// * 34:Hive SQL
	// * 35:Shell
	// * 36:Spark SQL
	// * 38:Shell Form Mode
	// * 39:Spark
	// * 40:TCHouse-P
	// * 41:Kettle
	// * 42:Tchouse-X
	// * 43:TCHouse-X SQL
	// * 46:DLC Spark
	// * 47:TiOne
	// * 48:Trino
	// * 50:DLC PySpark
	// * 92:MapReduce
	// * 130:Branch Node
	// * 131:Merged Node
	// * 132:Notebook
	// * 133:SSH
	// * 134:StarRocks
	// * 137:For-each
	// * 138:Setats SQL
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task type description.
	// -20 : universal data synchronization.
	//  - 25 :  ETLTaskType
	//  - 26 :  ETLTaskType
	//  - 30 :  python
	//  - 31 :  pyspark
	//  - 34 :  hivesql
	//  - 35 :  shell
	//  - 36 :  sparksql
	//  - 21 :  jdbcsql
	//  - 32 :  dlc
	//  - 33 :  ImpalaTaskType
	//  - 40 :  CDWTaskType
	//  - 41 :  kettle
	//  - 42 :  TCHouse-X
	//  - 43 :  TCHouse-X SQL
	//  - 46 :  dlcsparkTaskType
	//  - 47 :  TiOneMachineLearningTaskType
	//  - 48 :  Trino
	//  - 50 :  DLCPyspark
	//  - 23 :  TencentDistributedSQL
	//  - 39 :  spark
	//  - 92 :  MRTaskType
	//  - 38 :  ShellScript
	//  - 70 :  HiveSQLScrip
	// -130: specifies the branch.
	// -131: specifies the merge.
	// -132: specifies the Notebook explore.
	// -133: specifies the SSH node.
	//  - 134 :  StarRocks
	//  - 137 :  For-each
	// -10000: common custom business.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeDesc *string `json:"TaskTypeDesc,omitnil,omitempty" name:"TaskTypeDesc"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Latest submission time.
	FirstSubmitTime *string `json:"FirstSubmitTime,omitnil,omitempty" name:"FirstSubmitTime"`

	// First running time
	// 
	FirstRunTime *string `json:"FirstRunTime,omitnil,omitempty" name:"FirstRunTime"`

	// Describes the scheduling plan display description information.
	ScheduleDesc *string `json:"ScheduleDesc,omitnil,omitempty" name:"ScheduleDesc"`

	// Task Cycle Type
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Specifies the person in charge.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Execution start time. format: HH:mm, for example 00:00.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Execution end time. format: HH:mm, for example 23:59.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`
}

type OpsWorkflow struct {
	// Number of Tasks
	TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"`

	// folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Workflow folder id.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Specifies the workflow type.
	// -cycle period.
	// -manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Responsible user id, multiple ';' separators.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	// 
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Workflow Status
	// 
	// * ALL_RUNNING: All running (all workflows are in scheduling state)
	// 
	// * ALL_FREEZED: All paused
	// 
	// * ALL_STOPPTED: All stopped
	// 
	// * PART_RUNNING: Partially running (some workflows are running, others not)
	// 
	// * ALL_NO_RUNNING: All not scheduled
	// 
	// * ALL_INVALID: All invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Workflow creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Latest update time. specifies development and production updates.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Last updated by, including development and production updates.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`
}

type OpsWorkflowDetail struct {
	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Specifies the workflow type.
	// -cycle.
	// -manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Creator
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Modification time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Delayed execution time. unit: minute.
	StartupTime *uint64 `json:"StartupTime,omitnil,omitempty" name:"StartupTime"`

	// Effective date. specifies the start date.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Configure end date end date.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Task Cycle Type
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Folder ID
	// 
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Task instance initialization strategy.
	// -T_PLUS_1 (t+1): initializes with a one-day delay.
	// -T_PLUS_0 (t+0): initialize on the day.
	// -T_MINUS_1 (t-1): initialize one day in advance.
	InstanceInitStrategy *string `json:"InstanceInitStrategy,omitnil,omitempty" name:"InstanceInitStrategy"`

	// Specifies the scheduling plan interpretation.
	SchedulerDesc *string `json:"SchedulerDesc,omitnil,omitempty" name:"SchedulerDesc"`

	// First submission time of workflow.
	FirstSubmitTime *string `json:"FirstSubmitTime,omitnil,omitempty" name:"FirstSubmitTime"`

	// Latest submission time of workflow.
	LatestSubmitTime *string `json:"LatestSubmitTime,omitnil,omitempty" name:"LatestSubmitTime"`

	// Workflow Status
	// 
	// * ALL_RUNNING: All running (all workflows are in scheduling state)
	// 
	// * ALL_FREEZED: All paused
	// 
	// * ALL_STOPPTED: All stopped
	// 
	// * PART_RUNNING: Partially running (some workflows are running, others not)
	// 
	// * ALL_NO_RUNNING: All not scheduled
	// 
	// * ALL_INVALID: All invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Person in charge. multiple values are separated by a ";" separator.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`
}

type OpsWorkflows struct {
	// Record list	
	// 	
	Items []*OpsWorkflow `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number of results
	// 
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	// 
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	// 
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

type OrderField struct {
	// Sort field name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Sorting order: ASC|DESC.
	Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"`
}

type OutTaskParameter struct {
	// Parameter name.
	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`

	// Parameter definition.
	ParamValue *string `json:"ParamValue,omitnil,omitempty" name:"ParamValue"`
}

type Page struct {
	// Page size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
}

type PageRoles struct {
	// Role information.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*SystemRole `json:"Items,omitnil,omitempty" name:"Items"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total page number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *int64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type ParamInfo struct {
	// Parameter name.
	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`

	// Parameter value.
	ParamValue *string `json:"ParamValue,omitnil,omitempty" name:"ParamValue"`
}

type ParentDependencyConfigPage struct {
	// Total number of results
	// 
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	// 
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number.
	// 
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	// 
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Paging data
	Items []*OpsTaskDepend `json:"Items,omitnil,omitempty" name:"Items"`
}

// Predefined struct for user
type PauseOpsTasksAsyncRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Whether required to terminate the generated instance.
	KillInstance *bool `json:"KillInstance,omitnil,omitempty" name:"KillInstance"`
}

type PauseOpsTasksAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Whether required to terminate the generated instance.
	KillInstance *bool `json:"KillInstance,omitnil,omitempty" name:"KillInstance"`
}

func (r *PauseOpsTasksAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *PauseOpsTasksAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskIds")
	delete(f, "KillInstance")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "PauseOpsTasksAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type PauseOpsTasksAsyncResponseParams struct {
	// Asynchronous operation result.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type PauseOpsTasksAsyncResponse struct {
	*tchttp.BaseResponse
	Response *PauseOpsTasksAsyncResponseParams `json:"Response"`
}

func (r *PauseOpsTasksAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *PauseOpsTasksAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type PrivilegeInfo struct {
	// Permission name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Display name of the permission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Permission description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Whether read permission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsRead *bool `json:"IsRead,omitnil,omitempty" name:"IsRead"`

	// Whether it is a management permission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsManage *bool `json:"IsManage,omitnil,omitempty" name:"IsManage"`

	// Checks whether the permission is available. used when checking permissions.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Granted *bool `json:"Granted,omitnil,omitempty" name:"Granted"`

	// Specifies the resource it inherits from. used when querying permission details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	InheritedObject *PrivilegeResource `json:"InheritedObject,omitnil,omitempty" name:"InheritedObject"`

	// Not inheritable, used when querying permission details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Inherited *bool `json:"Inherited,omitnil,omitempty" name:"Inherited"`

	// Whether edit permission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsEdit *bool `json:"IsEdit,omitnil,omitempty" name:"IsEdit"`

	// Whether metadata permissions (displayed on the front-end).
	IsMetaDataPermission *bool `json:"IsMetaDataPermission,omitnil,omitempty" name:"IsMetaDataPermission"`

	// CatalogID (deprecated).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CatalogID *string `json:"CatalogID,omitnil,omitempty" name:"CatalogID"`

	// catalog name (deprecated).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Space ID (deprecated).
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkSpaceID *string `json:"WorkSpaceID,omitnil,omitempty" name:"WorkSpaceID"`

	// Space name (deprecated).
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkSpaceName *string `json:"WorkSpaceName,omitnil,omitempty" name:"WorkSpaceName"`
}

type PrivilegeResource struct {
	// Resource type, Catalog, Schema.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"`

	// Resource URI.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceUri *string `json:"ResourceUri,omitnil,omitempty" name:"ResourceUri"`
}

type Project struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project id, english name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Project display name, can be chinese name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Remarks
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Project creator id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreatorUin *string `json:"CreatorUin,omitnil,omitempty" name:"CreatorUin"`

	// Project responsible person id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectOwnerUin *string `json:"ProjectOwnerUin,omitnil,omitempty" name:"ProjectOwnerUin"`

	// Project status: 0: disabled, 1: enabled, -3: disabled, 2: enabled.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Project mode, SIMPLE: SIMPLE mode STANDARD: STANDARD mode.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectModel *string `json:"ProjectModel,omitnil,omitempty" name:"ProjectModel"`
}

type ProjectBrief struct {
	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Data Source List
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*Project `json:"Items,omitnil,omitempty" name:"Items"`

	// Total number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total page number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type ProjectInstanceStatisticsAlarmInfo struct {
	// Alarm type
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: specifies the upward fluctuation alert for failed instances.
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: specifies the downward fluctuation alert for successful instances.
	AlarmType *string `json:"AlarmType,omitnil,omitempty" name:"AlarmType"`

	// Alarm threshold for the downward fluctuation ratio of the number of successful instances.
	// Alarm threshold for the upward fluctuation ratio of the number of failed instances.
	InstanceThresholdCountPercent *uint64 `json:"InstanceThresholdCountPercent,omitnil,omitempty" name:"InstanceThresholdCountPercent"`

	// Cumulative instance number fluctuation threshold.
	InstanceThresholdCount *uint64 `json:"InstanceThresholdCount,omitnil,omitempty" name:"InstanceThresholdCount"`

	// Stability threshold count (debounce configuration statistical cycle count).
	StabilizeThreshold *uint64 `json:"StabilizeThreshold,omitnil,omitempty" name:"StabilizeThreshold"`

	// Stability statistical cycle (anti-shake configuration statistical cycle count).
	StabilizeStatisticsCycle *uint64 `json:"StabilizeStatisticsCycle,omitnil,omitempty" name:"StabilizeStatisticsCycle"`

	// Specifies whether to use cumulative calculation. valid values: false (consecutive), true (cumulative).
	IsCumulant *bool `json:"IsCumulant,omitnil,omitempty" name:"IsCumulant"`

	// Cumulative number of instances for the current day.
	// Specifies the downward fluctuation of failed instance count on the day.
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`
}

type ProjectRequest struct {
	// Project id, english name, starts with a letter, can contain letters, numbers, and underscores, and must not exceed 32 characters.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// The project display name can be a chinese name, starts with a letter, and can contain letters, numbers, and underscores, with a maximum of 32 characters.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Project mode, SIMPLE (default): SIMPLE mode STANDARD: STANDARD mode.
	ProjectModel *string `json:"ProjectModel,omitnil,omitempty" name:"ProjectModel"`
}

type ProjectResult struct {
	// Returned result true/false.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type ProjectUserRole struct {
	// Tenant ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Host Account ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	RootAccountId *string `json:"RootAccountId,omitnil,omitempty" name:"RootAccountId"`

	// User ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Username.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Display name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// User role object.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Roles []*SystemRole `json:"Roles,omitnil,omitempty" name:"Roles"`

	// Whether to create.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsCreator *bool `json:"IsCreator,omitnil,omitempty" name:"IsCreator"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Whether the project leader.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsProjectOwner *bool `json:"IsProjectOwner,omitnil,omitempty" name:"IsProjectOwner"`

	// Mobile number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"`

	// Mailbox.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`
}

type ProjectUsersBrief struct {
	// User collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*ProjectUserRole `json:"Items,omitnil,omitempty" name:"Items"`

	// Pagination size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Total number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total page number.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`
}

type QualityRuleTemplate struct {
	// Rule template ID.
	RuleTemplateId *uint64 `json:"RuleTemplateId,omitnil,omitempty" name:"RuleTemplateId"`

	// Rule template name.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Rule template description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Template type (1: system template, 2: custom).
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Applicable source data object type for rule (1: constant, 2: offline table level, 3: offline field level).
	SourceObjectType *uint64 `json:"SourceObjectType,omitnil,omitempty" name:"SourceObjectType"`

	// Applicable source data object type for rule (1: numeric value, 2: string).
	SourceObjectDataType *uint64 `json:"SourceObjectDataType,omitnil,omitempty" name:"SourceObjectDataType"`

	// Rule template source side content, case-sensitive, JSON structure.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceContent *string `json:"SourceContent,omitnil,omitempty" name:"SourceContent"`

	// Applicable source data type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceEngineTypes []*uint64 `json:"SourceEngineTypes,omitnil,omitempty" name:"SourceEngineTypes"`

	// Quality dimension of rule (1: accuracy, 2: uniqueness, 3: integrity, 4: consistency, 5: timeliness, 6: validity).
	// Note: This field may return null, indicating that no valid values can be obtained.
	QualityDim *uint64 `json:"QualityDim,omitnil,omitempty" name:"QualityDim"`

	// Supported comparison types for rule (1: fixed value comparison, more than, less than, equal to or greater than; 2: fluctuation value comparison, absolute value, rise, drop).
	// Note: This field may return null, indicating that no valid values can be obtained.
	CompareType *uint64 `json:"CompareType,omitnil,omitempty" name:"CompareType"`

	// Referenced times.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CitationCount *uint64 `json:"CitationCount,omitnil,omitempty" name:"CitationCount"`

	// Creator ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserId *uint64 `json:"UserId,omitnil,omitempty" name:"UserId"`

	// Creator nickname.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// Last update time yyyy-MM-dd HH:MM:ss.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Whether to add where parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WhereFlag *bool `json:"WhereFlag,omitnil,omitempty" name:"WhereFlag"`

	// Whether multiple database tables are associated.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MultiSourceFlag *bool `json:"MultiSourceFlag,omitnil,omitempty" name:"MultiSourceFlag"`

	// Custom template SQL expression.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SqlExpression *string `json:"SqlExpression,omitnil,omitempty" name:"SqlExpression"`

	// Template sub-dimension, 0. parent dimension type, 1. consistency: enumeration range consistency, 2. consistency: numeric range consistency, 3. consistency: field data correlation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SubQualityDim *uint64 `json:"SubQualityDim,omitnil,omitempty" name:"SubQualityDim"`

	// sql expression parsing object.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResolvedSqlExpression *QualitySqlExpression `json:"ResolvedSqlExpression,omitnil,omitempty" name:"ResolvedSqlExpression"`

	// Supported data source types.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceTypes []*int64 `json:"DatasourceTypes,omitnil,omitempty" name:"DatasourceTypes"`

	// Created by user id str.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserIdStr *string `json:"UserIdStr,omitnil,omitempty" name:"UserIdStr"`
}

type QualityRuleTemplatePage struct {
	// Number of records.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Template list.
	Items []*QualityRuleTemplate `json:"Items,omitnil,omitempty" name:"Items"`
}

type QualitySqlExpression struct {
	// sql expression table name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TableExpressions []*QualitySqlExpressionTable `json:"TableExpressions,omitnil,omitempty" name:"TableExpressions"`

	// sql expression field name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamExpressions []*string `json:"ParamExpressions,omitnil,omitempty" name:"ParamExpressions"`

	// Add model detection class system template sql placeholder collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SystemTemplateExpressions []*string `json:"SystemTemplateExpressions,omitnil,omitempty" name:"SystemTemplateExpressions"`
}

type QualitySqlExpressionTable struct {
	// sql expression table name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TableExpression *string `json:"TableExpression,omitnil,omitempty" name:"TableExpression"`

	// sql expression field name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ColumnExpression []*string `json:"ColumnExpression,omitnil,omitempty" name:"ColumnExpression"`
}

type ReconciliationStrategyInfo struct {
	// Offline Integration Task Reconciliation Alarms
	// 
	// reconciliationFailure: Alarm when offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Reconciliation Mismatch Threshold - Required when RuleType = reconciliationMismatch. Specifies the threshold for the number of mismatched records in reconciliation. No default value.
	MismatchCount *uint64 `json:"MismatchCount,omitnil,omitempty" name:"MismatchCount"`

	// Task run timeout threshold for reconciliation: hr, defaults to 0.
	Hour *int64 `json:"Hour,omitnil,omitempty" name:"Hour"`

	// Reconciliation task timeout threshold: minutes, defaults to 1.
	Min *int64 `json:"Min,omitnil,omitempty" name:"Min"`
}

// Predefined struct for user
type RegisterLineageRequestParams struct {
	// List of lineage relationships to register.
	Relations []*LineagePair `json:"Relations,omitnil,omitempty" name:"Relations"`
}

type RegisterLineageRequest struct {
	*tchttp.BaseRequest
	
	// List of lineage relationships to register.
	Relations []*LineagePair `json:"Relations,omitnil,omitempty" name:"Relations"`
}

func (r *RegisterLineageRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RegisterLineageRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Relations")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RegisterLineageRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RegisterLineageResponseParams struct {
	// Registration result.
	Data *OperateResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RegisterLineageResponse struct {
	*tchttp.BaseResponse
	Response *RegisterLineageResponseParams `json:"Response"`
}

func (r *RegisterLineageResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RegisterLineageResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type RelateTask struct {
	// Task type
	// 
	// -OfflineIntegration --- offline integration task.
	// -RealtimeIntegration --- real-time integration task.
	// -DataDevelopment - data development task.
	// -DataQuality - data quality tasks.
	// -DataService - data service task.
	// -MetadataCollection --- metadata collection task.
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Number of Tasks
	TaskNum *int64 `json:"TaskNum,omitnil,omitempty" name:"TaskNum"`

	// Task details.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskList []*BriefTask `json:"TaskList,omitnil,omitempty" name:"TaskList"`
}

// Predefined struct for user
type RemoveMemberProjectRoleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Role id list. currently supports project roles:.
	// -308335260274237440 (project administrator).
	// -308335260676890624 (data engineer).
	// -308335260844662784 (operation and maintenance engineer).
	// -308335260945326080 (ordinary member).
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

type RemoveMemberProjectRoleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// User ID
	UserUin *string `json:"UserUin,omitnil,omitempty" name:"UserUin"`

	// Role id list. currently supports project roles:.
	// -308335260274237440 (project administrator).
	// -308335260676890624 (data engineer).
	// -308335260844662784 (operation and maintenance engineer).
	// -308335260945326080 (ordinary member).
	RoleIds []*string `json:"RoleIds,omitnil,omitempty" name:"RoleIds"`
}

func (r *RemoveMemberProjectRoleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RemoveMemberProjectRoleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "UserUin")
	delete(f, "RoleIds")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RemoveMemberProjectRoleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RemoveMemberProjectRoleResponseParams struct {
	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RemoveMemberProjectRoleResponse struct {
	*tchttp.BaseResponse
	Response *RemoveMemberProjectRoleResponseParams `json:"Response"`
}

func (r *RemoveMemberProjectRoleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RemoveMemberProjectRoleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RerunTaskInstancesAsyncRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list. obtain from ListInstances.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`

	// Rerun type. valid values: 1 (self), 3 (child), 2 (self and child). default: 1.
	RerunType *string `json:"RerunType,omitnil,omitempty" name:"RerunType"`

	// Whether to check upstream tasks: ALL (ALL), MAKE_SCOPE (select), NONE (do not check). default is NONE.
	CheckParentType *string `json:"CheckParentType,omitnil,omitempty" name:"CheckParentType"`

	// Downstream Instance Scope
	// 
	// * WORKFLOW: Within the current workflow (default)
	// 
	// * PROJECT: Within the current project
	// 
	// * ALL: Across all projects with cross-workflow dependencies
	SonRangeType *string `json:"SonRangeType,omitnil,omitempty" name:"SonRangeType"`

	// Specifies whether to ignore event monitoring when rerunning.
	SkipEventListening *bool `json:"SkipEventListening,omitnil,omitempty" name:"SkipEventListening"`

	// Specifies the degree of concurrency for a custom instance run. if not configured, use the existing self-dependent task.
	RedefineParallelNum *int64 `json:"RedefineParallelNum,omitnil,omitempty" name:"RedefineParallelNum"`

	// Custom workflow self-dependency. valid values: yes (enable), no (disable). if not configured, use the existing workflow self-dependency.
	RedefineSelfWorkflowDependency *string `json:"RedefineSelfWorkflowDependency,omitnil,omitempty" name:"RedefineSelfWorkflowDependency"`

	// Rerun instance custom parameter.
	RedefineParamList *KVMap `json:"RedefineParamList,omitnil,omitempty" name:"RedefineParamList"`
}

type RerunTaskInstancesAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list. obtain from ListInstances.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`

	// Rerun type. valid values: 1 (self), 3 (child), 2 (self and child). default: 1.
	RerunType *string `json:"RerunType,omitnil,omitempty" name:"RerunType"`

	// Whether to check upstream tasks: ALL (ALL), MAKE_SCOPE (select), NONE (do not check). default is NONE.
	CheckParentType *string `json:"CheckParentType,omitnil,omitempty" name:"CheckParentType"`

	// Downstream Instance Scope
	// 
	// * WORKFLOW: Within the current workflow (default)
	// 
	// * PROJECT: Within the current project
	// 
	// * ALL: Across all projects with cross-workflow dependencies
	SonRangeType *string `json:"SonRangeType,omitnil,omitempty" name:"SonRangeType"`

	// Specifies whether to ignore event monitoring when rerunning.
	SkipEventListening *bool `json:"SkipEventListening,omitnil,omitempty" name:"SkipEventListening"`

	// Specifies the degree of concurrency for a custom instance run. if not configured, use the existing self-dependent task.
	RedefineParallelNum *int64 `json:"RedefineParallelNum,omitnil,omitempty" name:"RedefineParallelNum"`

	// Custom workflow self-dependency. valid values: yes (enable), no (disable). if not configured, use the existing workflow self-dependency.
	RedefineSelfWorkflowDependency *string `json:"RedefineSelfWorkflowDependency,omitnil,omitempty" name:"RedefineSelfWorkflowDependency"`

	// Rerun instance custom parameter.
	RedefineParamList *KVMap `json:"RedefineParamList,omitnil,omitempty" name:"RedefineParamList"`
}

func (r *RerunTaskInstancesAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RerunTaskInstancesAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKeyList")
	delete(f, "RerunType")
	delete(f, "CheckParentType")
	delete(f, "SonRangeType")
	delete(f, "SkipEventListening")
	delete(f, "RedefineParallelNum")
	delete(f, "RedefineSelfWorkflowDependency")
	delete(f, "RedefineParamList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RerunTaskInstancesAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RerunTaskInstancesAsyncResponseParams struct {
	// Asynchronous ID returned by the batch rerun operation. You can use the GetAsyncJob API to retrieve detailed execution information.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RerunTaskInstancesAsyncResponse struct {
	*tchttp.BaseResponse
	Response *RerunTaskInstancesAsyncResponseParams `json:"Response"`
}

func (r *RerunTaskInstancesAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RerunTaskInstancesAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RerunTriggerWorkflowRunAsyncRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Running ID of the workflow.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Running mode: ordinary running defaults to all parameters: 1, advanced execution selectable task scope and running parameters: 2.
	ExecuteType *string `json:"ExecuteType,omitnil,omitempty" name:"ExecuteType"`

	// Custom running parameters filled in when the running type is advanced execution.
	AdvancedParams []*SchedulingParameter `json:"AdvancedParams,omitnil,omitempty" name:"AdvancedParams"`

	// Advanced execution in mode requires the specified task ID set this time.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specify a scheduling resource group. uses the original scheduling resource group in the default configurations when left empty.
	SchedulingResourceGroup *string `json:"SchedulingResourceGroup,omitnil,omitempty" name:"SchedulingResourceGroup"`

	// Specify the integration resource group. uses the original integration resource group in configurations by default when empty.
	IntegrationResourceGroup *string `json:"IntegrationResourceGroup,omitnil,omitempty" name:"IntegrationResourceGroup"`
}

type RerunTriggerWorkflowRunAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Running ID of the workflow.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Running mode: ordinary running defaults to all parameters: 1, advanced execution selectable task scope and running parameters: 2.
	ExecuteType *string `json:"ExecuteType,omitnil,omitempty" name:"ExecuteType"`

	// Custom running parameters filled in when the running type is advanced execution.
	AdvancedParams []*SchedulingParameter `json:"AdvancedParams,omitnil,omitempty" name:"AdvancedParams"`

	// Advanced execution in mode requires the specified task ID set this time.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specify a scheduling resource group. uses the original scheduling resource group in the default configurations when left empty.
	SchedulingResourceGroup *string `json:"SchedulingResourceGroup,omitnil,omitempty" name:"SchedulingResourceGroup"`

	// Specify the integration resource group. uses the original integration resource group in configurations by default when empty.
	IntegrationResourceGroup *string `json:"IntegrationResourceGroup,omitnil,omitempty" name:"IntegrationResourceGroup"`
}

func (r *RerunTriggerWorkflowRunAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RerunTriggerWorkflowRunAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowExecutionId")
	delete(f, "ExecuteType")
	delete(f, "AdvancedParams")
	delete(f, "TaskIds")
	delete(f, "SchedulingResourceGroup")
	delete(f, "IntegrationResourceGroup")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RerunTriggerWorkflowRunAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RerunTriggerWorkflowRunAsyncResponseParams struct {
	// Operation result.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RerunTriggerWorkflowRunAsyncResponse struct {
	*tchttp.BaseResponse
	Response *RerunTriggerWorkflowRunAsyncResponseParams `json:"Response"`
}

func (r *RerunTriggerWorkflowRunAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RerunTriggerWorkflowRunAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type ResourceFile struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Resource file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Source file path.
	LocalPath *string `json:"LocalPath,omitnil,omitempty" name:"LocalPath"`

	// Specifies the COS storage path of the resource object.
	RemotePath *string `json:"RemotePath,omitnil,omitempty" name:"RemotePath"`

	// Specifies the resource file type.
	FileExtensionType *string `json:"FileExtensionType,omitnil,omitempty" name:"FileExtensionType"`

	// Resource size
	Size *string `json:"Size,omitnil,omitempty" name:"Size"`

	// Creator user ID 
	CreatorUserUin *string `json:"CreatorUserUin,omitnil,omitempty" name:"CreatorUserUin"`

	// Creator name
	CreatorUserName *string `json:"CreatorUserName,omitnil,omitempty" name:"CreatorUserName"`

	// Last updated username.
	UpdateUserName *string `json:"UpdateUserName,omitnil,omitempty" name:"UpdateUserName"`

	// Last updated user ID.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// COS bucket.
	BucketName *string `json:"BucketName,omitnil,omitempty" name:"BucketName"`

	// COS region
	CosRegion *string `json:"CosRegion,omitnil,omitempty" name:"CosRegion"`

	// Specifies the resource source mode.
	ResourceSourceMode *string `json:"ResourceSourceMode,omitnil,omitempty" name:"ResourceSourceMode"`

	// Local project ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Local project information.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type ResourceFileItem struct {
	// Resource file ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Resource file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Specifies the resource file type.
	FileExtensionType *string `json:"FileExtensionType,omitnil,omitempty" name:"FileExtensionType"`

	// Resource path
	LocalPath *string `json:"LocalPath,omitnil,omitempty" name:"LocalPath"`
}

type ResourceFilePage struct {
	// Task collection information.
	Items []*ResourceFileItem `json:"Items,omitnil,omitempty" name:"Items"`

	// Total page number
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Total file count.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Current Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Items per Page
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ResourceFolder struct {
	// Resource folder ID.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Creator's name.
	CreateUserName *string `json:"CreateUserName,omitnil,omitempty" name:"CreateUserName"`

	// Specifies the folder path.
	FolderPath *string `json:"FolderPath,omitnil,omitempty" name:"FolderPath"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type ResourceFolderDetail struct {
	// Resource folder ID.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Creator'S name.
	CreateUserName *string `json:"CreateUserName,omitnil,omitempty" name:"CreateUserName"`

	// Folder path.
	FolderPath *string `json:"FolderPath,omitnil,omitempty" name:"FolderPath"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Absolute path of the parent folder, excluding the folder name.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type ResourceFolderPage struct {
	// Resource folder collection information.
	Items []*ResourceFolder `json:"Items,omitnil,omitempty" name:"Items"`

	// Total page number.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Total resource folder count
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Current Page number
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Items per Page
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type ResourceGroupMetrics struct {
	// Resource group specification, indicates the number of cpus.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CpuNum *uint64 `json:"CpuNum,omitnil,omitempty" name:"CpuNum"`

	// Resource group specification related to disk specification.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DiskVolume *uint64 `json:"DiskVolume,omitnil,omitempty" name:"DiskVolume"`

	// Resource group specification related to memory size. unit: gb.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MemSize *uint64 `json:"MemSize,omitnil,omitempty" name:"MemSize"`

	// Resource group lifecycle. unit: day.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LifeCycle *uint64 `json:"LifeCycle,omitnil,omitempty" name:"LifeCycle"`

	// Resource group specification related to highest concurrency.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaximumConcurrency *uint64 `json:"MaximumConcurrency,omitnil,omitempty" name:"MaximumConcurrency"`

	// Resource group status
	// 
	// -0 - initializing.
	// -1. running.
	// -2 --- operation exception.
	// -Releasing.
	// -4 --- released.
	// -Creating.
	// -6 --- creation failed.
	// -7 --- updating.
	// -8 --- update failed.
	// -9 --- expired.
	// - 10 --- release failed.
	// -11 --- in use.
	// -12 --- inactive.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Metric detail.
	MetricSnapshots []*MetricData `json:"MetricSnapshots,omitnil,omitempty" name:"MetricSnapshots"`
}

type ResourceGroupSpecification struct {
	// Resource group specification.
	Specification *string `json:"Specification,omitnil,omitempty" name:"Specification"`

	// Quantity.
	Number *int64 `json:"Number,omitnil,omitempty" name:"Number"`
}

type ResourceNumber struct {
	// Add/Remove an enumeration.
	// 
	// -ADD.
	// -DELETE -- reduce.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Add/Reduce the number of resource packages.
	Quantity *int64 `json:"Quantity,omitnil,omitempty" name:"Quantity"`
}

type ResourcePrivilegeDetail struct {
	// Resource.
	Resource *PrivilegeResource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Subject.
	SubjectDetails []*SubjectInfo `json:"SubjectDetails,omitnil,omitempty" name:"SubjectDetails"`

	// Permission details.
	PermissionDetails []*PrivilegeInfo `json:"PermissionDetails,omitnil,omitempty" name:"PermissionDetails"`
}

type ResourceResult struct {
	// Success status
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`

	// Resource group ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`
}

type ResourceStatus struct {
	// Resource group operation status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type ResourceType struct {
	// Resource group type
	// 
	// -Schedule --- scheduling resource group.
	// -Integration - integration resource group.
	// -DataService - data service resource group.
	ResourceGroupType *string `json:"ResourceGroupType,omitnil,omitempty" name:"ResourceGroupType"`

	// Integration resource group, segmentation of real-time resource group and offline resource group (simultaneous purchase of integration, scheduling, and data service resource group not allowed).
	Integration *IntegrationResource `json:"Integration,omitnil,omitempty" name:"Integration"`

	// Scheduling resource group (simultaneous purchase of integration, scheduling, and data service resource groups is not allowed).
	// 
	// -test specification.
	// -S_small (basic specification).
	// -S_medium (general specifications).
	// -S_large (professional specification).
	// 
	// 
	Schedule *ResourceGroupSpecification `json:"Schedule,omitnil,omitempty" name:"Schedule"`

	// Data service resource group (seamless integration, scheduling, simultaneous purchase not allowed).
	// 
	// -ds_t(Test specification).
	// -ds_s (basic specification).
	// -ds_m (general specifications).
	// -ds_l (professional specification).
	DataService *ResourceGroupSpecification `json:"DataService,omitnil,omitempty" name:"DataService"`
}

// Predefined struct for user
type RevokeDataSourceAuthorizationRequestParams struct {
	// Data source ID.
	DataSourceId *string `json:"DataSourceId,omitnil,omitempty" name:"DataSourceId"`

	// Reclaim the project id or the UserUin parameter. only one can be filled in.
	RevokeProjectId *string `json:"RevokeProjectId,omitnil,omitempty" name:"RevokeProjectId"`

	// Reclaim the list of users under the project in the format: project id_user id.
	// Specifies that only one of the parameters can be filled in with RevokeProjectId.
	// 
	RevokeUser *string `json:"RevokeUser,omitnil,omitempty" name:"RevokeUser"`
}

type RevokeDataSourceAuthorizationRequest struct {
	*tchttp.BaseRequest
	
	// Data source ID.
	DataSourceId *string `json:"DataSourceId,omitnil,omitempty" name:"DataSourceId"`

	// Reclaim the project id or the UserUin parameter. only one can be filled in.
	RevokeProjectId *string `json:"RevokeProjectId,omitnil,omitempty" name:"RevokeProjectId"`

	// Reclaim the list of users under the project in the format: project id_user id.
	// Specifies that only one of the parameters can be filled in with RevokeProjectId.
	// 
	RevokeUser *string `json:"RevokeUser,omitnil,omitempty" name:"RevokeUser"`
}

func (r *RevokeDataSourceAuthorizationRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RevokeDataSourceAuthorizationRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "DataSourceId")
	delete(f, "RevokeProjectId")
	delete(f, "RevokeUser")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RevokeDataSourceAuthorizationRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RevokeDataSourceAuthorizationResponseParams struct {
	// Reclaim data source response body.
	Data *DataSourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RevokeDataSourceAuthorizationResponse struct {
	*tchttp.BaseResponse
	Response *RevokeDataSourceAuthorizationResponseParams `json:"Response"`
}

func (r *RevokeDataSourceAuthorizationResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RevokeDataSourceAuthorizationResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RevokePrivilegesRequestParams struct {
	// Resource array. data source is ResourceType and ResourceUri in the Resource of the ListPermissions API response.
	Resources []*PrivilegeResource `json:"Resources,omitnil,omitempty" name:"Resources"`

	// Authorization revoked principal array. need to pay attention to parameter assembly.
	// 1. for SubjectType and SubjectValues, refer to SubjectType and SubjectValue in SubjectDetails returned by the ListPermissions api.
	// 2. during batch reclamation, the length of the Subjects array must match the length of the Privileges permission point, and the data must have a one-to-one correspondence.
	Subjects []*Subject `json:"Subjects,omitnil,omitempty" name:"Subjects"`

	// Permission point, Name originates from the Name in PermissionDetails of the ListPermissions API response, such as BROWSE, GRANT_PRIVILEGES.
	Privileges []*PrivilegeInfo `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

type RevokePrivilegesRequest struct {
	*tchttp.BaseRequest
	
	// Resource array. data source is ResourceType and ResourceUri in the Resource of the ListPermissions API response.
	Resources []*PrivilegeResource `json:"Resources,omitnil,omitempty" name:"Resources"`

	// Authorization revoked principal array. need to pay attention to parameter assembly.
	// 1. for SubjectType and SubjectValues, refer to SubjectType and SubjectValue in SubjectDetails returned by the ListPermissions api.
	// 2. during batch reclamation, the length of the Subjects array must match the length of the Privileges permission point, and the data must have a one-to-one correspondence.
	Subjects []*Subject `json:"Subjects,omitnil,omitempty" name:"Subjects"`

	// Permission point, Name originates from the Name in PermissionDetails of the ListPermissions API response, such as BROWSE, GRANT_PRIVILEGES.
	Privileges []*PrivilegeInfo `json:"Privileges,omitnil,omitempty" name:"Privileges"`
}

func (r *RevokePrivilegesRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RevokePrivilegesRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Resources")
	delete(f, "Subjects")
	delete(f, "Privileges")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RevokePrivilegesRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RevokePrivilegesResponseParams struct {
	// Return.
	Data *RevokePrivilegesRsp `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RevokePrivilegesResponse struct {
	*tchttp.BaseResponse
	Response *RevokePrivilegesResponseParams `json:"Response"`
}

func (r *RevokePrivilegesResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RevokePrivilegesResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type RevokePrivilegesRsp struct {
	// Result
	OverallSuccess *bool `json:"OverallSuccess,omitnil,omitempty" name:"OverallSuccess"`

	// Detail list.
	Results []*AuthorizeResult `json:"Results,omitnil,omitempty" name:"Results"`
}

// Predefined struct for user
type RunSQLScriptRequestParams struct {
	// Script id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Script content. executed by default if not transmitted. requires Base64 encoding if transmitted.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Advanced running parameter, JSON format base64 encode.
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`
}

type RunSQLScriptRequest struct {
	*tchttp.BaseRequest
	
	// Script id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Script content. executed by default if not transmitted. requires Base64 encoding if transmitted.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Advanced running parameter, JSON format base64 encode.
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`
}

func (r *RunSQLScriptRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RunSQLScriptRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ScriptId")
	delete(f, "ProjectId")
	delete(f, "ScriptContent")
	delete(f, "Params")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RunSQLScriptRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type RunSQLScriptResponseParams struct {
	// Explores data tasks.
	Data *JobDto `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type RunSQLScriptResponse struct {
	*tchttp.BaseResponse
	Response *RunSQLScriptResponseParams `json:"Response"`
}

func (r *RunSQLScriptResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *RunSQLScriptResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type SQLContentActionResult struct {
	// Whether the operation is successful
	// 
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`

	// Folder ID.
	// 
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

type SQLFolderNode struct {
	// Unique identifier
	// 
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// Name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// folder type, script type.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Parent folder path, such as /aaa/bbb/ccc. the path must start with a slash. use / for the root directory.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Whether it is a leaf node.
	// 
	IsLeaf *bool `json:"IsLeaf,omitnil,omitempty" name:"IsLeaf"`

	// Business parameters	
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`

	// Permission scope: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`

	// Node path.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// Creator
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Specifies the permission of the current user for nodes.	
	NodePermission *string `json:"NodePermission,omitnil,omitempty" name:"NodePermission"`

	// Sub-node list
	Children []*SQLFolderNode `json:"Children,omitnil,omitempty" name:"Children"`

	// Owner of the file.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
}

type SQLScript struct {
	// Script id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Script name.
	ScriptName *string `json:"ScriptName,omitnil,omitempty" name:"ScriptName"`

	// Specifies the script owner uin.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Parent folder path, /aaa/bbb/ccc.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Specifies the script configuration.
	ScriptConfig *SQLScriptConfig `json:"ScriptConfig,omitnil,omitempty" name:"ScriptConfig"`

	// Specifies the script content.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`

	// Latest operator.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Project ID.
	// 
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Update time. format: yyyy-MM-dd hh:MM:ss.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Creation time. format: yyyy-MM-dd hh:MM:ss.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`

	// Full path of the node, /aaa/bbb/ccc.ipynb, consists of the name of each node.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`
}

type SQLScriptConfig struct {
	// Data source Id.
	DatasourceId *string `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Specifies the data source environment.
	DatasourceEnv *string `json:"DatasourceEnv,omitnil,omitempty" name:"DatasourceEnv"`

	// Computational resource.
	ComputeResource *string `json:"ComputeResource,omitnil,omitempty" name:"ComputeResource"`

	// Specifies the execution resource group.
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Advanced running parameter variable replacement map-json String,String.
	Params *string `json:"Params,omitnil,omitempty" name:"Params"`

	// Advanced setting. executes configuration parameters. map-json String,String. use Base64 encode.
	AdvanceConfig *string `json:"AdvanceConfig,omitnil,omitempty" name:"AdvanceConfig"`
}

type SQLStopResult struct {
	// Success status
	// 
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type SchedulingParameter struct {

	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`


	ParamValue *string `json:"ParamValue,omitnil,omitempty" name:"ParamValue"`


	ExtProperties *string `json:"ExtProperties,omitnil,omitempty" name:"ExtProperties"`
}

type SchemaInfo struct {
	// Schema GUID
	// Note: This field may return null, indicating that no valid values can be obtained.
	Guid *string `json:"Guid,omitnil,omitempty" name:"Guid"`

	// Schema name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Database name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`
}

type SecurityFilter struct {
	// key
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// values
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

// Predefined struct for user
type SetSuccessTaskInstancesAsyncRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list, can be obtained from ListInstances API.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`
}

type SetSuccessTaskInstancesAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Instance id list, can be obtained from ListInstances API.
	InstanceKeyList []*string `json:"InstanceKeyList,omitnil,omitempty" name:"InstanceKeyList"`
}

func (r *SetSuccessTaskInstancesAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SetSuccessTaskInstancesAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "InstanceKeyList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SetSuccessTaskInstancesAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type SetSuccessTaskInstancesAsyncResponseParams struct {
	// Async id of the batch successful operation. can be used in the GetAsyncJob API to query execution detail.
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type SetSuccessTaskInstancesAsyncResponse struct {
	*tchttp.BaseResponse
	Response *SetSuccessTaskInstancesAsyncResponseParams `json:"Response"`
}

func (r *SetSuccessTaskInstancesAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SetSuccessTaskInstancesAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type SqlCreateResult struct {
	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`
}

// Predefined struct for user
type StartOpsTasksRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Whether to supplement intermediate instances from the last pause to the current time at startup. default false indicates no supplement.
	EnableDataBackfill *bool `json:"EnableDataBackfill,omitnil,omitempty" name:"EnableDataBackfill"`
}

type StartOpsTasksRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Whether to supplement intermediate instances from the last pause to the current time at startup. default false indicates no supplement.
	EnableDataBackfill *bool `json:"EnableDataBackfill,omitnil,omitempty" name:"EnableDataBackfill"`
}

func (r *StartOpsTasksRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StartOpsTasksRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskIds")
	delete(f, "EnableDataBackfill")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StartOpsTasksRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type StartOpsTasksResponseParams struct {
	// Async operation result.
	Data *StartTasks `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type StartOpsTasksResponse struct {
	*tchttp.BaseResponse
	Response *StartOpsTasksResponseParams `json:"Response"`
}

func (r *StartOpsTasksResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StartOpsTasksResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type StartTasks struct {
	// Whether the startup succeeded.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type StopOpsTasksAsyncRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specifies whether to terminate the generated instance. default value: false.
	KillInstance *bool `json:"KillInstance,omitnil,omitempty" name:"KillInstance"`
}

type StopOpsTasksAsyncRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Specifies whether to terminate the generated instance. default value: false.
	KillInstance *bool `json:"KillInstance,omitnil,omitempty" name:"KillInstance"`
}

func (r *StopOpsTasksAsyncRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StopOpsTasksAsyncRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskIds")
	delete(f, "KillInstance")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopOpsTasksAsyncRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type StopOpsTasksAsyncResponseParams struct {
	// AsyncId
	Data *OpsAsyncResponse `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type StopOpsTasksAsyncResponse struct {
	*tchttp.BaseResponse
	Response *StopOpsTasksAsyncResponseParams `json:"Response"`
}

func (r *StopOpsTasksAsyncResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StopOpsTasksAsyncResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type StopSQLScriptRunRequestParams struct {
	// Specifies the query id.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

type StopSQLScriptRunRequest struct {
	*tchttp.BaseRequest
	
	// Specifies the query id.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func (r *StopSQLScriptRunRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StopSQLScriptRunRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "JobId")
	delete(f, "ProjectId")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopSQLScriptRunRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type StopSQLScriptRunResponseParams struct {
	// Execution result
	Data *SQLStopResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type StopSQLScriptRunResponse struct {
	*tchttp.BaseResponse
	Response *StopSQLScriptRunResponseParams `json:"Response"`
}

func (r *StopSQLScriptRunResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *StopSQLScriptRunResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type Subject struct {
	// Type.
	SubjectType *string `json:"SubjectType,omitnil,omitempty" name:"SubjectType"`

	// Subject list.
	SubjectValues []*string `json:"SubjectValues,omitnil,omitempty" name:"SubjectValues"`
}

type SubjectInfo struct {
	// Type.
	SubjectType *string `json:"SubjectType,omitnil,omitempty" name:"SubjectType"`

	// Topic type display name.
	SubjectTypeDisplayName *string `json:"SubjectTypeDisplayName,omitnil,omitempty" name:"SubjectTypeDisplayName"`

	// Subject id.
	SubjectValue *string `json:"SubjectValue,omitnil,omitempty" name:"SubjectValue"`

	// Subject name.
	SubjectValueDisplayName *string `json:"SubjectValueDisplayName,omitnil,omitempty" name:"SubjectValueDisplayName"`
}

// Predefined struct for user
type SubmitTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Version remarks.
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`
}

type SubmitTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Version remarks.
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`
}

func (r *SubmitTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SubmitTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "VersionRemark")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type SubmitTaskResponseParams struct {
	// Success or failure.
	Data *SubmitTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type SubmitTaskResponse struct {
	*tchttp.BaseResponse
	Response *SubmitTaskResponseParams `json:"Response"`
}

func (r *SubmitTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SubmitTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type SubmitTaskResult struct {
	// Generated task version ID.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`

	// Submission status.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type SubmitTriggerTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Version note
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`
}

type SubmitTriggerTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Version note
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`
}

func (r *SubmitTriggerTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SubmitTriggerTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "VersionRemark")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitTriggerTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type SubmitTriggerTaskResponseParams struct {
	// Success or failure.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *SubmitTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type SubmitTriggerTaskResponse struct {
	*tchttp.BaseResponse
	Response *SubmitTriggerTaskResponseParams `json:"Response"`
}

func (r *SubmitTriggerTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *SubmitTriggerTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type SystemRole struct {
	// Role id.
	RoleId *string `json:"RoleId,omitnil,omitempty" name:"RoleId"`

	// Role name
	// Note: This field may return null, indicating that no valid values can be obtained.
	RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`

	// Display name of the role.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RoleDisplayName *string `json:"RoleDisplayName,omitnil,omitempty" name:"RoleDisplayName"`

	// Description
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type TableInfo struct {
	// Data table GUID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Guid *string `json:"Guid,omitnil,omitempty" name:"Guid"`

	// Data table name
	// Note: This field may return null, indicating that no valid values can be obtained.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Table description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Database name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Schema name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SchemaName *string `json:"SchemaName,omitnil,omitempty" name:"SchemaName"`

	// Table type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TableType *string `json:"TableType,omitnil,omitempty" name:"TableType"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update time
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Technical metadata of the table.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TechnicalMetadata *TechnicalMetadata `json:"TechnicalMetadata,omitnil,omitempty" name:"TechnicalMetadata"`

	// Business metadata of the table.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BusinessMetadata *BusinessMetadata `json:"BusinessMetadata,omitnil,omitempty" name:"BusinessMetadata"`

	// Data catalog.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceId *int64 `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Data source type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceType *string `json:"DatasourceType,omitnil,omitempty" name:"DatasourceType"`
}

type Task struct {
	// Describes the basic attributes of the task.
	TaskBaseAttribute *TaskBaseAttribute `json:"TaskBaseAttribute,omitnil,omitempty" name:"TaskBaseAttribute"`

	// Task configurations.
	TaskConfiguration *TaskConfiguration `json:"TaskConfiguration,omitnil,omitempty" name:"TaskConfiguration"`

	// Specifies task scheduling configuration.
	TaskSchedulerConfiguration *TaskSchedulerConfiguration `json:"TaskSchedulerConfiguration,omitnil,omitempty" name:"TaskSchedulerConfiguration"`
}

type TaskBaseAttribute struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Specifies the task type ID.
	// 
	// * 21:JDBC SQL
	// * 23:TDSQL-PostgreSQL
	// * 26:OfflineSynchronization
	// * 30:Python
	// * 31:PySpark
	// * 33:Impala
	// * 34:Hive SQL
	// * 35:Shell
	// * 36:Spark SQL
	// * 38:Shell Form Mode
	// * 39:Spark
	// * 40:TCHouse-P
	// * 41:Kettle
	// * 42:Tchouse-X
	// * 43:TCHouse-X SQL
	// * 46:DLC Spark
	// * 47:TiOne
	// * 48:Trino
	// * 50:DLC PySpark
	// * 92:MapReduce
	// * 130:Branch Node
	// * 131:Merged Node
	// * 132:Notebook
	// * 133:SSH
	// * 134:StarRocks
	// * 137:For-each
	// * 138:Setats SQL
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Last save version number.
	TaskLatestVersionNo *string `json:"TaskLatestVersionNo,omitnil,omitempty" name:"TaskLatestVersionNo"`

	// Last submit version number.
	TaskLatestSubmitVersionNo *string `json:"TaskLatestSubmitVersionNo,omitnil,omitempty" name:"TaskLatestSubmitVersionNo"`

	// Workflow name.
	// 
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Task Status:
	// 
	// * N: New
	// * Y: Scheduling
	// * F: Offline
	// * O: Paused
	// * T: Offlining (in the process of being taken offline)
	// * INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Latest submission status of the task. Specifies whether it has been submitted: true/false.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Task creation time. example: 2022-02-12 11:13:41.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last update time. example: 2025-08-13 16:34:06.
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// Last Updated By (Name).
	LastUpdateUserName *string `json:"LastUpdateUserName,omitnil,omitempty" name:"LastUpdateUserName"`

	// Last operation time.
	LastOpsTime *string `json:"LastOpsTime,omitnil,omitempty" name:"LastOpsTime"`

	// Last operator name.
	LastOpsUserName *string `json:"LastOpsUserName,omitnil,omitempty" name:"LastOpsUserName"`

	// Task owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Last Updated User ID
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Created By User ID
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Task folder path.
	// 
	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type TaskCode struct {
	// Specifies the code content.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// Specifies the size of the code file in bytes.
	CodeFileSize *uint64 `json:"CodeFileSize,omitnil,omitempty" name:"CodeFileSize"`
}

type TaskCodeResult struct {
	// Code content.
	CodeInfo *string `json:"CodeInfo,omitnil,omitempty" name:"CodeInfo"`

	// Code file size. unit: KB.
	CodeFileSize *string `json:"CodeFileSize,omitnil,omitempty" name:"CodeFileSize"`
}

type TaskConfiguration struct {
	// Base64 encoding of the code content.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// Extended attribute configuration list of the task.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskExtConfigurationList []*TaskExtParameter `json:"TaskExtConfigurationList,omitnil,omitempty" name:"TaskExtConfigurationList"`

	// Cluster ID
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	DataCluster *string `json:"DataCluster,omitnil,omitempty" name:"DataCluster"`

	// Specifies the specified running node.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BrokerIp *string `json:"BrokerIp,omitnil,omitempty" name:"BrokerIp"`

	// Resource pool queue name. need to pass through DescribeProjectClusterQueues to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	YarnQueue *string `json:"YarnQueue,omitnil,omitempty" name:"YarnQueue"`

	// Source data source ID, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Data source type, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceType *string `json:"SourceServiceType,omitnil,omitempty" name:"SourceServiceType"`

	// Data source name, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceName *string `json:"SourceServiceName,omitnil,omitempty" name:"SourceServiceName"`

	// Target data source ID, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Target data source type. need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceType *string `json:"TargetServiceType,omitnil,omitempty" name:"TargetServiceType"`

	// Target data source name, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceName *string `json:"TargetServiceName,omitnil,omitempty" name:"TargetServiceName"`

	// Resource group ID: need to pass through DescribeNormalSchedulerExecutorGroups to obtain ExecutorGroupId.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"`

	// Resource group name: need to pass through DescribeNormalSchedulerExecutorGroups to obtain ExecutorGroupName.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"`

	// Specifies the scheduling parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskSchedulingParameterList []*TaskSchedulingParameter `json:"TaskSchedulingParameterList,omitnil,omitempty" name:"TaskSchedulingParameterList"`

	// ID used by the Bundle.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type TaskDataRegistry struct {
	// Data source ID.
	DatasourceId *string `json:"DatasourceId,omitnil,omitempty" name:"DatasourceId"`

	// Database name.
	DatabaseName *string `json:"DatabaseName,omitnil,omitempty" name:"DatabaseName"`

	// Table name
	TableName *string `json:"TableName,omitnil,omitempty" name:"TableName"`

	// Partition name
	PartitionName *string `json:"PartitionName,omitnil,omitempty" name:"PartitionName"`

	// Input output table data type.
	// Input stream:
	//  UPSTREAM,
	// Output stream:
	//   DOWNSTREAM;.
	DataFlowType *string `json:"DataFlowType,omitnil,omitempty" name:"DataFlowType"`

	// Physical unique ID..
	TablePhysicalId *string `json:"TablePhysicalId,omitnil,omitempty" name:"TablePhysicalId"`

	// Database unique id..
	DbGuid *string `json:"DbGuid,omitnil,omitempty" name:"DbGuid"`

	// Unique id of the table.
	TableGuid *string `json:"TableGuid,omitnil,omitempty" name:"TableGuid"`

	// Catalog name
	// Note: This field may return null, indicating that no valid values can be obtained.
	CatalogName *string `json:"CatalogName,omitnil,omitempty" name:"CatalogName"`

	// Data source name
	// Note: This field may return null, indicating that no valid values can be obtained.
	DatasourceName *string `json:"DatasourceName,omitnil,omitempty" name:"DatasourceName"`

	// Catalog (if any).Database (if any).Table name
	// Note: This field may return null, indicating that no valid values can be obtained.
	QualifiedName *string `json:"QualifiedName,omitnil,omitempty" name:"QualifiedName"`
}

type TaskDependDto struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Status:
	// 
	// * N: New
	// 
	// * Y: Scheduling
	// 
	// * F: Offline
	// 
	// * O: Paused
	// 
	// * T: Offlining (in the process of being taken offline)
	// 
	// I* NVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Task type id.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task type description.
	// -20 : universal data synchronization.
	//  - 25 :  ETLTaskType
	//  - 26 :  ETLTaskType
	//  - 30 :  python
	//  - 31 :  pyspark
	//  - 34 :  hivesql
	//  - 35 :  shell
	//  - 36 :  sparksql
	//  - 21 :  jdbcsql
	//  - 32 :  dlc
	//  - 33 :  ImpalaTaskType
	//  - 40 :  CDWTaskType
	//  - 41 :  kettle
	//  - 42 :  TCHouse-X
	//  - 43 :  TCHouse-X SQL
	//  - 46 :  dlcsparkTaskType
	//  - 47 :  TiOneMachineLearningTaskType
	//  - 48 :  Trino
	//  - 50 :  DLCPyspark
	//  - 23 :  TencentDistributedSQL
	//  - 39 :  spark
	//  - 92 :  MRTaskType
	//  - 38 :  ShellScript
	//  - 70 :  HiveSQLScrip
	// -130: branch.
	// -131: merge.
	// -132: Notebook 
	// -133: SSH node.
	//  - 134 :  StarRocks
	//  - 137 :  For-each
	// -10000 : custom business common.
	TaskTypeDesc *string `json:"TaskTypeDesc,omitnil,omitempty" name:"TaskTypeDesc"`

	// Specifies scheduling plan display description information.
	ScheduleDesc *string `json:"ScheduleDesc,omitnil,omitempty" name:"ScheduleDesc"`

	// Task start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Task end time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Delay time.
	DelayTime *uint64 `json:"DelayTime,omitnil,omitempty" name:"DelayTime"`

	// Cycle Type, Default: D
	// Supported types:
	// * O: One-time
	// 
	// * Y: Yearly
	// 
	// * M: Monthly
	// 
	// * W: Weekly
	// 
	// * D: Daily
	// 
	// * H: Hourly
	// 
	// * I: Minute
	// 
	// * C: Crontab expression type
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Owner ID
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Elastic cycle configuration.
	TaskAction *string `json:"TaskAction,omitnil,omitempty" name:"TaskAction"`

	// Initialization strategy for scheduling.
	InitStrategy *string `json:"InitStrategy,omitnil,omitempty" name:"InitStrategy"`

	// crontab expression.
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`
}

type TaskExtParameter struct {
	// Parameter name.
	// 
	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`

	// Parameter value.
	// 
	ParamValue *string `json:"ParamValue,omitnil,omitempty" name:"ParamValue"`
}

type TaskFolder struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`

	// Folder absolute path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`
}

type TaskFolderDetail struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`

	// Absolute path of the folder.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Parent folder absolute path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParentTaskFolderPath *string `json:"ParentTaskFolderPath,omitnil,omitempty" name:"ParentTaskFolderPath"`

	// Folder name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderName *string `json:"TaskFolderName,omitnil,omitempty" name:"TaskFolderName"`

	// Workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task folder type.
	// 
	// | task folder type parameter | task folder type interface corresponding name |.
	// | ---------------- | ------------------------ |
	// ETL | integration task.
	// | EMR              | EMR                      |
	// | DLC              | DLC                      |
	// | SETATS           | SETATS                   |
	// | TDSQL            | TDSQL                    |
	// | TCHOUSE          | TCHOUSE                  |
	// COMMON.
	// TI_ONE | ti-one machine learning.
	// ACROSS_WORKFLOWS | cross-workflow.
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderType *string `json:"TaskFolderType,omitnil,omitempty" name:"TaskFolderType"`
}

type TaskFolderPage struct {
	// Number of data pages, equal to or greater than 1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records to display per page. valid values: `10` to `200`.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of folders.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Folder list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TaskFolder `json:"Items,omitnil,omitempty" name:"Items"`
}

type TaskInstance struct {
	// Project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// Folder ID.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Instance data time.
	CurRunDate *string `json:"CurRunDate,omitnil,omitempty" name:"CurRunDate"`

	// **Instance status**.
	// -WAIT_EVENT: specifies the wait for event.
	// -WAIT_UPSTREAM: waiting for upstream.
	// - WAIT_RUN: awaiting execution.
	// - RUNNING: indicates the instance is RUNNING.
	// - SKIP_RUNNING: SKIP RUNNING.
	// - FAILED_RETRY: RETRY on failure.
	// - EXPIRED: failed.
	// -COMPLETED: success.
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// Specifies the instance type.
	// 
	// -0 indicates the supplementary entry type.
	// -Indicates a periodic instance.
	// -2 indicates a non-periodic instance.
	InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// Owner Uin list.
	OwnerUinList []*string `json:"OwnerUinList,omitnil,omitempty" name:"OwnerUinList"`

	// Cumulative running times.
	TotalRunNum *uint64 `json:"TotalRunNum,omitnil,omitempty" name:"TotalRunNum"`

	// Task type description.
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Task type id.
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task Cycle Type
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Retry count limit when execution fails each time.
	TryLimit *uint64 `json:"TryLimit,omitnil,omitempty" name:"TryLimit"`

	// Specifies the number of retry attempts on failure.
	// When triggered by manual rerun, supplementary entry instance, or other methods, the count will be reset to 0 and start again.
	Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"`

	// Operation start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Operation completion time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Time spent, in milliseconds.
	CostTime *int64 `json:"CostTime,omitnil,omitempty" name:"CostTime"`

	// Scheduled dispatch time.
	SchedulerTime *string `json:"SchedulerTime,omitnil,omitempty" name:"SchedulerTime"`

	// Latest update time of the instance. specifies the time format as yyyy-MM-dd HH:MM:ss.
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// Execution resource group ID.
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Resource group name.
	ExecutorGroupName *string `json:"ExecutorGroupName,omitnil,omitempty" name:"ExecutorGroupName"`
}

type TaskInstanceDetail struct {
	// Specifies the project id.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// **Instance unique id**.
	InstanceKey *string `json:"InstanceKey,omitnil,omitempty" name:"InstanceKey"`

	// Folder ID.
	// 
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Specifies the folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// 
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Task ID
	// 
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// 
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Specifies the id corresponding to taskType.
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task type
	// 
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Task Cycle Type
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Specifies the instance data time.
	CurRunDate *string `json:"CurRunDate,omitnil,omitempty" name:"CurRunDate"`

	// Instance status.
	// -WAIT_EVENT: wait for event.
	// -WAIT_UPSTREAM: waiting for upstream.
	// - WAIT_RUN: awaiting execution.
	// -RUNNING. specifies the running status.
	// - SKIP_RUNNING: specifies whether to SKIP RUNNING.
	// - FAILED_RETRY: RETRY on failure.
	// -EXPIRED: indicates a failure.
	// -COMPLETED: success.
	InstanceState *string `json:"InstanceState,omitnil,omitempty" name:"InstanceState"`

	// Specifies the instance type.
	// 
	// -0 indicates the replenishment type.
	// -Indicates a periodic instance.
	// -2 indicates a non-periodic instance.
	InstanceType *uint64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// owner uin list.
	// 
	OwnerUinList []*string `json:"OwnerUinList,omitnil,omitempty" name:"OwnerUinList"`

	// Cumulative running times.
	TotalRunNum *uint64 `json:"TotalRunNum,omitnil,omitempty" name:"TotalRunNum"`

	// Retry count limit when execution fails each time.
	TryLimit *uint64 `json:"TryLimit,omitnil,omitempty" name:"TryLimit"`

	// **Failure Retry Count** - The number of retry attempts after a failure. When the instance is triggered again through methods such as manual rerun or backfill, this counter is reset to 0 and starts counting again.
	Tries *uint64 `json:"Tries,omitnil,omitempty" name:"Tries"`

	// Time spent, in milliseconds.
	CostTime *int64 `json:"CostTime,omitnil,omitempty" name:"CostTime"`

	// Start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Operation completion time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Scheduled dispatch time.
	SchedulerTime *string `json:"SchedulerTime,omitnil,omitempty" name:"SchedulerTime"`

	// Latest update time of the instance. format: yyyy-MM-dd HH:MM:ss.
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// Execution resource group ID.
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Resource group name.
	ExecutorGroupName *string `json:"ExecutorGroupName,omitnil,omitempty" name:"ExecutorGroupName"`

	// Brief task failure information.
	JobErrorMsg *string `json:"JobErrorMsg,omitnil,omitempty" name:"JobErrorMsg"`
}

type TaskInstanceExecutions struct {
	// Total number of results
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Record list
	Items []*InstanceExecution `json:"Items,omitnil,omitempty" name:"Items"`

	// Page number.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Pagination size.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

type TaskInstancePage struct {
	// **Total number of entries**.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// **Total number of pages.**
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number.
	// 
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of entries per page.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Data List
	// 
	Items []*TaskInstance `json:"Items,omitnil,omitempty" name:"Items"`
}

type TaskOpsInfo struct {
	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Owner id
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task Status
	// 
	// -N: New
	// 
	// -Y: Scheduling
	// 
	// -F: Offline
	// 
	// -O: Paused
	// 
	// -T: Offlining
	// 
	// -INVALID: Invalid
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Workflow id.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Specifies the name of the updater.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Task type Id.
	// * 21:JDBC SQL
	// * 23:TDSQL-PostgreSQL
	// * 26:OfflineSynchronization
	// * 30:Python
	// * 31:PySpark
	// * 33:Impala
	// * 34:Hive SQL
	// * 35:Shell
	// * 36:Spark SQL
	// * 38:Shell Form Mode
	// * 39:Spark
	// * 40:TCHouse-P
	// * 41:Kettle
	// * 42:Tchouse-X
	// * 43:TCHouse-X SQL
	// * 46:DLC Spark
	// * 47:TiOne
	// * 48:Trino
	// * 50:DLC PySpark
	// * 92:MapReduce
	// * 130:Branch Node
	// * 131:Merged Node
	// * 132:Notebook
	// * 133:SSH
	// * 134:StarRocks
	// * 137:For-each
	// * 138:Setats SQL
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task type description.
	// -Universal data synchronization.
	//  - ETLTaskType
	//  - ETLTaskType
	//  - python
	//  - pyspark
	//  - HiveSQLTaskType
	//  - shell
	//  - SparkSQLTaskType
	//  - JDBCSQLTaskType
	//  - DLCTaskType
	//  - ImpalaTaskType
	//  - CDWTaskType
	//  - kettle
	//  - DLCSparkTaskType
	// -TiOne machine learning.
	//  - TrinoTaskType
	//  - DLCPyspark
	//  - spark
	//  - mr
	// -Specifies the shell script.
	// -hivesql script.
	// -Specifies common custom business.
	TaskTypeDesc *string `json:"TaskTypeDesc,omitnil,omitempty" name:"TaskTypeDesc"`

	// Task Cycle Type
	// 
	// * ONEOFF_CYCLE: One-time
	// 
	// * YEAR_CYCLE: Yearly
	// 
	// * MONTH_CYCLE: Monthly
	// 
	// * WEEK_CYCLE: Weekly
	// 
	// * DAY_CYCLE: Daily
	// 
	// * HOUR_CYCLE: Hourly
	// 
	// * MINUTE_CYCLE: Minute-level
	// 
	// * CRONTAB_CYCLE: Crontab expression-based
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Resource group ID
	ExecutorGroupId *string `json:"ExecutorGroupId,omitnil,omitempty" name:"ExecutorGroupId"`

	// Scheduling description.
	ScheduleDesc *string `json:"ScheduleDesc,omitnil,omitempty" name:"ScheduleDesc"`

	// Resource group name.
	ExecutorGroupName *string `json:"ExecutorGroupName,omitnil,omitempty" name:"ExecutorGroupName"`

	// Latest scheduling submission time.
	LastSchedulerCommitTime *string `json:"LastSchedulerCommitTime,omitnil,omitempty" name:"LastSchedulerCommitTime"`

	// First execution time.
	FirstRunTime *string `json:"FirstRunTime,omitnil,omitempty" name:"FirstRunTime"`

	// Most recent submission time.
	FirstSubmitTime *string `json:"FirstSubmitTime,omitnil,omitempty" name:"FirstSubmitTime"`

	// Creation time.
	// 
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Latest update time.
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`
}

type TaskSchedulerConfiguration struct {
	// Period type. Supported types:
	// 
	// ONEOFF_CYCLE: specifies a one-time cycle.
	// YEAR_CYCLE: specifies the year cycle.
	// MONTH_CYCLE: specifies the monthly cycle.
	// WEEK_CYCLE: specifies the week cycle.
	// DAY_CYCLE: specifies the day cycle.
	// HOUR_CYCLE: specifies the hour cycle.
	// MINUTE_CYCLE: specifies the minute cycle.
	// CRONTAB_CYCLE: specifies the crontab expression type
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Time zone.
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// 0 2 3 1,L,2 * ?	
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`

	// Effective date.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End date
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Execution time. the left-closed interval.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Execution time. right closed interval.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Whether calendar scheduling is enabled. Valid values: 1 (enabled), 0 (disabled).
	CalendarOpen *string `json:"CalendarOpen,omitnil,omitempty" name:"CalendarOpen"`

	// Calendar id.
	CalendarId *string `json:"CalendarId,omitnil,omitempty" name:"CalendarId"`

	// Calendar name, which needs to be obtained from DescribeScheduleCalendarPageList API.
	CalendarName *string `json:"CalendarName,omitnil,omitempty" name:"CalendarName"`

	// Self-Dependent. Valid values: parallel, serial, orderly. Default value: serial. 
	SelfDepend *string `json:"SelfDepend,omitnil,omitempty" name:"SelfDepend"`

	// Specifies the upstream dependency array.
	UpstreamDependencyConfigList []*DependencyTaskBrief `json:"UpstreamDependencyConfigList,omitnil,omitempty" name:"UpstreamDependencyConfigList"`

	// Downstream dependency array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DownstreamDependencyConfigList []*DependencyTaskBrief `json:"DownstreamDependencyConfigList,omitnil,omitempty" name:"DownstreamDependencyConfigList"`

	// Array of Events
	EventListenerList []*EventListener `json:"EventListenerList,omitnil,omitempty" name:"EventListenerList"`

	// Rerun & Refill Configuration: Default: ALL;
	// 
	// * ALL: Rerun or refill is allowed regardless of whether the task succeeds or fails.
	// 
	// * FAILURE: Rerun or refill is allowed only if the task fails; not allowed if the task succeeds.
	// 
	// * NONE: Rerun or refill is not allowed regardless of success or failure.
	AllowRedoType *string `json:"AllowRedoType,omitnil,omitempty" name:"AllowRedoType"`

	// Output parameter list.
	ParamTaskOutList []*OutTaskParameter `json:"ParamTaskOutList,omitnil,omitempty" name:"ParamTaskOutList"`

	// Input parameter list.
	ParamTaskInList []*InTaskParameter `json:"ParamTaskInList,omitnil,omitempty" name:"ParamTaskInList"`

	// Output registration.
	TaskOutputRegistryList []*TaskDataRegistry `json:"TaskOutputRegistryList,omitnil,omitempty" name:"TaskOutputRegistryList"`

	// **Instance generation policy**.
	// T_PLUS_0: specifies t+0 generation. default policy.
	// T_PLUS_1: specifies t+1 generation.
	InitStrategy *string `json:"InitStrategy,omitnil,omitempty" name:"InitStrategy"`

	// Scheduling type: 0 normal scheduling 1 dry-run scheduling, defaults to 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	//
	// Deprecated: ScheduleRunType is deprecated.
	ScheduleRunType *int64 `json:"ScheduleRunType,omitnil,omitempty" name:"ScheduleRunType"`

	// (Deprecated, recommend using DownstreamDependencyConfigList) downstream dependency array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	//
	// Deprecated: DownStreamDependencyConfigList is deprecated.
	DownStreamDependencyConfigList []*DependencyTaskBrief `json:"DownStreamDependencyConfigList,omitnil,omitempty" name:"DownStreamDependencyConfigList"`

	// Task scheduling priority. valid values: 4 (high), 5 (medium), 6 (low). default: 6.
	//
	// Deprecated: RunPriority is deprecated.
	RunPriority *uint64 `json:"RunPriority,omitnil,omitempty" name:"RunPriority"`

	// Retry policy. retry wait time in minutes. default: 5.
	//
	// Deprecated: RetryWait is deprecated.
	RetryWait *int64 `json:"RetryWait,omitnil,omitempty" name:"RetryWait"`

	// Specifies the maximum attempts of the retry policy. default: 4.
	//
	// Deprecated: MaxRetryAttempts is deprecated.
	MaxRetryAttempts *int64 `json:"MaxRetryAttempts,omitnil,omitempty" name:"MaxRetryAttempts"`

	// Timeout Handling Policy: Execution Timeout (in minutes), default: -1
	//
	// Deprecated: ExecutionTTL is deprecated.
	ExecutionTTL *int64 `json:"ExecutionTTL,omitnil,omitempty" name:"ExecutionTTL"`

	// Timeout Handling Policy: Wait Duration Timeout  (in minutes), default: -1
	//
	// Deprecated: WaitExecutionTotalTTL is deprecated.
	WaitExecutionTotalTTL *string `json:"WaitExecutionTotalTTL,omitnil,omitempty" name:"WaitExecutionTotalTTL"`

	// Scheduling type: 0 normal scheduling 1 dry-run scheduling, defaults to 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ScheduleType *int64 `json:"ScheduleType,omitnil,omitempty" name:"ScheduleType"`

	// Task scheduling priority execution priority 4 high 5 medium 6 low, default: 6.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RunPriorityType *int64 `json:"RunPriorityType,omitnil,omitempty" name:"RunPriorityType"`

	// Retry policy retry wait time, in minutes: default: 5.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RetryWaitMinute *int64 `json:"RetryWaitMinute,omitnil,omitempty" name:"RetryWaitMinute"`

	// Retry policy maximum attempts. default: 4.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxRetryNumber *int64 `json:"MaxRetryNumber,omitnil,omitempty" name:"MaxRetryNumber"`

	// Timeout handling strategy runtime timeout (unit: minutes) defaults to -1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionTTLMinute *int64 `json:"ExecutionTTLMinute,omitnil,omitempty" name:"ExecutionTTLMinute"`

	// Timeout handling strategy wait for the total duration timeout (measurement unit: minutes) defaults to -1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WaitExecutionTotalTTLMinute *int64 `json:"WaitExecutionTotalTTLMinute,omitnil,omitempty" name:"WaitExecutionTotalTTLMinute"`
}

type TaskSchedulingParameter struct {
	// Parameter name.
	ParamKey *string `json:"ParamKey,omitnil,omitempty" name:"ParamKey"`

	// Parameter value.
	ParamValue *string `json:"ParamValue,omitnil,omitempty" name:"ParamValue"`
}

type TaskVersion struct {
	// Creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Version number
	VersionNum *string `json:"VersionNum,omitnil,omitempty" name:"VersionNum"`

	// Creator ID
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Saved version ID
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`

	// Version description
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`

	// Approval status (only for submit version).
	ApproveStatus *string `json:"ApproveStatus,omitnil,omitempty" name:"ApproveStatus"`

	// Production status (only for submit version).
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Approver (only for submit version).
	ApproveUserUin *string `json:"ApproveUserUin,omitnil,omitempty" name:"ApproveUserUin"`
}

type TaskVersionDetail struct {
	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Version number
	// 
	VersionNum *string `json:"VersionNum,omitnil,omitempty" name:"VersionNum"`

	// Specifies the version creator.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Specifies the version Id to save.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`

	// Version description
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`

	// Approval status (only for submit version).
	ApproveStatus *string `json:"ApproveStatus,omitnil,omitempty" name:"ApproveStatus"`

	// Production status  (only for submit version).
	ApproveTime *string `json:"ApproveTime,omitnil,omitempty" name:"ApproveTime"`

	// Describes the task detail of the version.
	Task *Task `json:"Task,omitnil,omitempty" name:"Task"`

	// Approver Id.
	ApproveUserUin *string `json:"ApproveUserUin,omitnil,omitempty" name:"ApproveUserUin"`
}

type TechnicalMetadata struct {
	// Responsible person.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Owner *string `json:"Owner,omitnil,omitempty" name:"Owner"`

	// Data table location.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Location *string `json:"Location,omitnil,omitempty" name:"Location"`

	// Storage size
	// Note: This field may return null, indicating that no valid values can be obtained.
	StorageSize *int64 `json:"StorageSize,omitnil,omitempty" name:"StorageSize"`
}

type TimeOutStrategyInfo struct {
	// Timeout Alarm Configuration
	// 
	// Expected Execution Duration Timeout - The actual runtime exceeds the estimated execution duration.
	// 
	// Expected Completion Time Timeout - The task has not completed by the estimated completion time.
	// 
	// Expected Scheduling Wait Timeout - The waiting time in the scheduling queue exceeds the estimated wait time.
	// 
	// Cycle-Incomplete Timeout - The task was expected to complete within its scheduled cycle but did not.
	RuleType *int64 `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// Timeout Value Configuration Type
	// 
	// 1: Fixed value (specified manually)
	// 
	// 2: Average value (calculated automatically)
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// Timeout Specified Value (hours) - The timeout threshold in hours. Default is 1.
	Hour *uint64 `json:"Hour,omitnil,omitempty" name:"Hour"`

	// Timeout Specified Value (minutes) - The timeout threshold in minutes. Default is 1.
	Min *int64 `json:"Min,omitnil,omitempty" name:"Min"`

	// The time zone configuration corresponding to the timeout, such as UTC+7, defaults to UTC+8.
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// Seconds (for Spark Streaming policy).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Second *int64 `json:"Second,omitnil,omitempty" name:"Second"`

	// Count (for Spark Streaming retry count limit policy, ruleType=10).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Times *int64 `json:"Times,omitnil,omitempty" name:"Times"`

	// Alarm trigger frequency (for Spark Streaming policy ruleType=8/9/10).
	// Unit: minute. value range: 5-1440.
	// After an Alarm is triggered, pause detection during this period to avoid an Alarm storm.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AlarmTriggerFrequency *int64 `json:"AlarmTriggerFrequency,omitnil,omitempty" name:"AlarmTriggerFrequency"`
}

type TrendData struct {
	// Timestamp.
	Timestamp *uint64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`

	// Metric value.
	Value *uint64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type TriggerDependencyConfigPage struct {
	// Total number of data entries that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total number of pages that meet the query condition.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Current request data page.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of entries in the current request.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Paging data
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerTaskDependDto `json:"Items,omitnil,omitempty" name:"Items"`
}

type TriggerTask struct {
	// Task basic attributes.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerTaskBaseAttribute *TriggerTaskBaseAttribute `json:"TriggerTaskBaseAttribute,omitnil,omitempty" name:"TriggerTaskBaseAttribute"`

	// Task configurations.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerTaskConfiguration *TriggerTaskConfiguration `json:"TriggerTaskConfiguration,omitnil,omitempty" name:"TriggerTaskConfiguration"`

	// Task scheduling configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerTaskSchedulerConfiguration *TriggerTaskSchedulerConfiguration `json:"TriggerTaskSchedulerConfiguration,omitnil,omitempty" name:"TriggerTaskSchedulerConfiguration"`
}

type TriggerTaskBaseAttribute struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task type ID.
	// 
	// - 26:OfflineSynchronization
	// - 30:Python
	// - 32:DLC SQL
	// - 35:Shell
	// - 38:Shell Form Mode
	// - 46:DLC Spark
	// - 50:DLC PySpark
	// - 130:Branch Node
	// - 131:Merged Node
	// - 132:Notebook
	// - 133:SSH
	// - 137:For-each
	// - 139:DLC Spark Streaming
	// - 140:Run Workflow
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Last saved version no.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskLatestVersionNo *string `json:"TaskLatestVersionNo,omitnil,omitempty" name:"TaskLatestVersionNo"`

	// Version no. of last submission.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskLatestSubmitVersionNo *string `json:"TaskLatestSubmitVersionNo,omitnil,omitempty" name:"TaskLatestSubmitVersionNo"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Task status:.
	// * N: create.
	// * Y: scheduling in progress.
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Latest submission status of the task, whether it has been submitted: true/false.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Submit *bool `json:"Submit,omitnil,omitempty" name:"Submit"`

	// Task creation time, for example: 2022-02-12 11:13:41.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last update time, for example: 2025-08-13 16:34:06.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"`

	// Last updated by name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LastUpdateUserName *string `json:"LastUpdateUserName,omitnil,omitempty" name:"LastUpdateUserName"`

	// Last maintenance time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LastOpsTime *string `json:"LastOpsTime,omitnil,omitempty" name:"LastOpsTime"`

	// Last operator name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LastOpsUserName *string `json:"LastOpsUserName,omitnil,omitempty" name:"LastOpsUserName"`

	// Task owner ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Latest update uid.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Create a user ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Task folder path.
	// 
	// Note:.
	// 
	// Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type TriggerTaskBrief struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Workflow id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Responsible person user UIN.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserUinInCharge *string `json:"UserUinInCharge,omitnil,omitempty" name:"UserUinInCharge"`

	// Responsible person's name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserNameInCharge *string `json:"UserNameInCharge,omitnil,omitempty" name:"UserNameInCharge"`

	// Folder ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Task type ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionState *string `json:"ExecutionState,omitnil,omitempty" name:"ExecutionState"`

	// Start time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`
}

type TriggerTaskConfiguration struct {
	// Base64 encoding of the code content.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CodeContent *string `json:"CodeContent,omitnil,omitempty" name:"CodeContent"`

	// Task extended attribute configuration list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskExtConfigurationList []*TaskExtParameter `json:"TaskExtConfigurationList,omitnil,omitempty" name:"TaskExtConfigurationList"`

	// Cluster ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	DataCluster *string `json:"DataCluster,omitnil,omitempty" name:"DataCluster"`

	// Specified running node.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BrokerIp *string `json:"BrokerIp,omitnil,omitempty" name:"BrokerIp"`

	// Resource pool queue name. need to pass through DescribeProjectClusterQueues to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	YarnQueue *string `json:"YarnQueue,omitnil,omitempty" name:"YarnQueue"`

	// Source data source ID, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceId *string `json:"SourceServiceId,omitnil,omitempty" name:"SourceServiceId"`

	// Data source type, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceType *string `json:"SourceServiceType,omitnil,omitempty" name:"SourceServiceType"`

	// Data source name, need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SourceServiceName *string `json:"SourceServiceName,omitnil,omitempty" name:"SourceServiceName"`

	// Target data source ID. need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceId *string `json:"TargetServiceId,omitnil,omitempty" name:"TargetServiceId"`

	// Target data source type. need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceType *string `json:"TargetServiceType,omitnil,omitempty" name:"TargetServiceType"`

	// Target data source name. need to pass through DescribeDataSourceWithoutInfo to obtain.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TargetServiceName *string `json:"TargetServiceName,omitnil,omitempty" name:"TargetServiceName"`

	// Resource group ID: need to pass through DescribeNormalSchedulerExecutorGroups to obtain ExecutorGroupId.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"`

	// Resource group name: need to pass through DescribeNormalSchedulerExecutorGroups to obtain ExecutorGroupName.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"`

	// Scheduling parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskSchedulingParameterList []*TaskSchedulingParameter `json:"TaskSchedulingParameterList,omitnil,omitempty" name:"TaskSchedulingParameterList"`

	// ID used by the Bundle.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type TriggerTaskDAGBrief struct {
	// Task information collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerTasks []*TriggerTaskBrief `json:"TriggerTasks,omitnil,omitempty" name:"TriggerTasks"`

	// Task connection information collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerTaskLinks []*TriggerTaskLinkBrief `json:"TriggerTaskLinks,omitnil,omitempty" name:"TriggerTaskLinks"`
}

type TriggerTaskDependDto struct {
	// Task ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task status:.
	// -Running.
	// -Create.
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Task type id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeId *uint64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Task type description.
	// -20: common data sync.
	//  - 25 :  ETLTaskType
	//  - 26 :  ETLTaskType
	//  - 30 :  python
	//  - 31 :  pyspark
	//  - 34 :  hivesql
	//  - 35 :  shell
	//  - 36 :  sparksql
	//  - 21 :  jdbcsql
	//  - 32 :  dlc
	//  - 33 :  ImpalaTaskType
	//  - 40 :  CDWTaskType
	//  - 41 :  kettle
	//  - 42 :  TCHouse-X
	//  - 43 :  TCHouse-X SQL
	//  - 46 :  dlcsparkTaskType
	//  - 47 :  TiOneMachineLearningTaskType
	//  - 48 :  Trino
	//  - 50 :  DLCPyspark
	//  - 23 :  TencentDistributedSQL
	//  - 39 :  spark
	//  - 92 :  MRTaskType
	//  - 38 :  ShellScript
	//  - 70 :  HiveSQLScrip
	// -130: branch.
	// -131: merge.
	// -132: Notebook explore.
	// -133: SSH node.
	//  - 134 :  StarRocks
	//  - 137 :  For-each
	// -10000 : custom business common.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeDesc *string `json:"TaskTypeDesc,omitnil,omitempty" name:"TaskTypeDesc"`

	// Person in charge.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
}

type TriggerTaskLinkBrief struct {
	// Connection ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LinkId *string `json:"LinkId,omitnil,omitempty" name:"LinkId"`

	// Workflow ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow version ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowVersionId *string `json:"WorkflowVersionId,omitnil,omitempty" name:"WorkflowVersionId"`

	// Upstream task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpstreamTaskId *string `json:"UpstreamTaskId,omitnil,omitempty" name:"UpstreamTaskId"`

	// Downstream task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DownstreamTaskId *string `json:"DownstreamTaskId,omitnil,omitempty" name:"DownstreamTaskId"`
}

type TriggerTaskRunBrief struct {
	// Running ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionId *string `json:"ExecutionId,omitnil,omitempty" name:"ExecutionId"`

	// Execution status: FAILED (FAILED to run), SUCCESS (executed successfully), PENDING (waiting), SKIP (SKIP RUNNING), RUNNING (RUNNING).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionState *string `json:"ExecutionState,omitnil,omitempty" name:"ExecutionState"`

	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Running ID of the workflow.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionId *string `json:"WorkflowExecutionId,omitnil,omitempty" name:"WorkflowExecutionId"`

	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"`

	// Task version.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskVersionId *string `json:"TaskVersionId,omitnil,omitempty" name:"TaskVersionId"`

	// Trigger Type
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerType *string `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// Waiting duration, in seconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WaitTime *string `json:"WaitTime,omitnil,omitempty" name:"WaitTime"`

	// Associated resource group.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroup *string `json:"ResourceGroup,omitnil,omitempty" name:"ResourceGroup"`

	// Error code
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorCode *string `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"`

	// Operating account.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecuteUserUin *string `json:"ExecuteUserUin,omitnil,omitempty" name:"ExecuteUserUin"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreaterUin *string `json:"CreaterUin,omitnil,omitempty" name:"CreaterUin"`

	// Execution ID of the execution platform.
	// Note: This field may return null, indicating that no valid values can be obtained.
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// Creation Timestamp
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Update Timestamp
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Task completion time dependency.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DependenceFinishedTime *string `json:"DependenceFinishedTime,omitnil,omitempty" name:"DependenceFinishedTime"`

	// Task delivery time to the execution platform.
	// Note: This field may return null, indicating that no valid values can be obtained.
	QueueStartTime *string `json:"QueueStartTime,omitnil,omitempty" name:"QueueStartTime"`

	// Started waiting for source time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PendingStartTime *string `json:"PendingStartTime,omitnil,omitempty" name:"PendingStartTime"`

	// Start time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Running end time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Queuing time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	QueueCostTime *string `json:"QueueCostTime,omitnil,omitempty" name:"QueueCostTime"`

	// Running time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionTime *string `json:"ExecutionTime,omitnil,omitempty" name:"ExecutionTime"`

	// Total time spent.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AllCostTime *string `json:"AllCostTime,omitnil,omitempty" name:"AllCostTime"`

	// Time zone.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TimeZone *string `json:"TimeZone,omitnil,omitempty" name:"TimeZone"`

	// Depends on the upstream task ID list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	DependOnList []*string `json:"DependOnList,omitnil,omitempty" name:"DependOnList"`

	// Running parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RunParams *string `json:"RunParams,omitnil,omitempty" name:"RunParams"`

	// Task extension information, including script path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeExtensions *string `json:"TaskTypeExtensions,omitnil,omitempty" name:"TaskTypeExtensions"`

	// Retry count. it indicates the first run when set to 0.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RetryTimes *uint64 `json:"RetryTimes,omitnil,omitempty" name:"RetryTimes"`

	// Left coordinate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	LeftCoordinate *float64 `json:"LeftCoordinate,omitnil,omitempty" name:"LeftCoordinate"`

	// Top coordinate.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TopCoordinate *float64 `json:"TopCoordinate,omitnil,omitempty" name:"TopCoordinate"`

	// Resource group ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// Error code description
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorCodeStr *string `json:"ErrorCodeStr,omitnil,omitempty" name:"ErrorCodeStr"`

	// Creator UIN.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"`

	// Issue the execution platform time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IssueTime *string `json:"IssueTime,omitnil,omitempty" name:"IssueTime"`

	// Task name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Operator name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecuteUserName *string `json:"ExecuteUserName,omitnil,omitempty" name:"ExecuteUserName"`

	// Number of retries.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RerunTimes *uint64 `json:"RerunTimes,omitnil,omitempty" name:"RerunTimes"`

	// Whether it is the most recent run.
	// Note: This field may return null, indicating that no valid values can be obtained.
	IsLatestExecution *bool `json:"IsLatestExecution,omitnil,omitempty" name:"IsLatestExecution"`

	// Task running status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskExecutionState *string `json:"TaskExecutionState,omitnil,omitempty" name:"TaskExecutionState"`

	// Cycle type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Responsible person's name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserNameInCharge *string `json:"UserNameInCharge,omitnil,omitempty" name:"UserNameInCharge"`

	// Responsible person id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserUinInCharge *string `json:"UserUinInCharge,omitnil,omitempty" name:"UserUinInCharge"`

	// Resource group name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"`

	// Time zone.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Timezone *string `json:"Timezone,omitnil,omitempty" name:"Timezone"`

	// Folder ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Project name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// Task type id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskTypeId *int64 `json:"TaskTypeId,omitnil,omitempty" name:"TaskTypeId"`

	// Workflow running parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowParams *string `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Whether rerun is supported.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SupportRerun *bool `json:"SupportRerun,omitnil,omitempty" name:"SupportRerun"`

	// Workflow execution status.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowExecutionState *string `json:"WorkflowExecutionState,omitnil,omitempty" name:"WorkflowExecutionState"`

	// Task execution result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionResult *string `json:"ExecutionResult,omitnil,omitempty" name:"ExecutionResult"`
}

type TriggerTaskSchedulerConfiguration struct {
	// Upstream dependency array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpstreamDependencyConfigList []*DependencyTriggerTaskBrief `json:"UpstreamDependencyConfigList,omitnil,omitempty" name:"UpstreamDependencyConfigList"`

	// Task scheduling priority. execution priority. valid values: 4 (high), 5 (medium), 6 (low). default: 6.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RunPriorityType *int64 `json:"RunPriorityType,omitnil,omitempty" name:"RunPriorityType"`

	// Retry policy retry wait time, in minutes: default: 5.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RetryWaitMinute *int64 `json:"RetryWaitMinute,omitnil,omitempty" name:"RetryWaitMinute"`

	// Retry policy maximum attempts. default: 4.
	// Note: This field may return null, indicating that no valid values can be obtained.
	MaxRetryNumber *int64 `json:"MaxRetryNumber,omitnil,omitempty" name:"MaxRetryNumber"`

	// Timeout handling strategy runtime timeout (unit: minutes) defaults to -1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionTTLMinute *int64 `json:"ExecutionTTLMinute,omitnil,omitempty" name:"ExecutionTTLMinute"`

	// Timeout handling strategy wait duration timeout (unit: minutes) defaults to -1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WaitExecutionTotalTTLMinute *int64 `json:"WaitExecutionTotalTTLMinute,omitnil,omitempty" name:"WaitExecutionTotalTTLMinute"`

	// Rerun & replenishment configuration, defaults to ALL. ALL allows rerun or replenishment after successful or failed running. FAILURE does not allow rerun or replenishment after successful running but allows after failed running. NONE does not allow rerun or replenishment after either successful or failed running.
	// Note: This field may return null, indicating that no valid values can be obtained.
	AllowRedoType *string `json:"AllowRedoType,omitnil,omitempty" name:"AllowRedoType"`

	// Output parameter array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamTaskOutList []*OutTaskParameter `json:"ParamTaskOutList,omitnil,omitempty" name:"ParamTaskOutList"`

	// Input parameter array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ParamTaskInList []*InTaskParameter `json:"ParamTaskInList,omitnil,omitempty" name:"ParamTaskInList"`

	// Output registration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskOutputRegistryList []*TaskDataRegistry `json:"TaskOutputRegistryList,omitnil,omitempty" name:"TaskOutputRegistryList"`
}

type TriggerTaskVersion struct {
	// Retention time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Version
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionNum *string `json:"VersionNum,omitnil,omitempty" name:"VersionNum"`

	// Creator
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Save version id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`

	// Version description
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`

	// Approval status (only submit version has).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApproveStatus *string `json:"ApproveStatus,omitnil,omitempty" name:"ApproveStatus"`

	// Production status (only submit version has).
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Approver (only submit version has).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApproveUserUin *string `json:"ApproveUserUin,omitnil,omitempty" name:"ApproveUserUin"`
}

type TriggerTaskVersionDetail struct {
	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Version
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionNum *string `json:"VersionNum,omitnil,omitempty" name:"VersionNum"`

	// Creator of the version.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Save version Id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"`

	// Version description
	// Note: This field may return null, indicating that no valid values can be obtained.
	VersionRemark *string `json:"VersionRemark,omitnil,omitempty" name:"VersionRemark"`

	// Approval status (only submit version has).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApproveStatus *string `json:"ApproveStatus,omitnil,omitempty" name:"ApproveStatus"`

	// Production status (only submit version has).
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApproveTime *string `json:"ApproveTime,omitnil,omitempty" name:"ApproveTime"`

	// Approver Id.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ApproveUserUin *string `json:"ApproveUserUin,omitnil,omitempty" name:"ApproveUserUin"`

	// Task detail of the version.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Task *TriggerTask `json:"Task,omitnil,omitempty" name:"Task"`
}

type TriggerWorkflowBrief struct {
	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Number of Tasks
	// Note: This field may return null, indicating that no valid values can be obtained.
	TaskCount *uint64 `json:"TaskCount,omitnil,omitempty" name:"TaskCount"`

	// Folder ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Scheduling configuration.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowTriggerConfig *WorkflowTriggerConfig `json:"WorkflowTriggerConfig,omitnil,omitempty" name:"WorkflowTriggerConfig"`

	// Responsible person.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserNameInCharge *string `json:"UserNameInCharge,omitnil,omitempty" name:"UserNameInCharge"`

	// Responsible person ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserUinInCharge *string `json:"UserUinInCharge,omitnil,omitempty" name:"UserUinInCharge"`

	// Workflow parameter.
	WorkflowParams *string `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`
}

type TriggerWorkflowDetail struct {
	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Responsible person ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Workflow parameter array.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unify scheduling parameters.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// Workflow description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow path.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// BundleId item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// BundleInfo item.
	// Note: This field may return null, indicating that no valid values can be obtained.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`

	// Trigger status: ACTIVE (start), PAUSED (suspend).
	// Note: This field may return null, indicating that no valid values can be obtained.
	SchedulerStatus *string `json:"SchedulerStatus,omitnil,omitempty" name:"SchedulerStatus"`
}

type TriggerWorkflowInfo struct {
	// Workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Person in Charge ID
	// Note: This field may return null, indicating that no valid values can be obtained.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creation time.
	// 
	// 
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last Modification Time
	// Note: This field may return null, indicating that no valid values can be obtained.
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Last updated by user ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Workflow description.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`
}

type TriggerWorkflowResult struct {
	// Total number of records
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Number of pages.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Workflow information collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerWorkflowBrief `json:"Items,omitnil,omitempty" name:"Items"`
}

type TriggerWorkflowRunBrief struct {
	// User AppId
	// Note: This field may return null, indicating that no valid values can be obtained.
	AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Project ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Workflow ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow running ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionId *string `json:"ExecutionId,omitnil,omitempty" name:"ExecutionId"`

	// Trigger ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerId *string `json:"TriggerId,omitnil,omitempty" name:"TriggerId"`

	// Trigger mode: scheduling trigger Scheduler, manual trigger ManualTrigger, Event trigger Event.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerType *string `json:"TriggerType,omitnil,omitempty" name:"TriggerType"`

	// Workflow trigger time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Execution start timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Execution end timestamp.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Running time, in seconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionCostTime *string `json:"ExecutionCostTime,omitnil,omitempty" name:"ExecutionCostTime"`

	// Concurrent queue time taken, in seconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	QueueCostTime *string `json:"QueueCostTime,omitnil,omitempty" name:"QueueCostTime"`

	// Wait time for resource spending, in seconds.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PendingCostTime *string `json:"PendingCostTime,omitnil,omitempty" name:"PendingCostTime"`

	// Execution status: execution FAILED: FAILED, operation successful: SUCCESS, waiting: PENDING, skip RUNNING: SKIPED, RUNNING: RUNNING.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecutionState *string `json:"ExecutionState,omitnil,omitempty" name:"ExecutionState"`

	// Running user UIN.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecuteUserUin *string `json:"ExecuteUserUin,omitnil,omitempty" name:"ExecuteUserUin"`

	// Running username.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExecuteUserName *string `json:"ExecuteUserName,omitnil,omitempty" name:"ExecuteUserName"`

	// Error code
	// Note: This field may return null, indicating that no valid values can be obtained.
	ErrorCodeStr *string `json:"ErrorCodeStr,omitnil,omitempty" name:"ErrorCodeStr"`

	// Running parameter.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowParams *string `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Workflow version info ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	WorkflowVersionId *string `json:"WorkflowVersionId,omitnil,omitempty" name:"WorkflowVersionId"`

	// Whether rerun is supported.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SupportRerun *bool `json:"SupportRerun,omitnil,omitempty" name:"SupportRerun"`

	// Number of reruns.
	// Note: This field may return null, indicating that no valid values can be obtained.
	RerunTimes *uint64 `json:"RerunTimes,omitnil,omitempty" name:"RerunTimes"`

	// Running task scope, comma-separated task ID list.
	// Note: This field may return null, indicating that no valid values can be obtained.
	SelectedTaskIds []*string `json:"SelectedTaskIds,omitnil,omitempty" name:"SelectedTaskIds"`

	// Start time of pending concurrency.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PendingStartTime *string `json:"PendingStartTime,omitnil,omitempty" name:"PendingStartTime"`

	// Queued waiting start time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	QueueStartTime *string `json:"QueueStartTime,omitnil,omitempty" name:"QueueStartTime"`

	// Running end time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Folder ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Planned scheduling time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PlannedSchedulingTime *string `json:"PlannedSchedulingTime,omitnil,omitempty" name:"PlannedSchedulingTime"`

	// Cycle type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Responsible person's name.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserNameInCharge *string `json:"UserNameInCharge,omitnil,omitempty" name:"UserNameInCharge"`

	// Responsible person ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	UserUinInCharge *string `json:"UserUinInCharge,omitnil,omitempty" name:"UserUinInCharge"`
}

type TriggerWorkflowRunResult struct {
	// Total number of records
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Number of pages.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Page number
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Page size.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Workflow running and task running information collection.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Items []*TriggerWorkflowRunBrief `json:"Items,omitnil,omitempty" name:"Items"`
}

type TriggerWorkflowTaskRunDetailBrief struct {
	// Workflow running information.
	TriggerWorkflowRun *TriggerWorkflowRunBrief `json:"TriggerWorkflowRun,omitnil,omitempty" name:"TriggerWorkflowRun"`

	// Task running information.
	TriggerTaskRuns []*TriggerTaskRunBrief `json:"TriggerTaskRuns,omitnil,omitempty" name:"TriggerTaskRuns"`

	// Business status enumeration info.
	BizStateEnumInfos []*BizStateEnumInfoBrief `json:"BizStateEnumInfos,omitnil,omitempty" name:"BizStateEnumInfos"`
}

// Predefined struct for user
type UpdateCodeFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API response.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`

	// Specifies the code file configuration.
	CodeFileConfig *CodeFileConfig `json:"CodeFileConfig,omitnil,omitempty" name:"CodeFileConfig"`

	// Specifies the content of the code file.
	CodeFileContent *string `json:"CodeFileContent,omitnil,omitempty" name:"CodeFileContent"`
}

type UpdateCodeFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Code file ID. the parameter value comes from the CreateCodeFile API response.
	CodeFileId *string `json:"CodeFileId,omitnil,omitempty" name:"CodeFileId"`

	// Specifies the code file configuration.
	CodeFileConfig *CodeFileConfig `json:"CodeFileConfig,omitnil,omitempty" name:"CodeFileConfig"`

	// Specifies the content of the code file.
	CodeFileContent *string `json:"CodeFileContent,omitnil,omitempty" name:"CodeFileContent"`
}

func (r *UpdateCodeFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateCodeFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "CodeFileId")
	delete(f, "CodeFileConfig")
	delete(f, "CodeFileContent")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateCodeFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateCodeFileResponseParams struct {
	// Result
	Data *CodeFile `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateCodeFileResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCodeFileResponseParams `json:"Response"`
}

func (r *UpdateCodeFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateCodeFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateCodeFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. The parameter value can be obtained from the response of the CreateCodeFolder API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type UpdateCodeFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. The parameter value can be obtained from the response of the CreateCodeFolder API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

func (r *UpdateCodeFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateCodeFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	delete(f, "FolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateCodeFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateCodeFolderResponseParams struct {
	// Execution result
	Data *CodeStudioFolderActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateCodeFolderResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCodeFolderResponseParams `json:"Response"`
}

func (r *UpdateCodeFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateCodeFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateDataSourceRequestParams struct {
	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Configuration message of data sources is stored in JSON KV. based on each data source type, the KV storage information varies.
	// 
	// > deployType: 
	// CONNSTR_PUBLICDB (public network instance). 
	// CONNSTR_CVMDB (self-built instance).
	// Cloud INSTANCE.
	// 
	// ```
	// mysql: self-built instance.
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
	//     "username": "root",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "MYSQL"
	// }
	// mysql: cloud instance.
	// {
	//     "instanceid": "cdb-12uxdo5e",
	//     "db": "db",
	//     "region": "ap-shanghai",
	//     "username": "msyql",
	//     "password": "example#test#123456",
	//     "deployType": "INSTANCE",
	//     "type": "TENCENT_MYSQL"
	// }
	// sql_server: 
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
	//     "username": "user_1",
	//     "password": "example#test#123456",
	//     "type": "SQLSERVER"
	// }
	// redis:
	//     redisType:
	// -NO_ACCOUNT (account-free).
	// -SELF_ACCOUNT (custom account).
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username":""
	//     "password": "example#test#123456",
	//     "ip": "1.1.1.1",
	//     "port": "6379",
	//     "redisType": "NO_ACCOUT",
	//     "type": "REDIS"
	// }
	// oracle: 
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
	//     "username": "oracle",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "ORACLE"
	// }
	// mongodb:
	// advanceParams (custom parameters, appended to the url).
	// {
	//     "advanceParams": [
	//         {
	//             "key": "authSource",
	//             "value": "auth"
	//         }
	//     ],
	//     "db": "admin",
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "MONGODB",
	//     "host": "1.1.1.1:9200"
	// }
	// postgresql:
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "POSTGRE"
	// }
	// kafka:
	//     authType:
	//         - sasl
	//         - jaas
	//         - sasl_plaintext
	//         - sasl_ssl
	//         - GSSAPI
	//     ssl:
	//         -PLAIN
	//         -GSSAPI
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "host": "1.1.1.1:9092",
	//     "ssl": "GSSAPI",
	//     "authType": "sasl",
	//     "type": "KAFKA",
	//     "principal": "aaaa",
	//     "serviceName": "kafka"
	// }
	// 
	// cos:
	// {
	//     "region": "ap-shanghai",
	//     "deployType": "INSTANCE",
	//     "secretId": "aaaaa",
	//     "secretKey": "example#test#123456",
	//     "bucket": "aaa",
	//     "type": "COS"
	// }
	// 
	// ```
	ProdConProperties *string `json:"ProdConProperties,omitnil,omitempty" name:"ProdConProperties"`

	// This field is required if the project is in standard mode.
	DevConProperties *string `json:"DevConProperties,omitnil,omitempty" name:"DevConProperties"`

	// Upload data source file in live production environment.
	ProdFileUpload *DataSourceFileUpload `json:"ProdFileUpload,omitnil,omitempty" name:"ProdFileUpload"`

	// Upload data source file in development environment.
	DevFileUpload *DataSourceFileUpload `json:"DevFileUpload,omitnil,omitempty" name:"DevFileUpload"`

	// Data source display name for visual inspection.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source description information
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type UpdateDataSourceRequest struct {
	*tchttp.BaseRequest
	
	// Data source ID.
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Configuration message of data sources is stored in JSON KV. based on each data source type, the KV storage information varies.
	// 
	// > deployType: 
	// CONNSTR_PUBLICDB (public network instance). 
	// CONNSTR_CVMDB (self-built instance).
	// Cloud INSTANCE.
	// 
	// ```
	// mysql: self-built instance.
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:mysql://1.1.1.1:1111/example#test#123456",
	//     "username": "root",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "MYSQL"
	// }
	// mysql: cloud instance.
	// {
	//     "instanceid": "cdb-12uxdo5e",
	//     "db": "db",
	//     "region": "ap-shanghai",
	//     "username": "msyql",
	//     "password": "example#test#123456",
	//     "deployType": "INSTANCE",
	//     "type": "TENCENT_MYSQL"
	// }
	// sql_server: 
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:sqlserver://1.1.1.1:223;example#test#123456",
	//     "username": "user_1",
	//     "password": "example#test#123456",
	//     "type": "SQLSERVER"
	// }
	// redis:
	//     redisType:
	// -NO_ACCOUNT (account-free).
	// -SELF_ACCOUNT (custom account).
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username":""
	//     "password": "example#test#123456",
	//     "ip": "1.1.1.1",
	//     "port": "6379",
	//     "redisType": "NO_ACCOUT",
	//     "type": "REDIS"
	// }
	// oracle: 
	// {
	//     "deployType": "CONNSTR_CVMDB",
	//     "url": "jdbc:oracle:thin:@1.1.1.1:1521:example#test#123456",
	//     "username": "oracle",
	//     "password": "example#test#123456",
	//     "region": "ap-shanghai",
	//     "vpcId": "vpc-kprq42yo",
	//     "type": "ORACLE"
	// }
	// mongodb:
	// advanceParams (custom parameters, appended to the url).
	// {
	//     "advanceParams": [
	//         {
	//             "key": "authSource",
	//             "value": "auth"
	//         }
	//     ],
	//     "db": "admin",
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "MONGODB",
	//     "host": "1.1.1.1:9200"
	// }
	// postgresql:
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "url": "jdbc:postgresql://1.1.1.1:1921/example#test#123456",
	//     "username": "user",
	//     "password": "example#test#123456",
	//     "type": "POSTGRE"
	// }
	// kafka:
	//     authType:
	//         - sasl
	//         - jaas
	//         - sasl_plaintext
	//         - sasl_ssl
	//         - GSSAPI
	//     ssl:
	//         -PLAIN
	//         -GSSAPI
	// {
	//     "deployType": "CONNSTR_PUBLICDB",
	//     "host": "1.1.1.1:9092",
	//     "ssl": "GSSAPI",
	//     "authType": "sasl",
	//     "type": "KAFKA",
	//     "principal": "aaaa",
	//     "serviceName": "kafka"
	// }
	// 
	// cos:
	// {
	//     "region": "ap-shanghai",
	//     "deployType": "INSTANCE",
	//     "secretId": "aaaaa",
	//     "secretKey": "example#test#123456",
	//     "bucket": "aaa",
	//     "type": "COS"
	// }
	// 
	// ```
	ProdConProperties *string `json:"ProdConProperties,omitnil,omitempty" name:"ProdConProperties"`

	// This field is required if the project is in standard mode.
	DevConProperties *string `json:"DevConProperties,omitnil,omitempty" name:"DevConProperties"`

	// Upload data source file in live production environment.
	ProdFileUpload *DataSourceFileUpload `json:"ProdFileUpload,omitnil,omitempty" name:"ProdFileUpload"`

	// Upload data source file in development environment.
	DevFileUpload *DataSourceFileUpload `json:"DevFileUpload,omitnil,omitempty" name:"DevFileUpload"`

	// Data source display name for visual inspection.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Data source description information
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func (r *UpdateDataSourceRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateDataSourceRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Id")
	delete(f, "ProjectId")
	delete(f, "ProdConProperties")
	delete(f, "DevConProperties")
	delete(f, "ProdFileUpload")
	delete(f, "DevFileUpload")
	delete(f, "DisplayName")
	delete(f, "Description")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateDataSourceRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateDataSourceResponseParams struct {
	// Whether the operation is successful
	Data *DataSourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateDataSourceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateDataSourceResponseParams `json:"Response"`
}

func (r *UpdateDataSourceResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateDataSourceResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateFolderResult struct {
	// Update status. true indicates update succeeded. false indicates update failed.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type UpdateOpsAlarmRuleRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the unique id of the Alarm rule, obtained through the GetAlarmRule/ListAlarmRule api.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`

	// Specifies the new rule name of the Alarm rule.
	AlarmRuleName *string `json:"AlarmRuleName,omitnil,omitempty" name:"AlarmRuleName"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *int64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Pass different business IDs based on the MonitorType setting:
	// 
	// 1 (Task): MonitorObjectIds should be a list of task IDs.
	// 
	// 2 (Workflow): MonitorObjectIds should be a list of workflow IDs (workflow IDs can be obtained via the ListWorkflows API).
	// 
	// 3 (Project): MonitorObjectIds should be a list of project IDs.
	MonitorObjectIds []*string `json:"MonitorObjectIds,omitnil,omitempty" name:"MonitorObjectIds"`

	// Alarm Rule Monitoring Types
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectFailureInstanceUpwardVolatilityAlarm: Alarm when the upward fluctuation count of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardVolatilityAlarm: Alarm when the downward fluctuation count of successful instances for the day exceeds the threshold
	// 
	// projectFailureInstanceCountAlarm: Alarm when the number of failed instances for the day exceeds the threshold
	// 
	// projectFailureInstanceProportionAlarm: Alarm when the proportion of failed instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmTypes []*string `json:"AlarmTypes,omitnil,omitempty" name:"AlarmTypes"`

	// Alarm Rule Configuration Information
	// 
	// Success Alarms - No configuration required;
	// 
	// Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
	// 
	// Timeout Alarms - Require configuration of the timeout type and timeout threshold;
	// 
	// Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
	AlarmRuleDetail *AlarmRuleDetail `json:"AlarmRuleDetail,omitnil,omitempty" name:"AlarmRuleDetail"`

	// Enable status of the Alarm rule. valid values: 0 (disabled), 1 (enabled).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Alarm level. 1. ordinary, 2. important, 3. critical.
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Describes the Alarm recipient configuration message.
	AlarmGroups []*AlarmGroup `json:"AlarmGroups,omitnil,omitempty" name:"AlarmGroups"`

	// Alarm description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type UpdateOpsAlarmRuleRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the unique id of the Alarm rule, obtained through the GetAlarmRule/ListAlarmRule api.
	AlarmRuleId *string `json:"AlarmRuleId,omitnil,omitempty" name:"AlarmRuleId"`

	// Specifies the new rule name of the Alarm rule.
	AlarmRuleName *string `json:"AlarmRuleName,omitnil,omitempty" name:"AlarmRuleName"`

	// Monitoring Object Type
	// 
	// Task-level Monitoring - Can be configured by Task / Workflow / Project:
	// 1 = Task (default)
	// 2 = Workflow
	// 3 = Project
	// 
	// Project-level Monitoring - Monitors overall task fluctuations within a project:
	// 7 = Project fluctuation monitoring alarm
	MonitorObjectType *int64 `json:"MonitorObjectType,omitnil,omitempty" name:"MonitorObjectType"`

	// Pass different business IDs based on the MonitorType setting:
	// 
	// 1 (Task): MonitorObjectIds should be a list of task IDs.
	// 
	// 2 (Workflow): MonitorObjectIds should be a list of workflow IDs (workflow IDs can be obtained via the ListWorkflows API).
	// 
	// 3 (Project): MonitorObjectIds should be a list of project IDs.
	MonitorObjectIds []*string `json:"MonitorObjectIds,omitnil,omitempty" name:"MonitorObjectIds"`

	// Alarm Rule Monitoring Types
	// 
	// failure: Failure alarm
	// 
	// overtime: Timeout alarm
	// 
	// success: Success alarm
	// 
	// backTrackingOrRerunSuccess: Alarm when backfill/rerun succeeds
	// 
	// backTrackingOrRerunFailure: Alarm when backfill/rerun fails
	// 
	// projectFailureInstanceUpwardFluctuationAlarm: Alarm when the upward fluctuation rate of failed instances for the day exceeds the threshold
	// 
	// projectFailureInstanceUpwardVolatilityAlarm: Alarm when the upward fluctuation count of failed instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardFluctuationAlarm: Alarm when the downward fluctuation rate of successful instances for the day exceeds the threshold
	// 
	// projectSuccessInstanceDownwardVolatilityAlarm: Alarm when the downward fluctuation count of successful instances for the day exceeds the threshold
	// 
	// projectFailureInstanceCountAlarm: Alarm when the number of failed instances for the day exceeds the threshold
	// 
	// projectFailureInstanceProportionAlarm: Alarm when the proportion of failed instances for the day exceeds the threshold
	// 
	// reconciliationFailure: Alarm when offline reconciliation task fails
	// 
	// reconciliationOvertime: Alarm when offline reconciliation task runs overtime
	// 
	// reconciliationMismatch: Alarm when the number of mismatched records in reconciliation exceeds the threshold
	AlarmTypes []*string `json:"AlarmTypes,omitnil,omitempty" name:"AlarmTypes"`

	// Alarm Rule Configuration Information
	// 
	// Success Alarms - No configuration required;
	// 
	// Failure Alarms - Can be configured to trigger on the first failure or on all retry failures;
	// 
	// Timeout Alarms - Require configuration of the timeout type and timeout threshold;
	// 
	// Project Fluctuation Alarms - Require configuration of the fluctuation rate and the debounce cycle.
	AlarmRuleDetail *AlarmRuleDetail `json:"AlarmRuleDetail,omitnil,omitempty" name:"AlarmRuleDetail"`

	// Enable status of the Alarm rule. valid values: 0 (disabled), 1 (enabled).
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// Alarm level. 1. ordinary, 2. important, 3. critical.
	AlarmLevel *int64 `json:"AlarmLevel,omitnil,omitempty" name:"AlarmLevel"`

	// Describes the Alarm recipient configuration message.
	AlarmGroups []*AlarmGroup `json:"AlarmGroups,omitnil,omitempty" name:"AlarmGroups"`

	// Alarm description.
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func (r *UpdateOpsAlarmRuleRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsAlarmRuleRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "AlarmRuleId")
	delete(f, "AlarmRuleName")
	delete(f, "MonitorObjectType")
	delete(f, "MonitorObjectIds")
	delete(f, "AlarmTypes")
	delete(f, "AlarmRuleDetail")
	delete(f, "Status")
	delete(f, "AlarmLevel")
	delete(f, "AlarmGroups")
	delete(f, "Description")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateOpsAlarmRuleRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateOpsAlarmRuleResponseParams struct {
	// Indicates whether the update is successful.
	// true: update successful. false: failed to update.
	Data *ModifyAlarmRuleResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateOpsAlarmRuleResponse struct {
	*tchttp.BaseResponse
	Response *UpdateOpsAlarmRuleResponseParams `json:"Response"`
}

func (r *UpdateOpsAlarmRuleResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsAlarmRuleResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateOpsTasksOwnerRequestParams struct {
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Task owner Id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
}

type UpdateOpsTasksOwnerRequest struct {
	*tchttp.BaseRequest
	
	// Project ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task Id list. specifies the list of task ids.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`

	// Task owner Id.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`
}

func (r *UpdateOpsTasksOwnerRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsTasksOwnerRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskIds")
	delete(f, "OwnerUin")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateOpsTasksOwnerRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateOpsTasksOwnerResponseParams struct {
	// Operation result.
	Data *UpdateTasksOwner `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateOpsTasksOwnerResponse struct {
	*tchttp.BaseResponse
	Response *UpdateOpsTasksOwnerResponseParams `json:"Response"`
}

func (r *UpdateOpsTasksOwnerResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsTasksOwnerResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateOpsTriggerTasksOwnerRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Owner UIN.
	OwnerIds []*string `json:"OwnerIds,omitnil,omitempty" name:"OwnerIds"`

	// Task ID set to modify.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`
}

type UpdateOpsTriggerTasksOwnerRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Owner UIN.
	OwnerIds []*string `json:"OwnerIds,omitnil,omitempty" name:"OwnerIds"`

	// Task ID set to modify.
	TaskIds []*string `json:"TaskIds,omitnil,omitempty" name:"TaskIds"`
}

func (r *UpdateOpsTriggerTasksOwnerRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsTriggerTasksOwnerRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "OwnerIds")
	delete(f, "TaskIds")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateOpsTriggerTasksOwnerRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateOpsTriggerTasksOwnerResponseParams struct {
	// Batch operation result.
	Data *BatchOperationOpsDto `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateOpsTriggerTasksOwnerResponse struct {
	*tchttp.BaseResponse
	Response *UpdateOpsTriggerTasksOwnerResponseParams `json:"Response"`
}

func (r *UpdateOpsTriggerTasksOwnerResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateOpsTriggerTasksOwnerResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateProjectRequestParams struct {
	// Modify the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project display name can be a chinese name and must be unique within the tenant scope.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Project leader id.
	ProjectOwnerUin *string `json:"ProjectOwnerUin,omitnil,omitempty" name:"ProjectOwnerUin"`
}

type UpdateProjectRequest struct {
	*tchttp.BaseRequest
	
	// Modify the project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Project display name can be a chinese name and must be unique within the tenant scope.
	DisplayName *string `json:"DisplayName,omitnil,omitempty" name:"DisplayName"`

	// Remarks
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// Project leader id.
	ProjectOwnerUin *string `json:"ProjectOwnerUin,omitnil,omitempty" name:"ProjectOwnerUin"`
}

func (r *UpdateProjectRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateProjectRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "DisplayName")
	delete(f, "Description")
	delete(f, "ProjectOwnerUin")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateProjectRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateProjectResponseParams struct {
	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateProjectResponse struct {
	*tchttp.BaseResponse
	Response *UpdateProjectResponseParams `json:"Response"`
}

func (r *UpdateProjectResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateProjectResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateResourceFileRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file ID. Can be obtained through the ListResourceFiles API.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// -Upload file or manually enter value. only select one method. if both are provided, the sequence is file > manually entered value.
	// -Manually entered value must be existing cos path. parentFolderPath specifies the parent folder path. name specifies the file name. value example for manually entered value:.
	//      /datastudio/resource/projectId/parentFolderPath/name 
	ResourceFile *string `json:"ResourceFile,omitnil,omitempty" name:"ResourceFile"`

	// Resource name, preferably kept consistent with the file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Bundle Client ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle Client Name
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type UpdateResourceFileRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Resource file ID. Can be obtained through the ListResourceFiles API.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// -Upload file or manually enter value. only select one method. if both are provided, the sequence is file > manually entered value.
	// -Manually entered value must be existing cos path. parentFolderPath specifies the parent folder path. name specifies the file name. value example for manually entered value:.
	//      /datastudio/resource/projectId/parentFolderPath/name 
	ResourceFile *string `json:"ResourceFile,omitnil,omitempty" name:"ResourceFile"`

	// Resource name, preferably kept consistent with the file name.
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// Bundle Client ID.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle Client Name
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

func (r *UpdateResourceFileRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceFileRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "ResourceId")
	delete(f, "ResourceFile")
	delete(f, "ResourceName")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateResourceFileRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateResourceFileResponseParams struct {
	// Update status.
	Data *UpdateResourceFileResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateResourceFileResponse struct {
	*tchttp.BaseResponse
	Response *UpdateResourceFileResponseParams `json:"Response"`
}

func (r *UpdateResourceFileResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceFileResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateResourceFileResult struct {
	// true
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type UpdateResourceFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the  ListResourceFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type UpdateResourceFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the  ListResourceFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

func (r *UpdateResourceFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	delete(f, "FolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateResourceFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateResourceFolderResponseParams struct {
	// Specifies the update folder result. if the update fails, an error will be reported.
	Data *UpdateFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateResourceFolderResponse struct {
	*tchttp.BaseResponse
	Response *UpdateResourceFolderResponseParams `json:"Response"`
}

func (r *UpdateResourceFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateResourceGroupRequestParams struct {
	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// **Change configuration (cannot include both modification, renewal, and resource package quantity changes). configuration changes cannot modify the resource group type.**.
	// 
	// Real-Time integration resource group.  
	// -i32c (real-time data sync - 16c64G).
	// 
	// Offline integration resource group.
	// -integrated (offline data sync-8C16G).
	// -i16 (offline data sync-8C32G).
	// 
	// Scheduling resource group.
	// -test specification.
	// -S_small (basic specification).
	// -S_medium (general specifications).
	// -S_large (professional specification).
	// 
	// Data service resource group.
	// -Test specification.
	// -ds_s(Basic specification).
	// -ds_m (general specifications).
	// -ds_l (professional specification).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Renewal period, unit month (cannot include both modification, renewal, and resource package quantity changes).
	PurchasePeriod *int64 `json:"PurchasePeriod,omitnil,omitempty" name:"PurchasePeriod"`

	// Add or reduce the number of resource packages (modification, renewal, and changing the number of resource packages cannot include both).
	Number *ResourceNumber `json:"Number,omitnil,omitempty" name:"Number"`

	// Auto-Renewal or not. the renewal parameters take effect when PurchasePeriod is not empty.
	AutoRenewEnabled *bool `json:"AutoRenewEnabled,omitnil,omitempty" name:"AutoRenewEnabled"`
}

type UpdateResourceGroupRequest struct {
	*tchttp.BaseRequest
	
	// Resource group ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// **Change configuration (cannot include both modification, renewal, and resource package quantity changes). configuration changes cannot modify the resource group type.**.
	// 
	// Real-Time integration resource group.  
	// -i32c (real-time data sync - 16c64G).
	// 
	// Offline integration resource group.
	// -integrated (offline data sync-8C16G).
	// -i16 (offline data sync-8C32G).
	// 
	// Scheduling resource group.
	// -test specification.
	// -S_small (basic specification).
	// -S_medium (general specifications).
	// -S_large (professional specification).
	// 
	// Data service resource group.
	// -Test specification.
	// -ds_s(Basic specification).
	// -ds_m (general specifications).
	// -ds_l (professional specification).
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Renewal period, unit month (cannot include both modification, renewal, and resource package quantity changes).
	PurchasePeriod *int64 `json:"PurchasePeriod,omitnil,omitempty" name:"PurchasePeriod"`

	// Add or reduce the number of resource packages (modification, renewal, and changing the number of resource packages cannot include both).
	Number *ResourceNumber `json:"Number,omitnil,omitempty" name:"Number"`

	// Auto-Renewal or not. the renewal parameters take effect when PurchasePeriod is not empty.
	AutoRenewEnabled *bool `json:"AutoRenewEnabled,omitnil,omitempty" name:"AutoRenewEnabled"`
}

func (r *UpdateResourceGroupRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceGroupRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "Id")
	delete(f, "Type")
	delete(f, "PurchasePeriod")
	delete(f, "Number")
	delete(f, "AutoRenewEnabled")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateResourceGroupRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateResourceGroupResponseParams struct {
	// Whether modification is successful.
	Data *ResourceStatus `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *UpdateResourceGroupResponseParams `json:"Response"`
}

func (r *UpdateResourceGroupResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateResourceGroupResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateSQLFolderRequestParams struct {
	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

type UpdateSQLFolderRequest struct {
	*tchttp.BaseRequest
	
	// Folder ID
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Access permission: SHARED, PRIVATE.
	AccessScope *string `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
}

func (r *UpdateSQLFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateSQLFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "FolderId")
	delete(f, "FolderName")
	delete(f, "ProjectId")
	delete(f, "AccessScope")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateSQLFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateSQLFolderResponseParams struct {
	// Indicates whether the operation is successful. valid values: true (successful), false (unsuccessful).
	Data *SQLContentActionResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateSQLFolderResponse struct {
	*tchttp.BaseResponse
	Response *UpdateSQLFolderResponseParams `json:"Response"`
}

func (r *UpdateSQLFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateSQLFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateSQLScriptRequestParams struct {
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the script configuration for data exploration.
	ScriptConfig *SQLScriptConfig `json:"ScriptConfig,omitnil,omitempty" name:"ScriptConfig"`

	// Specifies the script content, needs to be Base64 encoded.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`
}

type UpdateSQLScriptRequest struct {
	*tchttp.BaseRequest
	
	// Script Id.
	ScriptId *string `json:"ScriptId,omitnil,omitempty" name:"ScriptId"`

	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Specifies the script configuration for data exploration.
	ScriptConfig *SQLScriptConfig `json:"ScriptConfig,omitnil,omitempty" name:"ScriptConfig"`

	// Specifies the script content, needs to be Base64 encoded.
	ScriptContent *string `json:"ScriptContent,omitnil,omitempty" name:"ScriptContent"`
}

func (r *UpdateSQLScriptRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateSQLScriptRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ScriptId")
	delete(f, "ProjectId")
	delete(f, "ScriptConfig")
	delete(f, "ScriptContent")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateSQLScriptRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateSQLScriptResponseParams struct {
	// Result
	// 
	Data *SQLScript `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateSQLScriptResponse struct {
	*tchttp.BaseResponse
	Response *UpdateSQLScriptResponseParams `json:"Response"`
}

func (r *UpdateSQLScriptResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateSQLScriptResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateTaskBaseAttribute struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" category, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for a successful operation.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type UpdateTaskBaseAttributePart struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" classification, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for the operation to succeed.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type UpdateTaskBrief struct {
	// Describes the basic attributes of the task.
	TaskBaseAttribute *UpdateTaskBaseAttribute `json:"TaskBaseAttribute,omitnil,omitempty" name:"TaskBaseAttribute"`

	// Task configurations.
	TaskConfiguration *TaskConfiguration `json:"TaskConfiguration,omitnil,omitempty" name:"TaskConfiguration"`

	// Task scheduling configuration.
	TaskSchedulerConfiguration *TaskSchedulerConfiguration `json:"TaskSchedulerConfiguration,omitnil,omitempty" name:"TaskSchedulerConfiguration"`
}

// Predefined struct for user
type UpdateTaskFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID, obtain through the ListTaskFolders api.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`

	// Updated task folder name.
	TaskFolderName *string `json:"TaskFolderName,omitnil,omitempty" name:"TaskFolderName"`
}

type UpdateTaskFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Folder ID, obtain through the ListTaskFolders api.
	TaskFolderId *string `json:"TaskFolderId,omitnil,omitempty" name:"TaskFolderId"`

	// Updated task folder name.
	TaskFolderName *string `json:"TaskFolderName,omitnil,omitempty" name:"TaskFolderName"`
}

func (r *UpdateTaskFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "TaskFolderId")
	delete(f, "TaskFolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTaskFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTaskFolderResponseParams struct {
	// Update folder result. if the update failed, error will be reported.
	Data *UpdateTaskFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTaskFolderResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTaskFolderResponseParams `json:"Response"`
}

func (r *UpdateTaskFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateTaskFolderResult struct {
	// Update status. true indicates update succeeded, false indicates update failed.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type UpdateTaskPart struct {
	// Task basic attributes.
	TaskBaseAttribute *UpdateTaskBaseAttributePart `json:"TaskBaseAttribute,omitnil,omitempty" name:"TaskBaseAttribute"`

	// Task configurations.
	TaskConfiguration *TaskConfiguration `json:"TaskConfiguration,omitnil,omitempty" name:"TaskConfiguration"`

	// Task scheduling configuration.
	TaskSchedulerConfiguration *TaskSchedulerConfiguration `json:"TaskSchedulerConfiguration,omitnil,omitempty" name:"TaskSchedulerConfiguration"`
}

// Predefined struct for user
type UpdateTaskPartiallyRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	NewSetting *UpdateTaskPart `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identified in the form of property paths, with deleted values separated by ":" and multiple values separated by "," delete the attribute "TaskConfiguration/TaskSchedulingParameterList:aa,bb" where ParamKey is aa,bb in scheduling parameters delete the upstream dependency "TaskSchedulerConfiguration/UpstreamDependencyConfigList:2509162129381111,2509162129381112" where TaskId is 2509162129381111,2509162129381112 in upstream dependencies delete the downstream dependency "TaskSchedulerConfiguration/DownStreamDependencyConfigList:2509162129382222,2509162129382223" where TaskId is 2509162129382222,2509162129382223 in downstream circular dependencies delete the event "TaskSchedulerConfiguration/EventListenerList:event_250916_213234,event_250916_213235" where EventName is event_250916_213234,event_250916_213235 in events delete the parameter "TaskSchedulerConfiguration/ParamTaskOutList:pp_out,pp_1" where ParamKey is pp_out,pp_1 in parameter output transmission delete the parameter "TaskSchedulerConfiguration/ParamTaskInList:pp_in,pp_1" where ParamKey is pp_in,pp_1 in parameter application delete the output registration "TaskSchedulerConfiguration/TaskOutputRegistryList:6578laxif4d1" where TablePhysicalId is 6578laxif4d1 in product registration.
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

type UpdateTaskPartiallyRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	NewSetting *UpdateTaskPart `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identified in the form of property paths, with deleted values separated by ":" and multiple values separated by "," delete the attribute "TaskConfiguration/TaskSchedulingParameterList:aa,bb" where ParamKey is aa,bb in scheduling parameters delete the upstream dependency "TaskSchedulerConfiguration/UpstreamDependencyConfigList:2509162129381111,2509162129381112" where TaskId is 2509162129381111,2509162129381112 in upstream dependencies delete the downstream dependency "TaskSchedulerConfiguration/DownStreamDependencyConfigList:2509162129382222,2509162129382223" where TaskId is 2509162129382222,2509162129382223 in downstream circular dependencies delete the event "TaskSchedulerConfiguration/EventListenerList:event_250916_213234,event_250916_213235" where EventName is event_250916_213234,event_250916_213235 in events delete the parameter "TaskSchedulerConfiguration/ParamTaskOutList:pp_out,pp_1" where ParamKey is pp_out,pp_1 in parameter output transmission delete the parameter "TaskSchedulerConfiguration/ParamTaskInList:pp_in,pp_1" where ParamKey is pp_in,pp_1 in parameter application delete the output registration "TaskSchedulerConfiguration/TaskOutputRegistryList:6578laxif4d1" where TablePhysicalId is 6578laxif4d1 in product registration.
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

func (r *UpdateTaskPartiallyRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskPartiallyRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "NewSetting")
	delete(f, "FieldToRemoveList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTaskPartiallyRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTaskPartiallyResponseParams struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *UpdateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTaskPartiallyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTaskPartiallyResponseParams `json:"Response"`
}

func (r *UpdateTaskPartiallyResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskPartiallyResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Describes the basic attributes of the task.
	Task *UpdateTaskBrief `json:"Task,omitnil,omitempty" name:"Task"`
}

type UpdateTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Describes the basic attributes of the task.
	Task *UpdateTaskBrief `json:"Task,omitnil,omitempty" name:"Task"`
}

func (r *UpdateTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "Task")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTaskResponseParams struct {
	// Task ID
	Data *UpdateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTaskResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTaskResponseParams `json:"Response"`
}

func (r *UpdateTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateTaskResult struct {
	// Processing result. returns true on success. returns false on failure.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type UpdateTasksOwner struct {
	// Describes the result of modifying the task owner.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type UpdateTriggerTaskBaseAttribute struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`

	// Note:.
	// -Do not fill in the task node type in the path. for example, in a workflow named wf01, under the "common" classification, if you want to create a new shell task under the tf_01 folder in this classification, just fill in /tf_01.
	// -If the tf_01 folder does not exist, first create this folder (use the CreateTaskFolder api) for the operation to succeed.
	TaskFolderPath *string `json:"TaskFolderPath,omitnil,omitempty" name:"TaskFolderPath"`
}

type UpdateTriggerTaskBaseAttributePart struct {
	// Task name.
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// Task owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Task description
	TaskDescription *string `json:"TaskDescription,omitnil,omitempty" name:"TaskDescription"`
}

type UpdateTriggerTaskBrief struct {
	// Task basic attributes.
	TriggerTaskBaseAttribute *UpdateTriggerTaskBaseAttribute `json:"TriggerTaskBaseAttribute,omitnil,omitempty" name:"TriggerTaskBaseAttribute"`

	// Task configurations.
	TriggerTaskConfiguration *TriggerTaskConfiguration `json:"TriggerTaskConfiguration,omitnil,omitempty" name:"TriggerTaskConfiguration"`

	// Task scheduling configuration.
	TriggerTaskSchedulerConfiguration *TriggerTaskSchedulerConfiguration `json:"TriggerTaskSchedulerConfiguration,omitnil,omitempty" name:"TriggerTaskSchedulerConfiguration"`
}

type UpdateTriggerTaskPart struct {
	// Task basic attributes.
	TriggerTaskBaseAttribute *UpdateTriggerTaskBaseAttributePart `json:"TriggerTaskBaseAttribute,omitnil,omitempty" name:"TriggerTaskBaseAttribute"`

	// Task configurations.
	TriggerTaskConfiguration *TriggerTaskConfiguration `json:"TriggerTaskConfiguration,omitnil,omitempty" name:"TriggerTaskConfiguration"`

	// Task scheduling configuration.
	TriggerTaskSchedulerConfiguration *TriggerTaskSchedulerConfiguration `json:"TriggerTaskSchedulerConfiguration,omitnil,omitempty" name:"TriggerTaskSchedulerConfiguration"`
}

// Predefined struct for user
type UpdateTriggerTaskPartiallyRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	NewSetting *UpdateTriggerTaskPart `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identified in the form of property paths, with deleted values separated by ":" and multiple values separated by "," delete the attribute "TaskConfiguration/TaskSchedulingParameterList:aa,bb" where ParamKey is aa,bb in scheduling parameters delete the upstream dependency "TaskSchedulerConfiguration/UpstreamDependencyConfigList:2509162129381111,2509162129381112" where TaskId is 2509162129381111,2509162129381112 in upstream dependencies delete the downstream dependency "TaskSchedulerConfiguration/DownStreamDependencyConfigList:2509162129382222,2509162129382223" where TaskId is 2509162129382222,2509162129382223 in downstream circular dependencies delete the event "TaskSchedulerConfiguration/EventListenerList:event_250916_213234,event_250916_213235" where EventName is event_250916_213234,event_250916_213235 in events delete the parameter "TaskSchedulerConfiguration/ParamTaskOutList:pp_out,pp_1" where ParamKey is pp_out,pp_1 in parameter output transmission delete the parameter "TaskSchedulerConfiguration/ParamTaskInList:pp_in,pp_1" where ParamKey is pp_in,pp_1 in parameter application delete the output registration "TaskSchedulerConfiguration/TaskOutputRegistryList:6578laxif4d1" where TablePhysicalId is 6578laxif4d1 in product registration.
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

type UpdateTriggerTaskPartiallyRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	NewSetting *UpdateTriggerTaskPart `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identified in the form of property paths, with deleted values separated by ":" and multiple values separated by "," delete the attribute "TaskConfiguration/TaskSchedulingParameterList:aa,bb" where ParamKey is aa,bb in scheduling parameters delete the upstream dependency "TaskSchedulerConfiguration/UpstreamDependencyConfigList:2509162129381111,2509162129381112" where TaskId is 2509162129381111,2509162129381112 in upstream dependencies delete the downstream dependency "TaskSchedulerConfiguration/DownStreamDependencyConfigList:2509162129382222,2509162129382223" where TaskId is 2509162129382222,2509162129382223 in downstream circular dependencies delete the event "TaskSchedulerConfiguration/EventListenerList:event_250916_213234,event_250916_213235" where EventName is event_250916_213234,event_250916_213235 in events delete the parameter "TaskSchedulerConfiguration/ParamTaskOutList:pp_out,pp_1" where ParamKey is pp_out,pp_1 in parameter output transmission delete the parameter "TaskSchedulerConfiguration/ParamTaskInList:pp_in,pp_1" where ParamKey is pp_in,pp_1 in parameter application delete the output registration "TaskSchedulerConfiguration/TaskOutputRegistryList:6578laxif4d1" where TablePhysicalId is 6578laxif4d1 in product registration.
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

func (r *UpdateTriggerTaskPartiallyRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerTaskPartiallyRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "NewSetting")
	delete(f, "FieldToRemoveList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTriggerTaskPartiallyRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerTaskPartiallyResponseParams struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *UpdateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTriggerTaskPartiallyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTriggerTaskPartiallyResponseParams `json:"Response"`
}

func (r *UpdateTriggerTaskPartiallyResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerTaskPartiallyResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerTaskRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	Task *UpdateTriggerTaskBrief `json:"Task,omitnil,omitempty" name:"Task"`
}

type UpdateTriggerTaskRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Task basic attributes.
	Task *UpdateTriggerTaskBrief `json:"Task,omitnil,omitempty" name:"Task"`
}

func (r *UpdateTriggerTaskRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerTaskRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "TaskId")
	delete(f, "Task")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTriggerTaskRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerTaskResponseParams struct {
	// Task ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Data *UpdateTaskResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTriggerTaskResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTriggerTaskResponseParams `json:"Response"`
}

func (r *UpdateTriggerTaskResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerTaskResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateTriggerWorkflowPartially struct {
	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Responsible person ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Workflow parameter array.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unify scheduling parameters.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// BundleInfo item.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameter.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`
}

// Predefined struct for user
type UpdateTriggerWorkflowPartiallyRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Responsible person ID.
	NewSetting *UpdateTriggerWorkflowPartially `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identify in the form of property path, separate deleted values with ":" and multiple values with ",".
	// Delete the attributes "WorkflowParams:aa,bb" where ParamKey is aa,bb in the scheduling parameters.
	// Delete the scheduling configuration with TriggerId "da46d950-d5ca-4cfb-a5a9-f3c2eeea1bf0" in TriggerWorkflowSchedulerConfigurations. 
	// Delete the spark sql general parameter "GeneralTaskParams: spark_sql". 
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

type UpdateTriggerWorkflowPartiallyRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Responsible person ID.
	NewSetting *UpdateTriggerWorkflowPartially `json:"NewSetting,omitnil,omitempty" name:"NewSetting"`

	// Delete field content, identify in the form of property path, separate deleted values with ":" and multiple values with ",".
	// Delete the attributes "WorkflowParams:aa,bb" where ParamKey is aa,bb in the scheduling parameters.
	// Delete the scheduling configuration with TriggerId "da46d950-d5ca-4cfb-a5a9-f3c2eeea1bf0" in TriggerWorkflowSchedulerConfigurations. 
	// Delete the spark sql general parameter "GeneralTaskParams: spark_sql". 
	FieldToRemoveList []*string `json:"FieldToRemoveList,omitnil,omitempty" name:"FieldToRemoveList"`
}

func (r *UpdateTriggerWorkflowPartiallyRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerWorkflowPartiallyRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "NewSetting")
	delete(f, "FieldToRemoveList")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTriggerWorkflowPartiallyRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerWorkflowPartiallyResponseParams struct {
	// true represents success, false represents failure.
	Data *UpdateTriggerWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTriggerWorkflowPartiallyResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTriggerWorkflowPartiallyResponseParams `json:"Response"`
}

func (r *UpdateTriggerWorkflowPartiallyResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerWorkflowPartiallyResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Responsible person ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Remarks
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow parameter list.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unify scheduling parameters.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameters configuration.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`
}

type UpdateTriggerWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Responsible person ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Remarks
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow parameter list.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unify scheduling parameters.
	TriggerWorkflowSchedulerConfigurations []*WorkflowTriggerConfig `json:"TriggerWorkflowSchedulerConfigurations,omitnil,omitempty" name:"TriggerWorkflowSchedulerConfigurations"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`

	// General parameters configuration.
	GeneralTaskParams []*WorkflowGeneralTaskParam `json:"GeneralTaskParams,omitnil,omitempty" name:"GeneralTaskParams"`
}

func (r *UpdateTriggerWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowName")
	delete(f, "OwnerUin")
	delete(f, "WorkflowDesc")
	delete(f, "WorkflowParams")
	delete(f, "TriggerWorkflowSchedulerConfigurations")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	delete(f, "GeneralTaskParams")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateTriggerWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateTriggerWorkflowResponseParams struct {
	// true represents successful, false represents unsuccessful.
	Data *UpdateTriggerWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateTriggerWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *UpdateTriggerWorkflowResponseParams `json:"Response"`
}

func (r *UpdateTriggerWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateTriggerWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateTriggerWorkflowResult struct {
	// Update workflow result.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

// Predefined struct for user
type UpdateWorkflowFolderRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the ListWorkflowFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Specifies the folder name after update.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type UpdateWorkflowFolderRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID. obtain through the ListWorkflowFolders API.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Specifies the folder name after update.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

func (r *UpdateWorkflowFolderRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateWorkflowFolderRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "FolderId")
	delete(f, "FolderName")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateWorkflowFolderRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateWorkflowFolderResponseParams struct {
	// Specifies the update folder result. if the update fails, an error will be reported.
	Data *UpdateFolderResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateWorkflowFolderResponse struct {
	*tchttp.BaseResponse
	Response *UpdateWorkflowFolderResponseParams `json:"Response"`
}

func (r *UpdateWorkflowFolderResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateWorkflowFolderResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateWorkflowRequestParams struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Remarks.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow parameter list.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Specifies unified scheduling parameters.
	WorkflowSchedulerConfiguration *WorkflowSchedulerConfigurationInfo `json:"WorkflowSchedulerConfiguration,omitnil,omitempty" name:"WorkflowSchedulerConfiguration"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type UpdateWorkflowRequest struct {
	*tchttp.BaseRequest
	
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Remarks.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow parameter list.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Specifies unified scheduling parameters.
	WorkflowSchedulerConfiguration *WorkflowSchedulerConfigurationInfo `json:"WorkflowSchedulerConfiguration,omitnil,omitempty" name:"WorkflowSchedulerConfiguration"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// Bundle info.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

func (r *UpdateWorkflowRequest) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateWorkflowRequest) FromJsonString(s string) error {
	f := make(map[string]interface{})
	if err := json.Unmarshal([]byte(s), &f); err != nil {
		return err
	}
	delete(f, "ProjectId")
	delete(f, "WorkflowId")
	delete(f, "WorkflowName")
	delete(f, "OwnerUin")
	delete(f, "WorkflowDesc")
	delete(f, "WorkflowParams")
	delete(f, "WorkflowSchedulerConfiguration")
	delete(f, "BundleId")
	delete(f, "BundleInfo")
	if len(f) > 0 {
		return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpdateWorkflowRequest has unknown keys!", "")
	}
	return json.Unmarshal([]byte(s), &r)
}

// Predefined struct for user
type UpdateWorkflowResponseParams struct {
	// true represents success. false represents failure.
	Data *UpdateWorkflowResult `json:"Data,omitnil,omitempty" name:"Data"`

	// 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.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

type UpdateWorkflowResponse struct {
	*tchttp.BaseResponse
	Response *UpdateWorkflowResponseParams `json:"Response"`
}

func (r *UpdateWorkflowResponse) ToJsonString() string {
    b, _ := json.Marshal(r)
    return string(b)
}

// FromJsonString It is highly **NOT** recommended to use this function
// because it has no param check, nor strict type check
func (r *UpdateWorkflowResponse) FromJsonString(s string) error {
	return json.Unmarshal([]byte(s), &r)
}

type UpdateWorkflowResult struct {
	// Update Workflow Result
	Status *bool `json:"Status,omitnil,omitempty" name:"Status"`
}

type WorkflowDetail struct {
	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Owner ID.
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Workflow type. Valid values: cycle or manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Workflow parameter array.
	WorkflowParams []*ParamInfo `json:"WorkflowParams,omitnil,omitempty" name:"WorkflowParams"`

	// Unified scheduling parameter.
	// .
	WorkflowSchedulerConfiguration *WorkflowSchedulerConfiguration `json:"WorkflowSchedulerConfiguration,omitnil,omitempty" name:"WorkflowSchedulerConfiguration"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Workflow path.
	Path *string `json:"Path,omitnil,omitempty" name:"Path"`

	// BundleId item.
	BundleId *string `json:"BundleId,omitnil,omitempty" name:"BundleId"`

	// BundleInfo item. specifies the bundle information.
	BundleInfo *string `json:"BundleInfo,omitnil,omitempty" name:"BundleInfo"`
}

type WorkflowFolder struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Specifies the absolute path of the folder.
	FolderPath *string `json:"FolderPath,omitnil,omitempty" name:"FolderPath"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`
}

type WorkflowFolderDetail struct {
	// Project ID.
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Folder ID.
	FolderId *string `json:"FolderId,omitnil,omitempty" name:"FolderId"`

	// Absolute path of the folder.
	FolderPath *string `json:"FolderPath,omitnil,omitempty" name:"FolderPath"`

	// Creator ID.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`

	// Parent folder absolute path.
	ParentFolderPath *string `json:"ParentFolderPath,omitnil,omitempty" name:"ParentFolderPath"`

	// Folder name.
	FolderName *string `json:"FolderName,omitnil,omitempty" name:"FolderName"`
}

type WorkflowFolderPage struct {
	// Data page number, equal to or greater than 1.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Specifies the number of data records displayed per page. value range: 10 to 200.
	// Note: This field may return null, indicating that no valid values can be obtained.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of folders.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Folder list.
	Items []*WorkflowFolder `json:"Items,omitnil,omitempty" name:"Items"`
}

type WorkflowGeneralTaskParam struct {
	// Common task parameter type, currently only support SPARK_SQL.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// Common task parameter content. different parameters are separated by semicolons.
	// Split.
	// Note: This field may return null, indicating that no valid values can be obtained.
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type WorkflowInfo struct {
	// Workflow ID.
	WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"`

	// Workflow name.
	WorkflowName *string `json:"WorkflowName,omitnil,omitempty" name:"WorkflowName"`

	// Workflow type: cycle or manual.
	WorkflowType *string `json:"WorkflowType,omitnil,omitempty" name:"WorkflowType"`

	// Owner ID
	// 
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// Creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Last Modification Time
	ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"`

	// Last updated user ID.
	UpdateUserUin *string `json:"UpdateUserUin,omitnil,omitempty" name:"UpdateUserUin"`

	// Workflow description.
	WorkflowDesc *string `json:"WorkflowDesc,omitnil,omitempty" name:"WorkflowDesc"`

	// Creator ID.
	CreateUserUin *string `json:"CreateUserUin,omitnil,omitempty" name:"CreateUserUin"`
}

type WorkflowMaxPermission struct {
	// Authorization permission type (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only support CAN_MANAGE).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PermissionType *string `json:"PermissionType,omitnil,omitempty" name:"PermissionType"`
}

type WorkflowPermission struct {
	// Target type (user: user, role: role).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PermissionTargetType *string `json:"PermissionTargetType,omitnil,omitempty" name:"PermissionTargetType"`

	// id array of the authorization target (userId/roleId).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PermissionTargetId *string `json:"PermissionTargetId,omitnil,omitempty" name:"PermissionTargetId"`

	// Authorization permission type array (CAN_VIEW/CAN_RUN/CAN_EDIT/CAN_MANAGE, currently only support CAN_MANAGE).
	// Note: This field may return null, indicating that no valid values can be obtained.
	PermissionTypeList []*string `json:"PermissionTypeList,omitnil,omitempty" name:"PermissionTypeList"`
}

type WorkflowPermissionPage struct {
	// Number of data pages, at least 1.
	PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`

	// Number of records per page. the minimum value is `10`. the maximum value is `200`.
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// Total number of authorized data.
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// Total pages
	TotalPageNumber *uint64 `json:"TotalPageNumber,omitnil,omitempty" name:"TotalPageNumber"`

	// Authorization information list.
	Items []*WorkflowPermission `json:"Items,omitnil,omitempty" name:"Items"`
}

type WorkflowSchedulerConfiguration struct {
	// Specifies the time zone.
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// Period type. Supported types:
	// 
	// ONEOFF_CYCLE: specifies a one-time cycle.
	// YEAR_CYCLE: specifies the year cycle.
	// MONTH_CYCLE: specifies the monthly cycle.
	// WEEK_CYCLE: specifies the week cycle.
	// DAY_CYCLE: specifies the day cycle.
	// HOUR_CYCLE: specifies the hour cycle.
	// MINUTE_CYCLE: specifies the minute cycle.
	// CRONTAB_CYCLE: specifies the crontab expression type
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Self-Dependent. Valid values: parallel, serial, orderly. Default value: serial. 
	SelfDepend *string `json:"SelfDepend,omitnil,omitempty" name:"SelfDepend"`

	// Effective Start Time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Effective End Time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Workflow dependency. Valid values: yes or no.
	DependencyWorkflow *string `json:"DependencyWorkflow,omitnil,omitempty" name:"DependencyWorkflow"`

	// Execution time. specifies the left-closed interval. example: 00:00.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Execution time right closed interval, for example: 23:59.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Cron expression
	// 
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`

	// Whether calendar scheduling is enabled. Valid values: 1 (enabled), 0 (disabled).
	CalendarOpen *string `json:"CalendarOpen,omitnil,omitempty" name:"CalendarOpen"`

	// Calendar name.
	CalendarName *string `json:"CalendarName,omitnil,omitempty" name:"CalendarName"`

	// Calendar id.
	CalendarId *string `json:"CalendarId,omitnil,omitempty" name:"CalendarId"`
}

type WorkflowSchedulerConfigurationInfo struct {
	// Specifies the time zone.
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// Period type. Supported types:
	// 
	// ONEOFF_CYCLE: specifies a one-time cycle.
	// YEAR_CYCLE: specifies the year cycle.
	// MONTH_CYCLE: specifies the monthly cycle.
	// WEEK_CYCLE: specifies the week cycle.
	// DAY_CYCLE: specifies the day cycle.
	// HOUR_CYCLE: specifies the hour cycle.
	// MINUTE_CYCLE: specifies the minute cycle.
	// CRONTAB_CYCLE: specifies the crontab expression type
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Self-Dependent. Valid values: parallel, serial, orderly. Default value: serial. 
	SelfDepend *string `json:"SelfDepend,omitnil,omitempty" name:"SelfDepend"`

	// Effective Start Time
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Effective End Time
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Cron expression
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`

	// Workflow dependency. Valid values: yes or no.
	DependencyWorkflow *string `json:"DependencyWorkflow,omitnil,omitempty" name:"DependencyWorkflow"`

	// 0: Do not modify
	// 1: Reset the task's upstream dependency configuration to the default value
	ModifyCycleValue *string `json:"ModifyCycleValue,omitnil,omitempty" name:"ModifyCycleValue"`

	// The workflow contains cross-workflow dependencies and uses a cron expression for scheduling. If unified scheduling is saved, unsupported dependencies will be disconnected.
	ClearLink *bool `json:"ClearLink,omitnil,omitempty" name:"ClearLink"`

	// Takes effect when ModifyCycleValue = 1. Indicates the default modification of the upstream dependency time dimension. Valid values are:
	// * CRONTAB
	// * DAY
	// * HOUR
	// * LIST_DAY
	// * LIST_HOUR
	// * LIST_MINUTE
	// * MINUTE
	// * MONTH
	// * RANGE_DAY
	// * RANGE_HOUR
	// * RANGE_MINUTE
	// * WEEK
	// * YEAR
	// 
	// https://capi.woa.com/object/detail?product=wedata&env=api_dev&version=2025-08-06&name=WorkflowSchedulerConfigurationInfo
	MainCyclicConfig *string `json:"MainCyclicConfig,omitnil,omitempty" name:"MainCyclicConfig"`

	// Takes effect when ModifyCycleValue = 1. Indicates the default modification of the upstream dependency - instance scope. Valid values are:
	// * ALL_DAY_OF_YEAR
	// * ALL_MONTH_OF_YEAR
	// * CURRENT
	// * CURRENT_DAY
	// * CURRENT_HOUR
	// * CURRENT_MINUTE
	// * CURRENT_MONTH
	// * CURRENT_WEEK
	// * CURRENT_YEAR
	// * PREVIOUS_BEGIN_OF_MONTH
	// * PREVIOUS_DAY
	// * PREVIOUS_DAY_LATER_OFFSET_HOUR
	// * PREVIOUS_DAY_LATER_OFFSET_MINUTE
	// * PREVIOUS_END_OF_MONTH
	// * PREVIOUS_FRIDAY
	// * PREVIOUS_HOUR
	// * PREVIOUS_HOUR_CYCLE
	// * PREVIOUS_HOUR_LATER_OFFSET_MINUTE
	// * PREVIOUS_MINUTE_CYCLE
	// * PREVIOUS_MONTH
	// * PREVIOUS_WEEK
	// * PREVIOUS_WEEKEND
	// * RECENT_DATE
	// 
	// https://capi.woa.com/object/detail?product=wedata&env=api_dev&version=2025-08-06&name=WorkflowSchedulerConfigurationInfo
	SubordinateCyclicConfig *string `json:"SubordinateCyclicConfig,omitnil,omitempty" name:"SubordinateCyclicConfig"`

	// Execution time left closed interval, for example: 00:00. only required when the CycleType is MINUTE_CYCLE.
	ExecutionStartTime *string `json:"ExecutionStartTime,omitnil,omitempty" name:"ExecutionStartTime"`

	// Execution time right closed interval, for example: 23:59. only required when the CycleType is MINUTE_CYCLE.
	ExecutionEndTime *string `json:"ExecutionEndTime,omitnil,omitempty" name:"ExecutionEndTime"`

	// Whether calendar scheduling is enabled. Valid values: 1 (enabled), 0 (disabled).
	CalendarOpen *string `json:"CalendarOpen,omitnil,omitempty" name:"CalendarOpen"`

	// Calendar id.
	CalendarId *string `json:"CalendarId,omitnil,omitempty" name:"CalendarId"`
}

type WorkflowTriggerConfig struct {
	// Trigger mode.
	// -Scheduled TRIGGER: TIME_TRIGGER.
	// - CONTINUE_RUN: continuously RUN.
	// -FILE_ARRIVAL.
	// 
	// Note:.
	// -In TIME_TRIGGER and CONTINUE_RUN mode, SchedulerStatus, SchedulerTimeZone, StartTime, EndTime, ConfigMode, CycleType, and CrontabExpression are required.
	// -In FILE_ARRIVAL mode, FileArrivalPath, TriggerMinimumIntervalSecond, and TriggerWaitTimeSecond are required.
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerMode *string `json:"TriggerMode,omitnil,omitempty" name:"TriggerMode"`

	// Convert WorkflowTriggerConfig into Json format for reconciliation usage.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ExtraInfo *string `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"`

	// Scheduling time zone.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ScheduleTimeZone *string `json:"ScheduleTimeZone,omitnil,omitempty" name:"ScheduleTimeZone"`

	// Schedule effective time.
	// Note: This field may return null, indicating that no valid values can be obtained.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Schedule end time
	// Note: This field may return null, indicating that no valid values can be obtained.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Setting method, general: COMMON, CRON EXPRESSION: CRON_EXPRESSION.
	// Note: This field may return null, indicating that no valid values can be obtained.
	ConfigMode *string `json:"ConfigMode,omitnil,omitempty" name:"ConfigMode"`

	// Period type: supported types are.
	// ONEOFF_CYCLE: one-time.
	// YEAR_CYCLE: year.
	// MONTH_CYCLE: month.
	// WEEK_CYCLE: week.
	// DAY_CYCLE: day.
	// HOUR_CYCLE: hr.
	// MINUTE_CYCLE: minute.
	// CRONTAB_CYCLE: crontab expression type.
	// Note: This field may return null, indicating that no valid values can be obtained.
	CycleType *string `json:"CycleType,omitnil,omitempty" name:"CycleType"`

	// Cron expression
	// Note: This field may return null, indicating that no valid values can be obtained.
	CrontabExpression *string `json:"CrontabExpression,omitnil,omitempty" name:"CrontabExpression"`

	// triggerId, uuid
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerId *string `json:"TriggerId,omitnil,omitempty" name:"TriggerId"`

	// Listening path in the storage system under file arrival mode.
	// Note: This field may return null, indicating that no valid values can be obtained.
	FileArrivalPath *string `json:"FileArrivalPath,omitnil,omitempty" name:"FileArrivalPath"`

	// File arrival mode triggers the shortest interval (unit: s).
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerMinimumIntervalSecond *uint64 `json:"TriggerMinimumIntervalSecond,omitnil,omitempty" name:"TriggerMinimumIntervalSecond"`

	// File arrival in mode. trigger waiting time (unit: seconds).
	// Note: This field may return null, indicating that no valid values can be obtained.
	TriggerWaitTimeSecond *uint64 `json:"TriggerWaitTimeSecond,omitnil,omitempty" name:"TriggerWaitTimeSecond"`

	// Trigger status. valid values: ACTIVE (start), PAUSED (suspend).
	// Note: This field may return null, indicating that no valid values can be obtained.
	SchedulerStatus *string `json:"SchedulerStatus,omitnil,omitempty" name:"SchedulerStatus"`
}