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

Returns a new instance of DescribeOrganizationFinancialByMemberResponse.



2390
2391
2392
2393
2394
2395
# File 'lib/v20210331/models.rb', line 2390

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

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCost:

    当月总消耗。

  • Items:

    成员消耗详情。

  • Total:

    总数目。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCost:

    当月总消耗。

  • Items:

    成员消耗详情。

  • Total:

    总数目。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • TotalCost:

    当月总消耗。

  • Items:

    成员消耗详情。

  • Total:

    总数目。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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

def Total
  @Total
end

#TotalCostObject

Parameters:

  • TotalCost:

    当月总消耗。

  • Items:

    成员消耗详情。

  • Total:

    总数目。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



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

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
# File 'lib/v20210331/models.rb', line 2397

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