Class: TencentCloud::Clb::V20180317::DescribeResourcesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::DescribeResourcesResponse
- Defined in:
- lib/v20180317/models.rb
Overview
DescribeResources返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zoneresourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeResourcesResponse
constructor
A new instance of DescribeResourcesResponse.
Constructor Details
#initialize(zoneresourceset = nil, totalcount = nil, requestid = nil) ⇒ DescribeResourcesResponse
Returns a new instance of DescribeResourcesResponse.
3871 3872 3873 3874 3875 |
# File 'lib/v20180317/models.rb', line 3871 def initialize(zoneresourceset=nil, totalcount=nil, requestid=nil) @ZoneResourceSet = zoneresourceset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3869 3870 3871 |
# File 'lib/v20180317/models.rb', line 3869 def RequestId @RequestId end |
#TotalCount ⇒ Object
3869 3870 3871 |
# File 'lib/v20180317/models.rb', line 3869 def TotalCount @TotalCount end |
#ZoneResourceSet ⇒ Object
3869 3870 3871 |
# File 'lib/v20180317/models.rb', line 3869 def ZoneResourceSet @ZoneResourceSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 |
# File 'lib/v20180317/models.rb', line 3877 def deserialize(params) unless params['ZoneResourceSet'].nil? @ZoneResourceSet = [] params['ZoneResourceSet'].each do |i| zoneresource_tmp = ZoneResource.new zoneresource_tmp.deserialize(i) @ZoneResourceSet << zoneresource_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |