Class: TencentCloud::Essbasic::V20210526::FlowResourceUrlInfo

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

Overview

流程对应资源链接信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flowid = nil, resourceurlinfos = nil) ⇒ FlowResourceUrlInfo

Returns a new instance of FlowResourceUrlInfo.



10001
10002
10003
10004
# File 'lib/v20210526/models.rb', line 10001

def initialize(flowid=nil, resourceurlinfos=nil)
  @FlowId = flowid
  @ResourceUrlInfos = resourceurlinfos
end

Instance Attribute Details

#FlowIdObject

Parameters:

  • FlowId:

    合同流程的ID

  • ResourceUrlInfos:

    对应的合同流程的PDF下载链接



9999
10000
10001
# File 'lib/v20210526/models.rb', line 9999

def FlowId
  @FlowId
end

#ResourceUrlInfosObject

Parameters:

  • FlowId:

    合同流程的ID

  • ResourceUrlInfos:

    对应的合同流程的PDF下载链接



9999
10000
10001
# File 'lib/v20210526/models.rb', line 9999

def ResourceUrlInfos
  @ResourceUrlInfos
end

Instance Method Details

#deserialize(params) ⇒ Object



10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
# File 'lib/v20210526/models.rb', line 10006

def deserialize(params)
  @FlowId = params['FlowId']
  unless params['ResourceUrlInfos'].nil?
    @ResourceUrlInfos = []
    params['ResourceUrlInfos'].each do |i|
      resourceurlinfo_tmp = ResourceUrlInfo.new
      resourceurlinfo_tmp.deserialize(i)
      @ResourceUrlInfos << resourceurlinfo_tmp
    end
  end
end