Class: TencentCloud::Mna::V20210119::GetGroupDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetGroupDetailResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetGroupDetail返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupinfo = nil, deviceinfos = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetGroupDetailResponse
constructor
A new instance of GetGroupDetailResponse.
Constructor Details
#initialize(groupinfo = nil, deviceinfos = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetGroupDetailResponse
Returns a new instance of GetGroupDetailResponse.
1504 1505 1506 1507 1508 1509 1510 |
# File 'lib/v20210119/models.rb', line 1504 def initialize(groupinfo=nil, deviceinfos=nil, length=nil, totalpage=nil, requestid=nil) @GroupInfo = groupinfo @DeviceInfos = deviceinfos @Length = length @TotalPage = totalpage @RequestId = requestid end |
Instance Attribute Details
#DeviceInfos ⇒ Object
1502 1503 1504 |
# File 'lib/v20210119/models.rb', line 1502 def DeviceInfos @DeviceInfos end |
#GroupInfo ⇒ Object
1502 1503 1504 |
# File 'lib/v20210119/models.rb', line 1502 def GroupInfo @GroupInfo end |
#Length ⇒ Object
1502 1503 1504 |
# File 'lib/v20210119/models.rb', line 1502 def Length @Length end |
#RequestId ⇒ Object
1502 1503 1504 |
# File 'lib/v20210119/models.rb', line 1502 def RequestId @RequestId end |
#TotalPage ⇒ Object
1502 1503 1504 |
# File 'lib/v20210119/models.rb', line 1502 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 |
# File 'lib/v20210119/models.rb', line 1512 def deserialize(params) unless params['GroupInfo'].nil? @GroupInfo = GroupInfo.new @GroupInfo.deserialize(params['GroupInfo']) end unless params['DeviceInfos'].nil? @DeviceInfos = [] params['DeviceInfos'].each do |i| devicebaseinfo_tmp = DeviceBaseInfo.new devicebaseinfo_tmp.deserialize(i) @DeviceInfos << devicebaseinfo_tmp end end @Length = params['Length'] @TotalPage = params['TotalPage'] @RequestId = params['RequestId'] end |