Class: TencentCloud::Billing::V20180709::CreateAllocationUnitRequest

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

Overview

CreateAllocationUnit请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#MonthObject

Parameters:

  • ParentId:

    新增分账单元父节点ID

  • Name:

    新增分账单元名称

  • Month:

    月份,不传默认当前月



4250
4251
4252
# File 'lib/v20180709/models.rb', line 4250

def Month
  @Month
end

#NameObject

Parameters:

  • ParentId:

    新增分账单元父节点ID

  • Name:

    新增分账单元名称

  • Month:

    月份,不传默认当前月



4250
4251
4252
# File 'lib/v20180709/models.rb', line 4250

def Name
  @Name
end

#ParentIdObject

Parameters:

  • ParentId:

    新增分账单元父节点ID

  • Name:

    新增分账单元名称

  • Month:

    月份,不传默认当前月



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