Class: TencentCloud::Essbasic::V20210526::ChannelCancelFlowRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20210526/models.rb

Overview

ChannelCancelFlow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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, cancelmessage=nil, cancelmessageformat=nil, operator=nil)
  @FlowId = flowid
  @Agent = agent
  @CancelMessage = cancelmessage
  @CancelMessageFormat = cancelmessageformat
  @Operator = operator
end

Instance Attribute Details

#AgentObject

image

Parameters:

  • 暂未开放



856
857
858
# File 'lib/v20210526/models.rb', line 856

def Agent
  @Agent
end

#CancelMessageObject

image

Parameters:

  • 暂未开放



856
857
858
# File 'lib/v20210526/models.rb', line 856

def CancelMessage
  @CancelMessage
end

#CancelMessageFormatObject

image

Parameters:

  • 暂未开放



856
857
858
# File 'lib/v20210526/models.rb', line 856

def CancelMessageFormat
  @CancelMessageFormat
end

#FlowIdObject

image

Parameters:

  • 暂未开放



856
857
858
# File 'lib/v20210526/models.rb', line 856

def FlowId
  @FlowId
end

#OperatorObject

image

Parameters:

  • 暂未开放



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