Class: TencentCloud::Billing::V20180709::ModifyAllocationUnitRequest

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

Overview

ModifyAllocationUnit请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#IdObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



9337
9338
9339
# File 'lib/v20180709/models.rb', line 9337

def Id
  @Id
end

#MonthObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



9337
9338
9339
# File 'lib/v20180709/models.rb', line 9337

def Month
  @Month
end

#NameObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



9337
9338
9339
# File 'lib/v20180709/models.rb', line 9337

def Name
  @Name
end

#RemarkObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



9337
9338
9339
# File 'lib/v20180709/models.rb', line 9337

def Remark
  @Remark
end

#SourceIdObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



9337
9338
9339
# File 'lib/v20180709/models.rb', line 9337

def SourceId
  @SourceId
end

#SourceNameObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

    修改后分账单元源组织名称

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



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