Class: TencentCloud::Mps::V20190612::CreateLiveRecordTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::CreateLiveRecordTemplateRequest
- Defined in:
- lib/v20190612/models.rb
Overview
CreateLiveRecordTemplate请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hlsconfigure = nil, mp4configure = nil, name = nil, comment = nil, recordtype = nil) ⇒ CreateLiveRecordTemplateRequest
constructor
A new instance of CreateLiveRecordTemplateRequest.
Constructor Details
#initialize(hlsconfigure = nil, mp4configure = nil, name = nil, comment = nil, recordtype = nil) ⇒ CreateLiveRecordTemplateRequest
Returns a new instance of CreateLiveRecordTemplateRequest.
8647 8648 8649 8650 8651 8652 8653 |
# File 'lib/v20190612/models.rb', line 8647 def initialize(hlsconfigure=nil, mp4configure=nil, name=nil, comment=nil, recordtype=nil) @HLSConfigure = hlsconfigure @MP4Configure = mp4configure @Name = name @Comment = comment @RecordType = recordtype end |
Instance Attribute Details
#Comment ⇒ Object
8645 8646 8647 |
# File 'lib/v20190612/models.rb', line 8645 def Comment @Comment end |
#HLSConfigure ⇒ Object
8645 8646 8647 |
# File 'lib/v20190612/models.rb', line 8645 def HLSConfigure @HLSConfigure end |
#MP4Configure ⇒ Object
8645 8646 8647 |
# File 'lib/v20190612/models.rb', line 8645 def MP4Configure @MP4Configure end |
#Name ⇒ Object
8645 8646 8647 |
# File 'lib/v20190612/models.rb', line 8645 def Name @Name end |
#RecordType ⇒ Object
8645 8646 8647 |
# File 'lib/v20190612/models.rb', line 8645 def RecordType @RecordType end |
Instance Method Details
#deserialize(params) ⇒ Object
8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 |
# File 'lib/v20190612/models.rb', line 8655 def deserialize(params) unless params['HLSConfigure'].nil? @HLSConfigure = HLSConfigureInfo.new @HLSConfigure.deserialize(params['HLSConfigure']) end unless params['MP4Configure'].nil? @MP4Configure = MP4ConfigureInfo.new @MP4Configure.deserialize(params['MP4Configure']) end @Name = params['Name'] @Comment = params['Comment'] @RecordType = params['RecordType'] end |