Class: TencentCloud::Billing::V20180709::AllocationUnit

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

Overview

分账单元id和名称

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nodeid = nil, treenodeuniqkeyname = nil) ⇒ AllocationUnit

Returns a new instance of AllocationUnit.



1662
1663
1664
1665
# File 'lib/v20180709/models.rb', line 1662

def initialize(nodeid=nil, treenodeuniqkeyname=nil)
  @NodeId = nodeid
  @TreeNodeUniqKeyName = treenodeuniqkeyname
end

Instance Attribute Details

#NodeIdObject

Parameters:

  • NodeId:

    分账单元ID

  • TreeNodeUniqKeyName:

    分账规则名称



1660
1661
1662
# File 'lib/v20180709/models.rb', line 1660

def NodeId
  @NodeId
end

#TreeNodeUniqKeyNameObject

Parameters:

  • NodeId:

    分账单元ID

  • TreeNodeUniqKeyName:

    分账规则名称



1660
1661
1662
# File 'lib/v20180709/models.rb', line 1660

def TreeNodeUniqKeyName
  @TreeNodeUniqKeyName
end

Instance Method Details

#deserialize(params) ⇒ Object



1667
1668
1669
1670
# File 'lib/v20180709/models.rb', line 1667

def deserialize(params)
  @NodeId = params['NodeId']
  @TreeNodeUniqKeyName = params['TreeNodeUniqKeyName']
end