Class: TencentCloud::Live::V20180801::DescribeLiveSnapshotRulesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveSnapshotRulesResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveSnapshotRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rules = nil, requestid = nil) ⇒ DescribeLiveSnapshotRulesResponse
constructor
A new instance of DescribeLiveSnapshotRulesResponse.
Constructor Details
#initialize(rules = nil, requestid = nil) ⇒ DescribeLiveSnapshotRulesResponse
Returns a new instance of DescribeLiveSnapshotRulesResponse.
7689 7690 7691 7692 |
# File 'lib/v20180801/models.rb', line 7689 def initialize(rules=nil, requestid=nil) @Rules = rules @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7687 7688 7689 |
# File 'lib/v20180801/models.rb', line 7687 def RequestId @RequestId end |
#Rules ⇒ Object
7687 7688 7689 |
# File 'lib/v20180801/models.rb', line 7687 def Rules @Rules end |
Instance Method Details
#deserialize(params) ⇒ Object
7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 |
# File 'lib/v20180801/models.rb', line 7694 def deserialize(params) unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| ruleinfo_tmp = RuleInfo.new ruleinfo_tmp.deserialize(i) @Rules << ruleinfo_tmp end end @RequestId = params['RequestId'] end |