Class: TencentCloud::Vod::V20180717::ModifySuperPlayerConfigRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

ModifySuperPlayerConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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) ⇒ ModifySuperPlayerConfigRequest



20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
# File 'lib/v20180717/models.rb', line 20602

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

#AdaptiveDynamicStreamingDefinitionObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def AdaptiveDynamicStreamingDefinition
  @AdaptiveDynamicStreamingDefinition
end

#AudioVideoTypeObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def AudioVideoType
  @AudioVideoType
end

#CommentObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def Comment
  @Comment
end

#DomainObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def Domain
  @Domain
end

#DrmStreamingsInfoObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def DrmStreamingsInfo
  @DrmStreamingsInfo
end

#DrmSwitchObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def DrmSwitch
  @DrmSwitch
end

#ImageSpriteDefinitionObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def ImageSpriteDefinition
  @ImageSpriteDefinition
end

#NameObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def Name
  @Name
end

#ResolutionNamesObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def ResolutionNames
  @ResolutionNames
end

#SchemeObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def Scheme
  @Scheme
end

#SubAppIdObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def SubAppId
  @SubAppId
end

#TranscodeDefinitionObject

<li>AdaptiveDynamicStream:自适应码流输出;</li> <li>Transcode:转码输出;</li> <li>Original:原始音视频。</li> <li>ON:开启,表示仅播放 DRM 保护的自适应码流输出;</li> <li>OFF:关闭,表示播放未加密的自适应码流输出。</li> <li>Default:使用(cloud.tencent.com/document/product/266/33373)中的 Scheme;</li> <li>HTTP;</li> <li>HTTPS。</li>



20600
20601
20602
# File 'lib/v20180717/models.rb', line 20600

def TranscodeDefinition
  @TranscodeDefinition
end

Instance Method Details

#deserialize(params) ⇒ Object



20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
# File 'lib/v20180717/models.rb', line 20617

def deserialize(params)
  @Name = params['Name']
  @SubAppId = params['SubAppId']
  @AudioVideoType = params['AudioVideoType']
  @DrmSwitch = params['DrmSwitch']
  @AdaptiveDynamicStreamingDefinition = params['AdaptiveDynamicStreamingDefinition']
  unless params['DrmStreamingsInfo'].nil?
    @DrmStreamingsInfo = DrmStreamingsInfoForUpdate.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