Class: TencentCloud::Billing::V20180709::CreateGatherRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::CreateGatherRuleRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateGatherRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, rulelist = nil, month = nil) ⇒ CreateGatherRuleRequest
constructor
A new instance of CreateGatherRuleRequest.
Constructor Details
#initialize(id = nil, rulelist = nil, month = nil) ⇒ CreateGatherRuleRequest
Returns a new instance of CreateGatherRuleRequest.
4300 4301 4302 4303 4304 |
# File 'lib/v20180709/models.rb', line 4300 def initialize(id=nil, rulelist=nil, month=nil) @Id = id @RuleList = rulelist @Month = month end |
Instance Attribute Details
#Id ⇒ Object
4298 4299 4300 |
# File 'lib/v20180709/models.rb', line 4298 def Id @Id end |
#Month ⇒ Object
4298 4299 4300 |
# File 'lib/v20180709/models.rb', line 4298 def Month @Month end |
#RuleList ⇒ Object
4298 4299 4300 |
# File 'lib/v20180709/models.rb', line 4298 def RuleList @RuleList end |
Instance Method Details
#deserialize(params) ⇒ Object
4306 4307 4308 4309 4310 4311 4312 4313 |
# File 'lib/v20180709/models.rb', line 4306 def deserialize(params) @Id = params['Id'] unless params['RuleList'].nil? @RuleList = GatherRuleSummary.new @RuleList.deserialize(params['RuleList']) end @Month = params['Month'] end |