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.



10367
10368
10369
10370
10371
10372
10373
10374
# File 'lib/v20180709/models.rb', line 10367

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:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def Id
  @Id
end

#MonthObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

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

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def Month
  @Month
end

#NameObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

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

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def Name
  @Name
end

#RemarkObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

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

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def Remark
  @Remark
end

#SourceIdObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

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

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def SourceId
  @SourceId
end

#SourceNameObject

Parameters:

  • Id:

    所修改分账单元ID

  • Name:

    修改后分账单元名称

  • SourceName:

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

  • SourceId:

    修改后分账单元源组织ID

  • Remark:

    分账单元备注说明

  • Month:

    月份,不传默认当前月



10365
10366
10367
# File 'lib/v20180709/models.rb', line 10365

def SourceName
  @SourceName
end

Instance Method Details

#deserialize(params) ⇒ Object



10376
10377
10378
10379
10380
10381
10382
10383
# File 'lib/v20180709/models.rb', line 10376

def deserialize(params)
  @Id = params['Id']
  @Name = params['Name']
  @SourceName = params['SourceName']
  @SourceId = params['SourceId']
  @Remark = params['Remark']
  @Month = params['Month']
end