Class: TencentCloud::Billing::V20180709::CreateAllocationRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::CreateAllocationRuleRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateAllocationRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulelist = nil, month = nil) ⇒ CreateAllocationRuleRequest
constructor
A new instance of CreateAllocationRuleRequest.
Constructor Details
#initialize(rulelist = nil, month = nil) ⇒ CreateAllocationRuleRequest
Returns a new instance of CreateAllocationRuleRequest.
4786 4787 4788 4789 |
# File 'lib/v20180709/models.rb', line 4786 def initialize(rulelist=nil, month=nil) @RuleList = rulelist @Month = month end |
Instance Attribute Details
#Month ⇒ Object
4784 4785 4786 |
# File 'lib/v20180709/models.rb', line 4784 def Month @Month end |
#RuleList ⇒ Object
4784 4785 4786 |
# File 'lib/v20180709/models.rb', line 4784 def RuleList @RuleList end |
Instance Method Details
#deserialize(params) ⇒ Object
4791 4792 4793 4794 4795 4796 4797 |
# File 'lib/v20180709/models.rb', line 4791 def deserialize(params) unless params['RuleList'].nil? @RuleList = AllocationRulesSummary.new @RuleList.deserialize(params['RuleList']) end @Month = params['Month'] end |