Class: TencentCloud::Billing::V20180709::DataForBudgetInfoPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DataForBudgetInfoPage
- Defined in:
- lib/v20180709/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(pages = nil, size = nil, total = nil, records = nil, current = nil) ⇒ DataForBudgetInfoPage
constructor
A new instance of DataForBudgetInfoPage.
Constructor Details
#initialize(pages = nil, size = nil, total = nil, records = nil, current = nil) ⇒ DataForBudgetInfoPage
Returns a new instance of DataForBudgetInfoPage.
5073 5074 5075 5076 5077 5078 5079 |
# File 'lib/v20180709/models.rb', line 5073 def initialize(pages=nil, size=nil, total=nil, records=nil, current=nil) @Pages = pages @Size = size @Total = total @Records = records @Current = current end |
Instance Attribute Details
#Current ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5071 5072 5073 |
# File 'lib/v20180709/models.rb', line 5071 def Current @Current end |
#Pages ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5071 5072 5073 |
# File 'lib/v20180709/models.rb', line 5071 def Pages @Pages end |
#Records ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5071 5072 5073 |
# File 'lib/v20180709/models.rb', line 5071 def Records @Records end |
#Size ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5071 5072 5073 |
# File 'lib/v20180709/models.rb', line 5071 def Size @Size end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5071 5072 5073 |
# File 'lib/v20180709/models.rb', line 5071 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 |
# File 'lib/v20180709/models.rb', line 5081 def deserialize(params) @Pages = params['Pages'] @Size = params['Size'] @Total = params['Total'] unless params['Records'].nil? @Records = [] params['Records'].each do |i| budgetextend_tmp = BudgetExtend.new budgetextend_tmp.deserialize(i) @Records << budgetextend_tmp end end @Current = params['Current'] end |