Class: TencentCloud::Tem::V20201221::NamespacePage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::NamespacePage
- Defined in:
- lib/v20201221/models.rb
Overview
命名空间分页
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(records = nil, total = nil, size = nil, pages = nil) ⇒ NamespacePage
constructor
A new instance of NamespacePage.
Constructor Details
#initialize(records = nil, total = nil, size = nil, pages = nil) ⇒ NamespacePage
Returns a new instance of NamespacePage.
1604 1605 1606 1607 1608 1609 |
# File 'lib/v20201221/models.rb', line 1604 def initialize(records=nil, total=nil, size=nil, pages=nil) @Records = records @Total = total @Size = size @Pages = pages end |
Instance Attribute Details
#Pages ⇒ Object
1602 1603 1604 |
# File 'lib/v20201221/models.rb', line 1602 def Pages @Pages end |
#Records ⇒ Object
1602 1603 1604 |
# File 'lib/v20201221/models.rb', line 1602 def Records @Records end |
#Size ⇒ Object
1602 1603 1604 |
# File 'lib/v20201221/models.rb', line 1602 def Size @Size end |
#Total ⇒ Object
1602 1603 1604 |
# File 'lib/v20201221/models.rb', line 1602 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 |
# File 'lib/v20201221/models.rb', line 1611 def deserialize(params) unless params['Records'].nil? @Records = [] params['Records'].each do |i| temnamespaceinfo_tmp = TemNamespaceInfo.new temnamespaceinfo_tmp.deserialize(i) @Records << temnamespaceinfo_tmp end end @Total = params['Total'] @Size = params['Size'] @Pages = params['Pages'] end |