Class: TencentCloud::Organization::V20210331::DescribeOrganizationFinancialByMemberResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210331/models.rb

Overview

DescribeOrganizationFinancialByMember返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcost = nil, items = nil, total = nil, requestid = nil) ⇒ DescribeOrganizationFinancialByMemberResponse



2386
2387
2388
2389
2390
2391
# File 'lib/v20210331/models.rb', line 2386

def initialize(totalcost=nil, items=nil, total=nil, requestid=nil)
  @TotalCost = totalcost
  @Items = items
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject



2384
2385
2386
# File 'lib/v20210331/models.rb', line 2384

def Items
  @Items
end

#RequestIdObject



2384
2385
2386
# File 'lib/v20210331/models.rb', line 2384

def RequestId
  @RequestId
end

#TotalObject



2384
2385
2386
# File 'lib/v20210331/models.rb', line 2384

def Total
  @Total
end

#TotalCostObject



2384
2385
2386
# File 'lib/v20210331/models.rb', line 2384

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
# File 'lib/v20210331/models.rb', line 2393

def deserialize(params)
  @TotalCost = params['TotalCost']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      orgmemberfinancial_tmp = OrgMemberFinancial.new
      orgmemberfinancial_tmp.deserialize(i)
      @Items << orgmemberfinancial_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end