Class: TencentCloud::Ess::V20201111::CancelFlowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::CancelFlowRequest
- Defined in:
- lib/v20201111/models.rb
Overview
CancelFlow请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。. -
#CancelMessage ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。. -
#FlowId ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。. -
#Operator ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(operator = nil, flowid = nil, cancelmessage = nil, agent = nil) ⇒ CancelFlowRequest
constructor
A new instance of CancelFlowRequest.
Constructor Details
#initialize(operator = nil, flowid = nil, cancelmessage = nil, agent = nil) ⇒ CancelFlowRequest
Returns a new instance of CancelFlowRequest.
1102 1103 1104 1105 1106 1107 |
# File 'lib/v20201111/models.rb', line 1102 def initialize(operator=nil, flowid=nil, =nil, agent=nil) @Operator = operator @FlowId = flowid @CancelMessage = @Agent = agent end |
Instance Attribute Details
#Agent ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
1100 1101 1102 |
# File 'lib/v20201111/models.rb', line 1100 def Agent @Agent end |
#CancelMessage ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
1100 1101 1102 |
# File 'lib/v20201111/models.rb', line 1100 def CancelMessage @CancelMessage end |
#FlowId ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
1100 1101 1102 |
# File 'lib/v20201111/models.rb', line 1100 def FlowId @FlowId end |
#Operator ⇒ Object
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
1100 1101 1102 |
# File 'lib/v20201111/models.rb', line 1100 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 |
# File 'lib/v20201111/models.rb', line 1109 def deserialize(params) unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end @FlowId = params['FlowId'] @CancelMessage = params['CancelMessage'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end end |