Class: TencentCloud::Billing::V20180709::ModifyAllocationUnitRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::ModifyAllocationUnitRequest
- Defined in:
- lib/v20180709/models.rb
Overview
ModifyAllocationUnit请求参数结构体
Instance Attribute Summary collapse
- #Id ⇒ Object
- #Month ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #SourceId ⇒ Object
- #SourceName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, name = nil, sourcename = nil, sourceid = nil, remark = nil, month = nil) ⇒ ModifyAllocationUnitRequest
constructor
A new instance of ModifyAllocationUnitRequest.
Constructor Details
#initialize(id = nil, name = nil, sourcename = nil, sourceid = nil, remark = nil, month = nil) ⇒ ModifyAllocationUnitRequest
Returns a new instance of ModifyAllocationUnitRequest.
9339 9340 9341 9342 9343 9344 9345 9346 |
# File 'lib/v20180709/models.rb', line 9339 def initialize(id=nil, name=nil, sourcename=nil, sourceid=nil, remark=nil, month=nil) @Id = id @Name = name @SourceName = sourcename @SourceId = sourceid @Remark = remark @Month = month end |
Instance Attribute Details
#Id ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def Id @Id end |
#Month ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def Month @Month end |
#Name ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def Name @Name end |
#Remark ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def Remark @Remark end |
#SourceId ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def SourceId @SourceId end |
#SourceName ⇒ Object
9337 9338 9339 |
# File 'lib/v20180709/models.rb', line 9337 def SourceName @SourceName end |
Instance Method Details
#deserialize(params) ⇒ Object
9348 9349 9350 9351 9352 9353 9354 9355 |
# File 'lib/v20180709/models.rb', line 9348 def deserialize(params) @Id = params['Id'] @Name = params['Name'] @SourceName = params['SourceName'] @SourceId = params['SourceId'] @Remark = params['Remark'] @Month = params['Month'] end |