Class: TencentCloud::Billing::V20180709::ModifyGatherRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::ModifyGatherRuleRequest
- Defined in:
- lib/v20180709/models.rb
Overview
ModifyGatherRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, ruledetail = nil, month = nil) ⇒ ModifyGatherRuleRequest
constructor
A new instance of ModifyGatherRuleRequest.
Constructor Details
#initialize(id = nil, ruledetail = nil, month = nil) ⇒ ModifyGatherRuleRequest
Returns a new instance of ModifyGatherRuleRequest.
9385 9386 9387 9388 9389 |
# File 'lib/v20180709/models.rb', line 9385 def initialize(id=nil, ruledetail=nil, month=nil) @Id = id @RuleDetail = ruledetail @Month = month end |
Instance Attribute Details
#Id ⇒ Object
9383 9384 9385 |
# File 'lib/v20180709/models.rb', line 9383 def Id @Id end |
#Month ⇒ Object
9383 9384 9385 |
# File 'lib/v20180709/models.rb', line 9383 def Month @Month end |
#RuleDetail ⇒ Object
9383 9384 9385 |
# File 'lib/v20180709/models.rb', line 9383 def RuleDetail @RuleDetail end |
Instance Method Details
#deserialize(params) ⇒ Object
9391 9392 9393 9394 9395 9396 9397 9398 |
# File 'lib/v20180709/models.rb', line 9391 def deserialize(params) @Id = params['Id'] unless params['RuleDetail'].nil? @RuleDetail = AllocationRuleExpression.new @RuleDetail.deserialize(params['RuleDetail']) end @Month = params['Month'] end |