Class: TencentCloud::Dasb::V20191018::DescribeDeviceGroupsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dasb::V20191018::DescribeDeviceGroupsResponse
- Defined in:
- lib/v20191018/models.rb
Overview
DescribeDeviceGroups返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, groupset = nil, requestid = nil) ⇒ DescribeDeviceGroupsResponse
constructor
A new instance of DescribeDeviceGroupsResponse.
Constructor Details
#initialize(totalcount = nil, groupset = nil, requestid = nil) ⇒ DescribeDeviceGroupsResponse
Returns a new instance of DescribeDeviceGroupsResponse.
2368 2369 2370 2371 2372 |
# File 'lib/v20191018/models.rb', line 2368 def initialize(totalcount=nil, groupset=nil, requestid=nil) @TotalCount = totalcount @GroupSet = groupset @RequestId = requestid end |
Instance Attribute Details
#GroupSet ⇒ Object
2366 2367 2368 |
# File 'lib/v20191018/models.rb', line 2366 def GroupSet @GroupSet end |
#RequestId ⇒ Object
2366 2367 2368 |
# File 'lib/v20191018/models.rb', line 2366 def RequestId @RequestId end |
#TotalCount ⇒ Object
2366 2367 2368 |
# File 'lib/v20191018/models.rb', line 2366 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 |
# File 'lib/v20191018/models.rb', line 2374 def deserialize(params) @TotalCount = params['TotalCount'] unless params['GroupSet'].nil? @GroupSet = [] params['GroupSet'].each do |i| group_tmp = Group.new group_tmp.deserialize(i) @GroupSet << group_tmp end end @RequestId = params['RequestId'] end |