Class: TencentCloud::Billing::V20180709::AllocationRule

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

Overview

当前资源命中公摊规则信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ruleid = nil, rulename = nil) ⇒ AllocationRule

Returns a new instance of AllocationRule.



780
781
782
783
# File 'lib/v20180709/models.rb', line 780

def initialize(ruleid=nil, rulename=nil)
  @RuleId = ruleid
  @RuleName = rulename
end

Instance Attribute Details

#RuleIdObject

Parameters:

  • RuleId:

    公摊规则ID

  • RuleName:

    公摊规则名称



778
779
780
# File 'lib/v20180709/models.rb', line 778

def RuleId
  @RuleId
end

#RuleNameObject

Parameters:

  • RuleId:

    公摊规则ID

  • RuleName:

    公摊规则名称



778
779
780
# File 'lib/v20180709/models.rb', line 778

def RuleName
  @RuleName
end

Instance Method Details

#deserialize(params) ⇒ Object



785
786
787
788
# File 'lib/v20180709/models.rb', line 785

def deserialize(params)
  @RuleId = params['RuleId']
  @RuleName = params['RuleName']
end