Class: TencentCloud::Billing::V20180709::ModifyGatherRuleRequest

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

Overview

ModifyGatherRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, ruledetail = nil, month = nil) ⇒ ModifyGatherRuleRequest

Returns a new instance of ModifyGatherRuleRequest.



9385
9386
9387
9388
9389
# File 'lib/v20180709/models.rb', line 9385

def initialize(id=nil, ruledetail=nil, month=nil)
  @Id = id
  @RuleDetail = ruledetail
  @Month = month
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    所编辑归集规则ID

  • RuleDetail:

    所编辑分账规则详情

  • Month:

    月份,不传默认当前月



9383
9384
9385
# File 'lib/v20180709/models.rb', line 9383

def Id
  @Id
end

#MonthObject

Parameters:

  • Id:

    所编辑归集规则ID

  • RuleDetail:

    所编辑分账规则详情

  • Month:

    月份,不传默认当前月



9383
9384
9385
# File 'lib/v20180709/models.rb', line 9383

def Month
  @Month
end

#RuleDetailObject

Parameters:

  • Id:

    所编辑归集规则ID

  • RuleDetail:

    所编辑分账规则详情

  • Month:

    月份,不传默认当前月



9383
9384
9385
# File 'lib/v20180709/models.rb', line 9383

def RuleDetail
  @RuleDetail
end

Instance Method Details

#deserialize(params) ⇒ Object



9391
9392
9393
9394
9395
9396
9397
9398
# File 'lib/v20180709/models.rb', line 9391

def deserialize(params)
  @Id = params['Id']
  unless params['RuleDetail'].nil?
    @RuleDetail = AllocationRuleExpression.new
    @RuleDetail.deserialize(params['RuleDetail'])
  end
  @Month = params['Month']
end