Class: TencentCloud::Billing::V20180709::DataForBudgetOperationLogPage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DataForBudgetOperationLogPage
- 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) ⇒ DataForBudgetOperationLogPage
constructor
A new instance of DataForBudgetOperationLogPage.
Constructor Details
#initialize(pages = nil, size = nil, total = nil, records = nil, current = nil) ⇒ DataForBudgetOperationLogPage
Returns a new instance of DataForBudgetOperationLogPage.
5113 5114 5115 5116 5117 5118 5119 |
# File 'lib/v20180709/models.rb', line 5113 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,表示取不到有效值。
5111 5112 5113 |
# File 'lib/v20180709/models.rb', line 5111 def Current @Current end |
#Pages ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5111 5112 5113 |
# File 'lib/v20180709/models.rb', line 5111 def Pages @Pages end |
#Records ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5111 5112 5113 |
# File 'lib/v20180709/models.rb', line 5111 def Records @Records end |
#Size ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5111 5112 5113 |
# File 'lib/v20180709/models.rb', line 5111 def Size @Size end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5111 5112 5113 |
# File 'lib/v20180709/models.rb', line 5111 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 |
# File 'lib/v20180709/models.rb', line 5121 def deserialize(params) @Pages = params['Pages'] @Size = params['Size'] @Total = params['Total'] unless params['Records'].nil? @Records = [] params['Records'].each do |i| budgetoperationlogentity_tmp = BudgetOperationLogEntity.new budgetoperationlogentity_tmp.deserialize(i) @Records << budgetoperationlogentity_tmp end end @Current = params['Current'] end |