class TencentCloud::Live::V20180801::PullStreamTaskInfo
直播拉流任务信息。
def deserialize(params)
def deserialize(params) @TaskId = params['TaskId'] @SourceType = params['SourceType'] @SourceUrls = params['SourceUrls'] @DomainName = params['DomainName'] @AppName = params['AppName'] @StreamName = params['StreamName'] @PushArgs = params['PushArgs'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Region = params['Region'] @VodLoopTimes = params['VodLoopTimes'] @VodRefreshType = params['VodRefreshType'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @CreateBy = params['CreateBy'] @UpdateBy = params['UpdateBy'] @CallbackUrl = params['CallbackUrl'] @CallbackEvents = params['CallbackEvents'] @CallbackInfo = params['CallbackInfo'] @ErrorInfo = params['ErrorInfo'] @Status = params['Status'] unless params['RecentPullInfo'].nil? @RecentPullInfo = RecentPullInfo.new @RecentPullInfo.deserialize(params['RecentPullInfo']) end @Comment = params['Comment'] @BackupSourceType = params['BackupSourceType'] @BackupSourceUrl = params['BackupSourceUrl'] unless params['WatermarkList'].nil? @WatermarkList = [] params['WatermarkList'].each do |i| pullpushwatermarkinfo_tmp = PullPushWatermarkInfo.new pullpushwatermarkinfo_tmp.deserialize(i) @WatermarkList << pullpushwatermarkinfo_tmp end end @VodLocalMode = params['VodLocalMode'] @RecordTemplateId = params['RecordTemplateId'] @BackupToUrl = params['BackupToUrl'] end
def initialize(taskid=nil, sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, pushargs=nil, starttime=nil, endtime=nil, region=nil, vodlooptimes=nil, vodrefreshtype=nil, createtime=nil, updatetime=nil, createby=nil, updateby=nil, callbackurl=nil, callbackevents=nil, callbackinfo=nil, errorinfo=nil, status=nil, recentpullinfo=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil, vodlocalmode=nil, recordtemplateid=nil, backuptourl=nil)
def initialize(taskid=nil, sourcetype=nil, sourceurls=nil, domainname=nil, appname=nil, streamname=nil, pushargs=nil, starttime=nil, endtime=nil, region=nil, vodlooptimes=nil, vodrefreshtype=nil, createtime=nil, updatetime=nil, createby=nil, updateby=nil, callbackurl=nil, callbackevents=nil, callbackinfo=nil, errorinfo=nil, status=nil, recentpullinfo=nil, comment=nil, backupsourcetype=nil, backupsourceurl=nil, watermarklist=nil, vodlocalmode=nil, recordtemplateid=nil, backuptourl=nil) @TaskId = taskid @SourceType = sourcetype @SourceUrls = sourceurls @DomainName = domainname @AppName = appname @StreamName = streamname @PushArgs = pushargs @StartTime = starttime @EndTime = endtime @Region = region @VodLoopTimes = vodlooptimes @VodRefreshType = vodrefreshtype @CreateTime = createtime @UpdateTime = updatetime @CreateBy = createby @UpdateBy = updateby @CallbackUrl = callbackurl @CallbackEvents = callbackevents @CallbackInfo = callbackinfo @ErrorInfo = errorinfo @Status = status @RecentPullInfo = recentpullinfo @Comment = comment @BackupSourceType = backupsourcetype @BackupSourceUrl = backupsourceurl @WatermarkList = watermarklist @VodLocalMode = vodlocalmode @RecordTemplateId = recordtemplateid @BackupToUrl = backuptourl end