Class: TencentCloud::Svp::V20240125::DescribeSavingPlanOverviewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Svp::V20240125::DescribeSavingPlanOverviewResponse
- Defined in:
- lib/v20240125/models.rb
Overview
DescribeSavingPlanOverview返回参数结构体
Instance Attribute Summary collapse
-
#Overviews ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(overviews = nil, total = nil, requestid = nil) ⇒ DescribeSavingPlanOverviewResponse
constructor
A new instance of DescribeSavingPlanOverviewResponse.
Constructor Details
#initialize(overviews = nil, total = nil, requestid = nil) ⇒ DescribeSavingPlanOverviewResponse
Returns a new instance of DescribeSavingPlanOverviewResponse.
216 217 218 219 220 |
# File 'lib/v20240125/models.rb', line 216 def initialize(overviews=nil, total=nil, requestid=nil) @Overviews = overviews @Total = total @RequestId = requestid end |
Instance Attribute Details
#Overviews ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
214 215 216 |
# File 'lib/v20240125/models.rb', line 214 def Overviews @Overviews end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
214 215 216 |
# File 'lib/v20240125/models.rb', line 214 def RequestId @RequestId end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
214 215 216 |
# File 'lib/v20240125/models.rb', line 214 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/v20240125/models.rb', line 222 def deserialize(params) unless params['Overviews'].nil? @Overviews = [] params['Overviews'].each do |i| savingplanoverviewdetail_tmp = SavingPlanOverviewDetail.new savingplanoverviewdetail_tmp.deserialize(i) @Overviews << savingplanoverviewdetail_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |