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.
7527 7528 7529 7530 7531 7532 7533 |
# File 'lib/v20190612/models.rb', line 7527 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
7525 7526 7527 |
# File 'lib/v20190612/models.rb', line 7525 def Comment @Comment end |
#HLSConfigure ⇒ Object
7525 7526 7527 |
# File 'lib/v20190612/models.rb', line 7525 def HLSConfigure @HLSConfigure end |
#MP4Configure ⇒ Object
7525 7526 7527 |
# File 'lib/v20190612/models.rb', line 7525 def MP4Configure @MP4Configure end |
#Name ⇒ Object
7525 7526 7527 |
# File 'lib/v20190612/models.rb', line 7525 def Name @Name end |
#RecordType ⇒ Object
7525 7526 7527 |
# File 'lib/v20190612/models.rb', line 7525 def RecordType @RecordType end |
Instance Method Details
#deserialize(params) ⇒ Object
7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 |
# File 'lib/v20190612/models.rb', line 7535 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 |