Class: TencentCloud::Billing::V20180709::AllocationUnit
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::AllocationUnit
- Defined in:
- lib/v20180709/models.rb
Overview
分账单元id和名称
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nodeid = nil, treenodeuniqkeyname = nil) ⇒ AllocationUnit
constructor
A new instance of AllocationUnit.
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
#NodeId ⇒ Object
1660 1661 1662 |
# File 'lib/v20180709/models.rb', line 1660 def NodeId @NodeId end |
#TreeNodeUniqKeyName ⇒ Object
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 |