Class: TencentCloud::Mna::V20210119::GetGroupListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetGroupListResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetGroupList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(groupinfos = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetGroupListResponse
constructor
A new instance of GetGroupListResponse.
Constructor Details
#initialize(groupinfos = nil, length = nil, totalpage = nil, requestid = nil) ⇒ GetGroupListResponse
Returns a new instance of GetGroupListResponse.
1568 1569 1570 1571 1572 1573 |
# File 'lib/v20210119/models.rb', line 1568 def initialize(groupinfos=nil, length=nil, totalpage=nil, requestid=nil) @GroupInfos = groupinfos @Length = length @TotalPage = totalpage @RequestId = requestid end |
Instance Attribute Details
#GroupInfos ⇒ Object
1566 1567 1568 |
# File 'lib/v20210119/models.rb', line 1566 def GroupInfos @GroupInfos end |
#Length ⇒ Object
1566 1567 1568 |
# File 'lib/v20210119/models.rb', line 1566 def Length @Length end |
#RequestId ⇒ Object
1566 1567 1568 |
# File 'lib/v20210119/models.rb', line 1566 def RequestId @RequestId end |
#TotalPage ⇒ Object
1566 1567 1568 |
# File 'lib/v20210119/models.rb', line 1566 def TotalPage @TotalPage end |
Instance Method Details
#deserialize(params) ⇒ Object
1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/v20210119/models.rb', line 1575 def deserialize(params) unless params['GroupInfos'].nil? @GroupInfos = [] params['GroupInfos'].each do |i| groupinfo_tmp = GroupInfo.new groupinfo_tmp.deserialize(i) @GroupInfos << groupinfo_tmp end end @Length = params['Length'] @TotalPage = params['TotalPage'] @RequestId = params['RequestId'] end |