Class: TencentCloud::Tem::V20210701::NamespacePage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::NamespacePage
- Defined in:
- lib/v20210701/models.rb
Overview
命名空间分页
Instance Attribute Summary collapse
-
#Current ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Pages ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Records ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Size ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(records = nil, total = nil, size = nil, pages = nil, current = nil) ⇒ NamespacePage
constructor
A new instance of NamespacePage.
Constructor Details
#initialize(records = nil, total = nil, size = nil, pages = nil, current = nil) ⇒ NamespacePage
Returns a new instance of NamespacePage.
3933 3934 3935 3936 3937 3938 3939 |
# File 'lib/v20210701/models.rb', line 3933 def initialize(records=nil, total=nil, size=nil, pages=nil, current=nil) @Records = records @Total = total @Size = size @Pages = pages @Current = current end |
Instance Attribute Details
#Current ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3931 3932 3933 |
# File 'lib/v20210701/models.rb', line 3931 def Current @Current end |
#Pages ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3931 3932 3933 |
# File 'lib/v20210701/models.rb', line 3931 def Pages @Pages end |
#Records ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3931 3932 3933 |
# File 'lib/v20210701/models.rb', line 3931 def Records @Records end |
#Size ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3931 3932 3933 |
# File 'lib/v20210701/models.rb', line 3931 def Size @Size end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3931 3932 3933 |
# File 'lib/v20210701/models.rb', line 3931 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 |
# File 'lib/v20210701/models.rb', line 3941 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'] @Current = params['Current'] end |