Class: TencentCloud::Essbasic::V20210526::ChannelCancelFlowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::ChannelCancelFlowRequest
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20210526/models.rb
Overview
ChannelCancelFlow请求参数结构体
Instance Attribute Summary collapse
-
#Agent ⇒ Object
. -
#CancelMessage ⇒ Object
. -
#CancelMessageFormat ⇒ Object
. -
#FlowId ⇒ Object
. -
#Operator ⇒ Object
.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowid = nil, agent = nil, cancelmessage = nil, cancelmessageformat = nil, operator = nil) ⇒ ChannelCancelFlowRequest
constructor
A new instance of ChannelCancelFlowRequest.
Constructor Details
#initialize(flowid = nil, agent = nil, cancelmessage = nil, cancelmessageformat = nil, operator = nil) ⇒ ChannelCancelFlowRequest
Returns a new instance of ChannelCancelFlowRequest.
861 862 863 864 865 866 867 |
# File 'lib/v20210526/models.rb', line 861 def initialize(flowid=nil, agent=nil, =nil, =nil, operator=nil) @FlowId = flowid @Agent = agent @CancelMessage = @CancelMessageFormat = @Operator = operator end |
Instance Attribute Details
#Agent ⇒ Object

856 857 858 |
# File 'lib/v20210526/models.rb', line 856 def Agent @Agent end |
#CancelMessage ⇒ Object

856 857 858 |
# File 'lib/v20210526/models.rb', line 856 def CancelMessage @CancelMessage end |
#CancelMessageFormat ⇒ Object

856 857 858 |
# File 'lib/v20210526/models.rb', line 856 def CancelMessageFormat @CancelMessageFormat end |
#FlowId ⇒ Object

856 857 858 |
# File 'lib/v20210526/models.rb', line 856 def FlowId @FlowId end |
#Operator ⇒ Object

856 857 858 |
# File 'lib/v20210526/models.rb', line 856 def Operator @Operator end |
Instance Method Details
#deserialize(params) ⇒ Object
869 870 871 872 873 874 875 876 877 878 879 880 881 |
# File 'lib/v20210526/models.rb', line 869 def deserialize(params) @FlowId = params['FlowId'] unless params['Agent'].nil? @Agent = Agent.new @Agent.deserialize(params['Agent']) end @CancelMessage = params['CancelMessage'] @CancelMessageFormat = params['CancelMessageFormat'] unless params['Operator'].nil? @Operator = UserInfo.new @Operator.deserialize(params['Operator']) end end |