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



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



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

def RuleId
  @RuleId
end

#RuleNameObject



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