Class: TencentCloud::Billing::V20180709::CreateAllocationUnitRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::CreateAllocationUnitRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateAllocationUnit请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(parentid = nil, name = nil, month = nil) ⇒ CreateAllocationUnitRequest
constructor
A new instance of CreateAllocationUnitRequest.
Constructor Details
#initialize(parentid = nil, name = nil, month = nil) ⇒ CreateAllocationUnitRequest
Returns a new instance of CreateAllocationUnitRequest.
4252 4253 4254 4255 4256 |
# File 'lib/v20180709/models.rb', line 4252 def initialize(parentid=nil, name=nil, month=nil) @ParentId = parentid @Name = name @Month = month end |
Instance Attribute Details
#Month ⇒ Object
4250 4251 4252 |
# File 'lib/v20180709/models.rb', line 4250 def Month @Month end |
#Name ⇒ Object
4250 4251 4252 |
# File 'lib/v20180709/models.rb', line 4250 def Name @Name end |
#ParentId ⇒ Object
4250 4251 4252 |
# File 'lib/v20180709/models.rb', line 4250 def ParentId @ParentId end |
Instance Method Details
#deserialize(params) ⇒ Object
4258 4259 4260 4261 4262 |
# File 'lib/v20180709/models.rb', line 4258 def deserialize(params) @ParentId = params['ParentId'] @Name = params['Name'] @Month = params['Month'] end |