Class: TencentCloud::Vod::V20180717::RebuildMediaTargetInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::RebuildMediaTargetInfo
- Defined in:
- lib/v20180717/models.rb
Overview
画质重生目标参数
Instance Attribute Summary collapse
-
#AudioStream ⇒ Object
默认值:0。.
-
#ClassId ⇒ Object
默认值:0。.
-
#Container ⇒ Object
默认值:0。.
-
#Description ⇒ Object
默认值:0。.
-
#ExpireTime ⇒ Object
默认值:0。.
-
#MediaName ⇒ Object
默认值:0。.
-
#RemoveAudio ⇒ Object
默认值:0。.
-
#RemoveVideo ⇒ Object
默认值:0。.
-
#VideoStream ⇒ Object
默认值:0。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(medianame = nil, description = nil, classid = nil, expiretime = nil, container = nil, videostream = nil, audiostream = nil, removevideo = nil, removeaudio = nil) ⇒ RebuildMediaTargetInfo
constructor
A new instance of RebuildMediaTargetInfo.
Constructor Details
#initialize(medianame = nil, description = nil, classid = nil, expiretime = nil, container = nil, videostream = nil, audiostream = nil, removevideo = nil, removeaudio = nil) ⇒ RebuildMediaTargetInfo
Returns a new instance of RebuildMediaTargetInfo.
24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 |
# File 'lib/v20180717/models.rb', line 24207 def initialize(medianame=nil, description=nil, classid=nil, expiretime=nil, container=nil, videostream=nil, audiostream=nil, removevideo=nil, removeaudio=nil) @MediaName = medianame @Description = description @ClassId = classid @ExpireTime = expiretime @Container = container @VideoStream = videostream @AudioStream = audiostream @RemoveVideo = removevideo @RemoveAudio = removeaudio end |
Instance Attribute Details
#AudioStream ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def AudioStream @AudioStream end |
#ClassId ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def ClassId @ClassId end |
#Container ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def Container @Container end |
#Description ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def Description @Description end |
#ExpireTime ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def ExpireTime @ExpireTime end |
#MediaName ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def MediaName @MediaName end |
#RemoveAudio ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def RemoveAudio @RemoveAudio end |
#RemoveVideo ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def RemoveVideo @RemoveVideo end |
#VideoStream ⇒ Object
默认值:0。
24205 24206 24207 |
# File 'lib/v20180717/models.rb', line 24205 def VideoStream @VideoStream end |
Instance Method Details
#deserialize(params) ⇒ Object
24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 |
# File 'lib/v20180717/models.rb', line 24219 def deserialize(params) @MediaName = params['MediaName'] @Description = params['Description'] @ClassId = params['ClassId'] @ExpireTime = params['ExpireTime'] @Container = params['Container'] unless params['VideoStream'].nil? @VideoStream = RebuildMediaTargetVideoStream.new @VideoStream.deserialize(params['VideoStream']) end unless params['AudioStream'].nil? @AudioStream = RebuildMediaTargetAudioStream.new @AudioStream.deserialize(params['AudioStream']) end @RemoveVideo = params['RemoveVideo'] @RemoveAudio = params['RemoveAudio'] end |