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.
5021 5022 5023 5024 5025 |
# File 'lib/v20180709/models.rb', line 5021 def initialize(id=nil, rulelist=nil, month=nil) @Id = id @RuleList = rulelist @Month = month end |
Instance Attribute Details
#Id ⇒ Object
5019 5020 5021 |
# File 'lib/v20180709/models.rb', line 5019 def Id @Id end |
#Month ⇒ Object
5019 5020 5021 |
# File 'lib/v20180709/models.rb', line 5019 def Month @Month end |
#RuleList ⇒ Object
5019 5020 5021 |
# File 'lib/v20180709/models.rb', line 5019 def RuleList @RuleList end |
Instance Method Details
#deserialize(params) ⇒ Object
5027 5028 5029 5030 5031 5032 5033 5034 |
# File 'lib/v20180709/models.rb', line 5027 def deserialize(params) @Id = params['Id'] unless params['RuleList'].nil? @RuleList = GatherRuleSummary.new @RuleList.deserialize(params['RuleList']) end @Month = params['Month'] end |