Class: TencentCloud::Cwp::V20180228::DescribeAssetWebLocationListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeAssetWebLocationListResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeAssetWebLocationList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, locations = nil, requestid = nil) ⇒ DescribeAssetWebLocationListResponse
constructor
A new instance of DescribeAssetWebLocationListResponse.
Constructor Details
#initialize(total = nil, locations = nil, requestid = nil) ⇒ DescribeAssetWebLocationListResponse
Returns a new instance of DescribeAssetWebLocationListResponse.
10814 10815 10816 10817 10818 |
# File 'lib/v20180228/models.rb', line 10814 def initialize(total=nil, locations=nil, requestid=nil) @Total = total @Locations = locations @RequestId = requestid end |
Instance Attribute Details
#Locations ⇒ Object
10812 10813 10814 |
# File 'lib/v20180228/models.rb', line 10812 def Locations @Locations end |
#RequestId ⇒ Object
10812 10813 10814 |
# File 'lib/v20180228/models.rb', line 10812 def RequestId @RequestId end |
#Total ⇒ Object
10812 10813 10814 |
# File 'lib/v20180228/models.rb', line 10812 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 |
# File 'lib/v20180228/models.rb', line 10820 def deserialize(params) @Total = params['Total'] unless params['Locations'].nil? @Locations = [] params['Locations'].each do |i| assetweblocationbaseinfo_tmp = AssetWebLocationBaseInfo.new assetweblocationbaseinfo_tmp.deserialize(i) @Locations << assetweblocationbaseinfo_tmp end end @RequestId = params['RequestId'] end |