Class: TencentCloud::Vod::V20180717::CreateSuperPlayerConfigRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::CreateSuperPlayerConfigRequest
- Defined in:
- lib/v20180717/models.rb
Overview
CreateSuperPlayerConfig请求参数结构体
Instance Attribute Summary collapse
-
#AdaptiveDynamicStreamingDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#AudioVideoType ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#Comment ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#Domain ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#DrmStreamingsInfo ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#DrmSwitch ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#ImageSpriteDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#Name ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#ResolutionNames ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#Scheme ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#SubAppId ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
-
#TranscodeDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。 <li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, subappid = nil, audiovideotype = nil, drmswitch = nil, adaptivedynamicstreamingdefinition = nil, drmstreamingsinfo = nil, transcodedefinition = nil, imagespritedefinition = nil, resolutionnames = nil, domain = nil, scheme = nil, comment = nil) ⇒ CreateSuperPlayerConfigRequest
constructor
A new instance of CreateSuperPlayerConfigRequest.
Constructor Details
#initialize(name = nil, subappid = nil, audiovideotype = nil, drmswitch = nil, adaptivedynamicstreamingdefinition = nil, drmstreamingsinfo = nil, transcodedefinition = nil, imagespritedefinition = nil, resolutionnames = nil, domain = nil, scheme = nil, comment = nil) ⇒ CreateSuperPlayerConfigRequest
Returns a new instance of CreateSuperPlayerConfigRequest.
8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 |
# File 'lib/v20180717/models.rb', line 8217 def initialize(name=nil, subappid=nil, audiovideotype=nil, drmswitch=nil, adaptivedynamicstreamingdefinition=nil, drmstreamingsinfo=nil, transcodedefinition=nil, imagespritedefinition=nil, resolutionnames=nil, domain=nil, scheme=nil, comment=nil) @Name = name @SubAppId = subappid @AudioVideoType = audiovideotype @DrmSwitch = drmswitch @AdaptiveDynamicStreamingDefinition = adaptivedynamicstreamingdefinition @DrmStreamingsInfo = drmstreamingsinfo @TranscodeDefinition = transcodedefinition @ImageSpriteDefinition = imagespritedefinition @ResolutionNames = resolutionnames @Domain = domain @Scheme = scheme @Comment = comment end |
Instance Attribute Details
#AdaptiveDynamicStreamingDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def AdaptiveDynamicStreamingDefinition @AdaptiveDynamicStreamingDefinition end |
#AudioVideoType ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def AudioVideoType @AudioVideoType end |
#Comment ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def Comment @Comment end |
#Domain ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def Domain @Domain end |
#DrmStreamingsInfo ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def DrmStreamingsInfo @DrmStreamingsInfo end |
#DrmSwitch ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def DrmSwitch @DrmSwitch end |
#ImageSpriteDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def ImageSpriteDefinition @ImageSpriteDefinition end |
#Name ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def Name @Name end |
#ResolutionNames ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def ResolutionNames @ResolutionNames end |
#Scheme ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def Scheme @Scheme end |
#SubAppId ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def SubAppId @SubAppId end |
#TranscodeDefinition ⇒ Object
当 AudioVideoType 为 Transcode 时必填。<li>MinEdgeLength:240,Name:流畅;</li> <li>MinEdgeLength:480,Name:标清;</li> <li>MinEdgeLength:720,Name:高清;</li> <li>MinEdgeLength:1080,Name:全高清;</li> <li>MinEdgeLength:1440,Name:2K;</li> <li>MinEdgeLength:2160,Name:4K;</li> <li>MinEdgeLength:4320,Name:8K。</li> <li>HTTP;</li> <li>HTTPS。</li>
8215 8216 8217 |
# File 'lib/v20180717/models.rb', line 8215 def TranscodeDefinition @TranscodeDefinition end |
Instance Method Details
#deserialize(params) ⇒ Object
8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 |
# File 'lib/v20180717/models.rb', line 8232 def deserialize(params) @Name = params['Name'] @SubAppId = params['SubAppId'] @AudioVideoType = params['AudioVideoType'] @DrmSwitch = params['DrmSwitch'] @AdaptiveDynamicStreamingDefinition = params['AdaptiveDynamicStreamingDefinition'] unless params['DrmStreamingsInfo'].nil? @DrmStreamingsInfo = DrmStreamingsInfo.new @DrmStreamingsInfo.deserialize(params['DrmStreamingsInfo']) end @TranscodeDefinition = params['TranscodeDefinition'] @ImageSpriteDefinition = params['ImageSpriteDefinition'] unless params['ResolutionNames'].nil? @ResolutionNames = [] params['ResolutionNames'].each do |i| resolutionnameinfo_tmp = ResolutionNameInfo.new resolutionnameinfo_tmp.deserialize(i) @ResolutionNames << resolutionnameinfo_tmp end end @Domain = params['Domain'] @Scheme = params['Scheme'] @Comment = params['Comment'] end |