Class: TencentCloud::Essbasic::V20210526::ChannelCreateFlowByFilesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Essbasic::V20210526::ChannelCreateFlowByFilesResponse
- Defined in:
- lib/v20210526/models.rb
Overview
ChannelCreateFlowByFiles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowid = nil, approvers = nil, previewurl = nil, requestid = nil) ⇒ ChannelCreateFlowByFilesResponse
constructor
A new instance of ChannelCreateFlowByFilesResponse.
Constructor Details
#initialize(flowid = nil, approvers = nil, previewurl = nil, requestid = nil) ⇒ ChannelCreateFlowByFilesResponse
Returns a new instance of ChannelCreateFlowByFilesResponse.
2001 2002 2003 2004 2005 2006 |
# File 'lib/v20210526/models.rb', line 2001 def initialize(flowid=nil, approvers=nil, previewurl=nil, requestid=nil) @FlowId = flowid @Approvers = approvers @PreviewUrl = previewurl @RequestId = requestid end |
Instance Attribute Details
#Approvers ⇒ Object
1999 2000 2001 |
# File 'lib/v20210526/models.rb', line 1999 def Approvers @Approvers end |
#FlowId ⇒ Object
1999 2000 2001 |
# File 'lib/v20210526/models.rb', line 1999 def FlowId @FlowId end |
#PreviewUrl ⇒ Object
1999 2000 2001 |
# File 'lib/v20210526/models.rb', line 1999 def PreviewUrl @PreviewUrl end |
#RequestId ⇒ Object
1999 2000 2001 |
# File 'lib/v20210526/models.rb', line 1999 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'lib/v20210526/models.rb', line 2008 def deserialize(params) @FlowId = params['FlowId'] unless params['Approvers'].nil? @Approvers = [] params['Approvers'].each do |i| approveritem_tmp = ApproverItem.new approveritem_tmp.deserialize(i) @Approvers << approveritem_tmp end end @PreviewUrl = params['PreviewUrl'] @RequestId = params['RequestId'] end |