Class: TencentCloud::Live::V20180801::DescribeLiveSnapshotTemplatesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::DescribeLiveSnapshotTemplatesResponse
- Defined in:
- lib/v20180801/models.rb
Overview
DescribeLiveSnapshotTemplates返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templates = nil, requestid = nil) ⇒ DescribeLiveSnapshotTemplatesResponse
constructor
A new instance of DescribeLiveSnapshotTemplatesResponse.
Constructor Details
#initialize(templates = nil, requestid = nil) ⇒ DescribeLiveSnapshotTemplatesResponse
Returns a new instance of DescribeLiveSnapshotTemplatesResponse.
7767 7768 7769 7770 |
# File 'lib/v20180801/models.rb', line 7767 def initialize(templates=nil, requestid=nil) @Templates = templates @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
7765 7766 7767 |
# File 'lib/v20180801/models.rb', line 7765 def RequestId @RequestId end |
#Templates ⇒ Object
7765 7766 7767 |
# File 'lib/v20180801/models.rb', line 7765 def Templates @Templates end |
Instance Method Details
#deserialize(params) ⇒ Object
7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 |
# File 'lib/v20180801/models.rb', line 7772 def deserialize(params) unless params['Templates'].nil? @Templates = [] params['Templates'].each do |i| snapshottemplateinfo_tmp = SnapshotTemplateInfo.new snapshottemplateinfo_tmp.deserialize(i) @Templates << snapshottemplateinfo_tmp end end @RequestId = params['RequestId'] end |