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.
10793 10794 10795 10796 10797 |
# File 'lib/v20180228/models.rb', line 10793 def initialize(total=nil, locations=nil, requestid=nil) @Total = total @Locations = locations @RequestId = requestid end |
Instance Attribute Details
#Locations ⇒ Object
10791 10792 10793 |
# File 'lib/v20180228/models.rb', line 10791 def Locations @Locations end |
#RequestId ⇒ Object
10791 10792 10793 |
# File 'lib/v20180228/models.rb', line 10791 def RequestId @RequestId end |
#Total ⇒ Object
10791 10792 10793 |
# File 'lib/v20180228/models.rb', line 10791 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 |
# File 'lib/v20180228/models.rb', line 10799 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 |