Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateFlowService(request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
- func (c *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
- func (c *Client) DescribeExecutionHistory(request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
- func (c *Client) DescribeExecutions(request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
- func (c *Client) DescribeFlowServiceDetail(request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
- func (c *Client) DescribeFlowServices(request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
- func (c *Client) ModifyFlowService(request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
- func (c *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
- func (c *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
- type CreateFlowServiceRequest
- type CreateFlowServiceResponse
- type DescribeExecutionHistoryRequest
- type DescribeExecutionHistoryResponse
- type DescribeExecutionRequest
- type DescribeExecutionResponse
- type DescribeExecutionsRequest
- type DescribeExecutionsResponse
- type DescribeFlowServiceDetailRequest
- type DescribeFlowServiceDetailResponse
- type DescribeFlowServicesRequest
- type DescribeFlowServicesResponse
- type ExecutionEvent
- type Filter
- type ModifyFlowServiceRequest
- type ModifyFlowServiceResponse
- type StartExecutionRequest
- type StartExecutionResponse
- type StateMachine
- type StopExecutionRequest
- type StopExecutionResponse
Constants ¶
const APIVersion = "2020-07-22"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateFlowService ¶
func (c *Client) CreateFlowService(request *CreateFlowServiceRequest) (response *CreateFlowServiceResponse, err error)
该接口用于生成状态机服务
func (*Client) DescribeExecution ¶
func (c *Client) DescribeExecution(request *DescribeExecutionRequest) (response *DescribeExecutionResponse, err error)
查询执行详细信息
func (*Client) DescribeExecutionHistory ¶
func (c *Client) DescribeExecutionHistory(request *DescribeExecutionHistoryRequest) (response *DescribeExecutionHistoryResponse, err error)
一次执行会有很多步骤,经过很多节点,这个接口描述某一次执行的事件的历史
func (*Client) DescribeExecutions ¶
func (c *Client) DescribeExecutions(request *DescribeExecutionsRequest) (response *DescribeExecutionsResponse, err error)
对状态机的执行历史进行描述.
func (*Client) DescribeFlowServiceDetail ¶
func (c *Client) DescribeFlowServiceDetail(request *DescribeFlowServiceDetailRequest) (response *DescribeFlowServiceDetailResponse, err error)
查询该用户指定状态机下的详情数据。
func (*Client) DescribeFlowServices ¶
func (c *Client) DescribeFlowServices(request *DescribeFlowServicesRequest) (response *DescribeFlowServicesResponse, err error)
查询指定用户下所有状态机,以列表形式返回
func (*Client) ModifyFlowService ¶
func (c *Client) ModifyFlowService(request *ModifyFlowServiceRequest) (response *ModifyFlowServiceResponse, err error)
该接口用于修改状态机
func (*Client) StartExecution ¶
func (c *Client) StartExecution(request *StartExecutionRequest) (response *StartExecutionResponse, err error)
为指定的状态机启动一次执行
func (*Client) StopExecution ¶
func (c *Client) StopExecution(request *StopExecutionRequest) (response *StopExecutionResponse, err error)
终止某个状态机
type CreateFlowServiceRequest ¶
type CreateFlowServiceRequest struct { *tchttp.BaseRequest // 定义文本(JSON格式) Definition *string `json:"Definition,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitempty" name:"FlowServiceName"` // 是不是新的角色 IsNewRole *bool `json:"IsNewRole,omitempty" name:"IsNewRole"` // 状态机类型(EXPRESS,STANDARD) Type *string `json:"Type,omitempty" name:"Type"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitempty" name:"FlowServiceChineseName"` // 角色资源名, 比如: qcs::cam::uin/20103392:roleName/SomeRoleForYourStateMachine RoleResource *string `json:"RoleResource,omitempty" name:"RoleResource"` // 备注 Description *string `json:"Description,omitempty" name:"Description"` // 是否开启CLS日志投递功能 EnableCLS *bool `json:"EnableCLS,omitempty" name:"EnableCLS"` // 该状态机的默认输入 Input *string `json:"Input,omitempty" name:"Input"` }
func NewCreateFlowServiceRequest ¶
func NewCreateFlowServiceRequest() (request *CreateFlowServiceRequest)
func (*CreateFlowServiceRequest) FromJsonString ¶
func (r *CreateFlowServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFlowServiceRequest) ToJsonString ¶
func (r *CreateFlowServiceRequest) ToJsonString() string
type CreateFlowServiceResponse ¶
type CreateFlowServiceResponse struct { *tchttp.BaseResponse Response *struct { // 状态机所属服务资源 FlowServiceResource *string `json:"FlowServiceResource,omitempty" name:"FlowServiceResource"` // 生成日期 CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateFlowServiceResponse ¶
func NewCreateFlowServiceResponse() (response *CreateFlowServiceResponse)
func (*CreateFlowServiceResponse) FromJsonString ¶
func (r *CreateFlowServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFlowServiceResponse) ToJsonString ¶
func (r *CreateFlowServiceResponse) ToJsonString() string
type DescribeExecutionHistoryRequest ¶
type DescribeExecutionHistoryRequest struct { *tchttp.BaseRequest // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitempty" name:"ExecutionResourceName"` }
func NewDescribeExecutionHistoryRequest ¶
func NewDescribeExecutionHistoryRequest() (request *DescribeExecutionHistoryRequest)
func (*DescribeExecutionHistoryRequest) FromJsonString ¶
func (r *DescribeExecutionHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionHistoryRequest) ToJsonString ¶
func (r *DescribeExecutionHistoryRequest) ToJsonString() string
type DescribeExecutionHistoryResponse ¶
type DescribeExecutionHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 执行的事件列表 Events []*ExecutionEvent `json:"Events,omitempty" name:"Events" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeExecutionHistoryResponse ¶
func NewDescribeExecutionHistoryResponse() (response *DescribeExecutionHistoryResponse)
func (*DescribeExecutionHistoryResponse) FromJsonString ¶
func (r *DescribeExecutionHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionHistoryResponse) ToJsonString ¶
func (r *DescribeExecutionHistoryResponse) ToJsonString() string
type DescribeExecutionRequest ¶
type DescribeExecutionRequest struct { *tchttp.BaseRequest // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitempty" name:"ExecutionResourceName"` }
func NewDescribeExecutionRequest ¶
func NewDescribeExecutionRequest() (request *DescribeExecutionRequest)
func (*DescribeExecutionRequest) FromJsonString ¶
func (r *DescribeExecutionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionRequest) ToJsonString ¶
func (r *DescribeExecutionRequest) ToJsonString() string
type DescribeExecutionResponse ¶
type DescribeExecutionResponse struct { *tchttp.BaseResponse Response *struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitempty" name:"ExecutionResourceName"` // 资源名称 Name *string `json:"Name,omitempty" name:"Name"` // 执行开始时间,毫秒 StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // 执行结束时间,毫秒 StopDate *string `json:"StopDate,omitempty" name:"StopDate"` // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitempty" name:"StateMachineResourceName"` // 执行状态。INIT,RUNNING,SUCCEED,FAILED,TERMINATED Status *string `json:"Status,omitempty" name:"Status"` // 执行的输入 // 注意:此字段可能返回 null,表示取不到有效值。 Input *string `json:"Input,omitempty" name:"Input"` // 执行的输出 // 注意:此字段可能返回 null,表示取不到有效值。 Output *string `json:"Output,omitempty" name:"Output"` // 启动执行时,状态机的定义 ExecutionDefinition *string `json:"ExecutionDefinition,omitempty" name:"ExecutionDefinition"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeExecutionResponse ¶
func NewDescribeExecutionResponse() (response *DescribeExecutionResponse)
func (*DescribeExecutionResponse) FromJsonString ¶
func (r *DescribeExecutionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionResponse) ToJsonString ¶
func (r *DescribeExecutionResponse) ToJsonString() string
type DescribeExecutionsRequest ¶
type DescribeExecutionsRequest struct { *tchttp.BaseRequest // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitempty" name:"StateMachineResourceName"` // 页大小,最大100 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 页序号,从1开始 PageIndex *int64 `json:"PageIndex,omitempty" name:"PageIndex"` // 按状态过滤条件,INIT,RUNNING,SUCCEED,FAILED,TERMINATED FilterExecutionStatus *string `json:"FilterExecutionStatus,omitempty" name:"FilterExecutionStatus"` // 按执行名过滤条件 FilterExecutionResourceName *string `json:"FilterExecutionResourceName,omitempty" name:"FilterExecutionResourceName"` }
func NewDescribeExecutionsRequest ¶
func NewDescribeExecutionsRequest() (request *DescribeExecutionsRequest)
func (*DescribeExecutionsRequest) FromJsonString ¶
func (r *DescribeExecutionsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionsRequest) ToJsonString ¶
func (r *DescribeExecutionsRequest) ToJsonString() string
type DescribeExecutionsResponse ¶
type DescribeExecutionsResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeExecutionsResponse ¶
func NewDescribeExecutionsResponse() (response *DescribeExecutionsResponse)
func (*DescribeExecutionsResponse) FromJsonString ¶
func (r *DescribeExecutionsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExecutionsResponse) ToJsonString ¶
func (r *DescribeExecutionsResponse) ToJsonString() string
type DescribeFlowServiceDetailRequest ¶
type DescribeFlowServiceDetailRequest struct { *tchttp.BaseRequest // 状态机所属服务资源名 FlowServiceResource *string `json:"FlowServiceResource,omitempty" name:"FlowServiceResource"` }
func NewDescribeFlowServiceDetailRequest ¶
func NewDescribeFlowServiceDetailRequest() (request *DescribeFlowServiceDetailRequest)
func (*DescribeFlowServiceDetailRequest) FromJsonString ¶
func (r *DescribeFlowServiceDetailRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowServiceDetailRequest) ToJsonString ¶
func (r *DescribeFlowServiceDetailRequest) ToJsonString() string
type DescribeFlowServiceDetailResponse ¶
type DescribeFlowServiceDetailResponse struct { *tchttp.BaseResponse Response *struct { // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitempty" name:"FlowServiceName"` // 状态机状态 Status *string `json:"Status,omitempty" name:"Status"` // 定义文本(JSON格式) // 注意:此字段可能返回 null,表示取不到有效值。 Definition *string `json:"Definition,omitempty" name:"Definition"` // 角色资源名 // 注意:此字段可能返回 null,表示取不到有效值。 RoleResource *string `json:"RoleResource,omitempty" name:"RoleResource"` // 状态机的类型,可以为 (EXPRESS/STANDARD) Type *string `json:"Type,omitempty" name:"Type"` // 生成时间 CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // 备注 // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitempty" name:"Description"` // 状态机所属服务中文名 // 注意:此字段可能返回 null,表示取不到有效值。 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitempty" name:"FlowServiceChineseName"` // 是否开启日志CLS服务 // 注意:此字段可能返回 null,表示取不到有效值。 EnableCLS *bool `json:"EnableCLS,omitempty" name:"EnableCLS"` // CLS日志查看地址 // 注意:此字段可能返回 null,表示取不到有效值。 CLSUrl *string `json:"CLSUrl,omitempty" name:"CLSUrl"` // 工作流提示输入 // 注意:此字段可能返回 null,表示取不到有效值。 FlowInput *string `json:"FlowInput,omitempty" name:"FlowInput"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFlowServiceDetailResponse ¶
func NewDescribeFlowServiceDetailResponse() (response *DescribeFlowServiceDetailResponse)
func (*DescribeFlowServiceDetailResponse) FromJsonString ¶
func (r *DescribeFlowServiceDetailResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowServiceDetailResponse) ToJsonString ¶
func (r *DescribeFlowServiceDetailResponse) ToJsonString() string
type DescribeFlowServicesRequest ¶
type DescribeFlowServicesRequest struct { *tchttp.BaseRequest // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 过滤条件,详见下表:实例过滤条件表。每次请求的Filter.Values的上限为5。参数名字仅支持FlowServiceName, Status, Type三种情况 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewDescribeFlowServicesRequest ¶
func NewDescribeFlowServicesRequest() (request *DescribeFlowServicesRequest)
func (*DescribeFlowServicesRequest) FromJsonString ¶
func (r *DescribeFlowServicesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowServicesRequest) ToJsonString ¶
func (r *DescribeFlowServicesRequest) ToJsonString() string
type DescribeFlowServicesResponse ¶
type DescribeFlowServicesResponse struct { *tchttp.BaseResponse Response *struct { // 用户的状态机列表 FlowServiceSet []*StateMachine `json:"FlowServiceSet,omitempty" name:"FlowServiceSet" list` // 用户的状态机总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeFlowServicesResponse ¶
func NewDescribeFlowServicesResponse() (response *DescribeFlowServicesResponse)
func (*DescribeFlowServicesResponse) FromJsonString ¶
func (r *DescribeFlowServicesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFlowServicesResponse) ToJsonString ¶
func (r *DescribeFlowServicesResponse) ToJsonString() string
type ExecutionEvent ¶
type ExecutionEvent struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitempty" name:"ExecutionResourceName"` // 自增序号 EventId *int64 `json:"EventId,omitempty" name:"EventId"` // 事件类型 EventCategory *string `json:"EventCategory,omitempty" name:"EventCategory"` // 步骤节点名称 StepName *string `json:"StepName,omitempty" name:"StepName"` // 该步骤引用的资源名 ResourceName *string `json:"ResourceName,omitempty" name:"ResourceName"` // 该事件发生时间,毫秒 Timestamp *string `json:"Timestamp,omitempty" name:"Timestamp"` // 事件内容 Content *string `json:"Content,omitempty" name:"Content"` // 异常信息 // 注意:此字段可能返回 null,表示取不到有效值。 Exception *string `json:"Exception,omitempty" name:"Exception"` }
type ModifyFlowServiceRequest ¶
type ModifyFlowServiceRequest struct { *tchttp.BaseRequest // 状态机资源名 FlowServiceResource *string `json:"FlowServiceResource,omitempty" name:"FlowServiceResource"` // 定义JSON Definition *string `json:"Definition,omitempty" name:"Definition"` // 状态机所属服务名 FlowServiceName *string `json:"FlowServiceName,omitempty" name:"FlowServiceName"` // 状态机所属服务中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitempty" name:"FlowServiceChineseName"` // 是否是新角色 IsNewRole *bool `json:"IsNewRole,omitempty" name:"IsNewRole"` // 状态机类型 Type *string `json:"Type,omitempty" name:"Type"` // 角色资源名 RoleResource *string `json:"RoleResource,omitempty" name:"RoleResource"` // 状态机备注 Description *string `json:"Description,omitempty" name:"Description"` // 是否允许日志投递 EnableCLS *bool `json:"EnableCLS,omitempty" name:"EnableCLS"` }
func NewModifyFlowServiceRequest ¶
func NewModifyFlowServiceRequest() (request *ModifyFlowServiceRequest)
func (*ModifyFlowServiceRequest) FromJsonString ¶
func (r *ModifyFlowServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFlowServiceRequest) ToJsonString ¶
func (r *ModifyFlowServiceRequest) ToJsonString() string
type ModifyFlowServiceResponse ¶
type ModifyFlowServiceResponse struct { *tchttp.BaseResponse Response *struct { // 状态机资源名 FlowServiceResource *string `json:"FlowServiceResource,omitempty" name:"FlowServiceResource"` // 更新时间 UpdateDate *string `json:"UpdateDate,omitempty" name:"UpdateDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyFlowServiceResponse ¶
func NewModifyFlowServiceResponse() (response *ModifyFlowServiceResponse)
func (*ModifyFlowServiceResponse) FromJsonString ¶
func (r *ModifyFlowServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFlowServiceResponse) ToJsonString ¶
func (r *ModifyFlowServiceResponse) ToJsonString() string
type StartExecutionRequest ¶
type StartExecutionRequest struct { *tchttp.BaseRequest // 状态机资源名 StateMachineResourceName *string `json:"StateMachineResourceName,omitempty" name:"StateMachineResourceName"` // 输入参数 Input *string `json:"Input,omitempty" name:"Input"` // 本次执行名。如果不填,系统会自动生成。如果填,应保证状态机下唯一 Name *string `json:"Name,omitempty" name:"Name"` }
func NewStartExecutionRequest ¶
func NewStartExecutionRequest() (request *StartExecutionRequest)
func (*StartExecutionRequest) FromJsonString ¶
func (r *StartExecutionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartExecutionRequest) ToJsonString ¶
func (r *StartExecutionRequest) ToJsonString() string
type StartExecutionResponse ¶
type StartExecutionResponse struct { *tchttp.BaseResponse Response *struct { // 执行资源名 ExecutionResourceName *string `json:"ExecutionResourceName,omitempty" name:"ExecutionResourceName"` // 执行开始时间 StartDate *string `json:"StartDate,omitempty" name:"StartDate"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStartExecutionResponse ¶
func NewStartExecutionResponse() (response *StartExecutionResponse)
func (*StartExecutionResponse) FromJsonString ¶
func (r *StartExecutionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartExecutionResponse) ToJsonString ¶
func (r *StartExecutionResponse) ToJsonString() string
type StateMachine ¶
type StateMachine struct { // 状态机资源 FlowServiceResource *string `json:"FlowServiceResource,omitempty" name:"FlowServiceResource"` // 状态机类型。EXPRESS,STANDARD Type *string `json:"Type,omitempty" name:"Type"` // 状态机名称 FlowServiceName *string `json:"FlowServiceName,omitempty" name:"FlowServiceName"` // 状态机中文名 FlowServiceChineseName *string `json:"FlowServiceChineseName,omitempty" name:"FlowServiceChineseName"` // 创建时间。timestamp CreateDate *string `json:"CreateDate,omitempty" name:"CreateDate"` // 修改时间。timestamp ModifyDate *string `json:"ModifyDate,omitempty" name:"ModifyDate"` // 状态机状态 Status *string `json:"Status,omitempty" name:"Status"` // 创建者的subAccountUin // 注意:此字段可能返回 null,表示取不到有效值。 Creator *string `json:"Creator,omitempty" name:"Creator"` // 修改者的subAccountUin // 注意:此字段可能返回 null,表示取不到有效值。 Modifier *string `json:"Modifier,omitempty" name:"Modifier"` // 状态机id FlowServiceId *string `json:"FlowServiceId,omitempty" name:"FlowServiceId"` // 模板id TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"` // 备注 Description *string `json:"Description,omitempty" name:"Description"` }
type StopExecutionRequest ¶
type StopExecutionRequest struct { *tchttp.BaseRequest // 执行名称 ExecutionQrn *string `json:"ExecutionQrn,omitempty" name:"ExecutionQrn"` }
func NewStopExecutionRequest ¶
func NewStopExecutionRequest() (request *StopExecutionRequest)
func (*StopExecutionRequest) FromJsonString ¶
func (r *StopExecutionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopExecutionRequest) ToJsonString ¶
func (r *StopExecutionRequest) ToJsonString() string
type StopExecutionResponse ¶
type StopExecutionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStopExecutionResponse ¶
func NewStopExecutionResponse() (response *StopExecutionResponse)
func (*StopExecutionResponse) FromJsonString ¶
func (r *StopExecutionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopExecutionResponse) ToJsonString ¶
func (r *StopExecutionResponse) ToJsonString() string