Class: TencentCloud::Organization::V20210331::DescribeOrganizationFinancialByProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DescribeOrganizationFinancialByProductResponse
- Defined in:
- lib/v20210331/models.rb
Overview
DescribeOrganizationFinancialByProduct返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcost = nil, items = nil, total = nil, requestid = nil) ⇒ DescribeOrganizationFinancialByProductResponse
constructor
A new instance of DescribeOrganizationFinancialByProductResponse.
Constructor Details
#initialize(totalcost = nil, items = nil, total = nil, requestid = nil) ⇒ DescribeOrganizationFinancialByProductResponse
Returns a new instance of DescribeOrganizationFinancialByProductResponse.
2512 2513 2514 2515 2516 2517 |
# File 'lib/v20210331/models.rb', line 2512 def initialize(totalcost=nil, items=nil, total=nil, requestid=nil) @TotalCost = totalcost @Items = items @Total = total @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
2510 2511 2512 |
# File 'lib/v20210331/models.rb', line 2510 def Items @Items end |
#RequestId ⇒ Object
2510 2511 2512 |
# File 'lib/v20210331/models.rb', line 2510 def RequestId @RequestId end |
#Total ⇒ Object
2510 2511 2512 |
# File 'lib/v20210331/models.rb', line 2510 def Total @Total end |
#TotalCost ⇒ Object
2510 2511 2512 |
# File 'lib/v20210331/models.rb', line 2510 def TotalCost @TotalCost end |
Instance Method Details
#deserialize(params) ⇒ Object
2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 |
# File 'lib/v20210331/models.rb', line 2519 def deserialize(params) @TotalCost = params['TotalCost'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| orgproductfinancial_tmp = OrgProductFinancial.new orgproductfinancial_tmp.deserialize(i) @Items << orgproductfinancial_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |