Class: TencentCloud::Billing::V20180709::AllocationRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::AllocationRule
- Defined in:
- lib/v20180709/models.rb
Overview
当前资源命中公摊规则信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, rulename = nil) ⇒ AllocationRule
constructor
A new instance of AllocationRule.
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
#RuleId ⇒ Object
778 779 780 |
# File 'lib/v20180709/models.rb', line 778 def RuleId @RuleId end |
#RuleName ⇒ Object
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 |