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
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.
288 289 290 291 292 |
# File 'lib/v20240125/models.rb', line 288 def initialize(overviews=nil, total=nil, requestid=nil) @Overviews = overviews @Total = total @RequestId = requestid end |
Instance Attribute Details
#Overviews ⇒ Object
286 287 288 |
# File 'lib/v20240125/models.rb', line 286 def Overviews @Overviews end |
#RequestId ⇒ Object
286 287 288 |
# File 'lib/v20240125/models.rb', line 286 def RequestId @RequestId end |
#Total ⇒ Object
286 287 288 |
# File 'lib/v20240125/models.rb', line 286 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
294 295 296 297 298 299 300 301 302 303 304 305 |
# File 'lib/v20240125/models.rb', line 294 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 |