class TencentCloud::Vod::V20180717::ModifyAdaptiveDynamicStreamingTemplateRequest
ModifyAdaptiveDynamicStreamingTemplate请求参数结构体
def deserialize(params)
def deserialize(params) @Definition = params['Definition'] @SubAppId = params['SubAppId'] @Name = params['Name'] @Format = params['Format'] @DisableHigherVideoBitrate = params['DisableHigherVideoBitrate'] @DisableHigherVideoResolution = params['DisableHigherVideoResolution'] unless params['StreamInfos'].nil? @StreamInfos = [] params['StreamInfos'].each do |i| adaptivestreamtemplate_tmp = AdaptiveStreamTemplate.new adaptivestreamtemplate_tmp.deserialize(i) @StreamInfos << adaptivestreamtemplate_tmp end end @Comment = params['Comment'] @SegmentType = params['SegmentType'] end
def initialize(definition=nil, subappid=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil, segmenttype=nil)
def initialize(definition=nil, subappid=nil, name=nil, format=nil, disablehighervideobitrate=nil, disablehighervideoresolution=nil, streaminfos=nil, comment=nil, segmenttype=nil) @Definition = definition @SubAppId = subappid @Name = name @Format = format @DisableHigherVideoBitrate = disablehighervideobitrate @DisableHigherVideoResolution = disablehighervideoresolution @StreamInfos = streaminfos @Comment = comment @SegmentType = segmenttype end