Class: TencentCloud::Live::V20180801::CreateLiveRecordTemplateRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CreateLiveRecordTemplateRequest
- Defined in:
- lib/v20180801/models.rb
Overview
CreateLiveRecordTemplate请求参数结构体
Instance Attribute Summary collapse
-
#AacParam ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#CosStore ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#Description ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#FlvParam ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#FlvSpecialParam ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#HlsParam ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#HlsSpecialParam ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#IsDelayLive ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#Mp3Param ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#Mp4Param ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#RemoveWatermark ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
-
#TemplateName ⇒ Object
0:普通直播, 1:慢直播。 如果为false,则录制水印流或转码流;如果为true,则录制原始流。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatename = nil, description = nil, flvparam = nil, hlsparam = nil, mp4param = nil, aacparam = nil, isdelaylive = nil, hlsspecialparam = nil, mp3param = nil, cosstore = nil, removewatermark = nil, flvspecialparam = nil) ⇒ CreateLiveRecordTemplateRequest
constructor
A new instance of CreateLiveRecordTemplateRequest.
Constructor Details
#initialize(templatename = nil, description = nil, flvparam = nil, hlsparam = nil, mp4param = nil, aacparam = nil, isdelaylive = nil, hlsspecialparam = nil, mp3param = nil, cosstore = nil, removewatermark = nil, flvspecialparam = nil) ⇒ CreateLiveRecordTemplateRequest
Returns a new instance of CreateLiveRecordTemplateRequest.
3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 |
# File 'lib/v20180801/models.rb', line 3157 def initialize(templatename=nil, description=nil, flvparam=nil, hlsparam=nil, mp4param=nil, aacparam=nil, isdelaylive=nil, hlsspecialparam=nil, mp3param=nil, cosstore=nil, removewatermark=nil, flvspecialparam=nil) @TemplateName = templatename @Description = description @FlvParam = flvparam @HlsParam = hlsparam @Mp4Param = mp4param @AacParam = aacparam @IsDelayLive = isdelaylive @HlsSpecialParam = hlsspecialparam @Mp3Param = mp3param @CosStore = cosstore @RemoveWatermark = removewatermark @FlvSpecialParam = flvspecialparam end |
Instance Attribute Details
#AacParam ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def AacParam @AacParam end |
#CosStore ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def CosStore @CosStore end |
#Description ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def Description @Description end |
#FlvParam ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def FlvParam @FlvParam end |
#FlvSpecialParam ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def FlvSpecialParam @FlvSpecialParam end |
#HlsParam ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def HlsParam @HlsParam end |
#HlsSpecialParam ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def HlsSpecialParam @HlsSpecialParam end |
#IsDelayLive ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def IsDelayLive @IsDelayLive end |
#Mp3Param ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def Mp3Param @Mp3Param end |
#Mp4Param ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def Mp4Param @Mp4Param end |
#RemoveWatermark ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def RemoveWatermark @RemoveWatermark end |
#TemplateName ⇒ Object
0:普通直播,1:慢直播。如果为false,则录制水印流或转码流;如果为true,则录制原始流。
3155 3156 3157 |
# File 'lib/v20180801/models.rb', line 3155 def TemplateName @TemplateName end |
Instance Method Details
#deserialize(params) ⇒ Object
3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 |
# File 'lib/v20180801/models.rb', line 3172 def deserialize(params) @TemplateName = params['TemplateName'] @Description = params['Description'] unless params['FlvParam'].nil? @FlvParam = RecordParam.new @FlvParam.deserialize(params['FlvParam']) end unless params['HlsParam'].nil? @HlsParam = RecordParam.new @HlsParam.deserialize(params['HlsParam']) end unless params['Mp4Param'].nil? @Mp4Param = RecordParam.new @Mp4Param.deserialize(params['Mp4Param']) end unless params['AacParam'].nil? @AacParam = RecordParam.new @AacParam.deserialize(params['AacParam']) end @IsDelayLive = params['IsDelayLive'] unless params['HlsSpecialParam'].nil? @HlsSpecialParam = HlsSpecialParam.new @HlsSpecialParam.deserialize(params['HlsSpecialParam']) end unless params['Mp3Param'].nil? @Mp3Param = RecordParam.new @Mp3Param.deserialize(params['Mp3Param']) end @CosStore = params['CosStore'] @RemoveWatermark = params['RemoveWatermark'] unless params['FlvSpecialParam'].nil? @FlvSpecialParam = FlvSpecialParam.new @FlvSpecialParam.deserialize(params['FlvSpecialParam']) end end |