Class: TencentCloud::Apigateway::V20180808::DescribeUpstreamInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::DescribeUpstreamInfo
- Defined in:
- lib/v20180808/models.rb
Overview
查询后端通道返回信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, upstreamset = nil) ⇒ DescribeUpstreamInfo
constructor
A new instance of DescribeUpstreamInfo.
Constructor Details
#initialize(totalcount = nil, upstreamset = nil) ⇒ DescribeUpstreamInfo
5833 5834 5835 5836 |
# File 'lib/v20180808/models.rb', line 5833 def initialize(totalcount=nil, upstreamset=nil) @TotalCount = totalcount @UpstreamSet = upstreamset end |
Instance Attribute Details
#TotalCount ⇒ Object
5831 5832 5833 |
# File 'lib/v20180808/models.rb', line 5831 def TotalCount @TotalCount end |
#UpstreamSet ⇒ Object
5831 5832 5833 |
# File 'lib/v20180808/models.rb', line 5831 def UpstreamSet @UpstreamSet end |
Instance Method Details
#deserialize(params) ⇒ Object
5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 |
# File 'lib/v20180808/models.rb', line 5838 def deserialize(params) @TotalCount = params['TotalCount'] unless params['UpstreamSet'].nil? @UpstreamSet = [] params['UpstreamSet'].each do |i| upstreaminfo_tmp = UpstreamInfo.new upstreaminfo_tmp.deserialize(i) @UpstreamSet << upstreaminfo_tmp end end end |