in aliyun-java-sdk-mts/src/main/java/com/aliyuncs/mts/transform/v20140618/QueryJobListResponseUnmarshaller.java [71:478]
public static QueryJobListResponse unmarshall(QueryJobListResponse queryJobListResponse, UnmarshallerContext _ctx) {
queryJobListResponse.setRequestId(_ctx.stringValue("QueryJobListResponse.RequestId"));
List<String> nonExistJobIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("QueryJobListResponse.NonExistJobIds.Length"); i++) {
nonExistJobIds.add(_ctx.stringValue("QueryJobListResponse.NonExistJobIds["+ i +"]"));
}
queryJobListResponse.setNonExistJobIds(nonExistJobIds);
List<Job> jobList = new ArrayList<Job>();
for (int i = 0; i < _ctx.lengthValue("QueryJobListResponse.JobList.Length"); i++) {
Job job = new Job();
job.setCreationTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].CreationTime"));
job.setPercent(_ctx.longValue("QueryJobListResponse.JobList["+ i +"].Percent"));
job.setFinishTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].FinishTime"));
job.setState(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].State"));
job.setJobId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].JobId"));
job.setCode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Code"));
job.setMessage(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Message"));
job.setPipelineId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].PipelineId"));
job.setSubmitTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].SubmitTime"));
Output output = new Output();
output.setWaterMarkConfigUrl(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkConfigUrl"));
output.setDeWatermark(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.DeWatermark"));
output.setPriority(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Priority"));
output.setAudioStreamMap(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.AudioStreamMap"));
output.setUserData(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.UserData"));
output.setExtendData(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.ExtendData"));
output.setVideoStreamMap(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.VideoStreamMap"));
output.setRotate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Rotate"));
output.setMergeConfigUrl(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MergeConfigUrl"));
output.setTemplateId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TemplateId"));
Video video = new Video();
video.setBufsize(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Bufsize"));
video.setDegrain(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Degrain"));
video.setPixFmt(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.PixFmt"));
video.setPad(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Pad"));
video.setCodec(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Codec"));
video.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Height"));
video.setQscale(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Qscale"));
video.setCrop(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Crop"));
video.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Bitrate"));
video.setMaxrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Maxrate"));
video.setMaxFps(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.MaxFps"));
video.setProfile(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Profile"));
video.setCrf(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Crf"));
video.setGop(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Gop"));
video.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Width"));
video.setFps(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Fps"));
video.setPreset(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.Preset"));
video.setScanMode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.ScanMode"));
video.setResoPriority(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.ResoPriority"));
BitrateBnd bitrateBnd = new BitrateBnd();
bitrateBnd.setMax(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.BitrateBnd.Max"));
bitrateBnd.setMin(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Video.BitrateBnd.Min"));
video.setBitrateBnd(bitrateBnd);
output.setVideo(video);
TransConfig transConfig = new TransConfig();
transConfig.setIsCheckAudioBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrate"));
transConfig.setTransMode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.TransMode"));
transConfig.setIsCheckReso(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckReso"));
transConfig.setIsCheckVideoBitrateFail(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrateFail"));
transConfig.setAdjDarMethod(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.AdjDarMethod"));
transConfig.setIsCheckVideoBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckVideoBitrate"));
transConfig.setIsCheckResoFail(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckResoFail"));
transConfig.setIsCheckAudioBitrateFail(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TransConfig.IsCheckAudioBitrateFail"));
output.setTransConfig(transConfig);
Encryption encryption = new Encryption();
encryption.setType(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.Type"));
encryption.setKey(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.Key"));
encryption.setKeyType(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.KeyType"));
encryption.setId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.Id"));
encryption.setKeyUri(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.KeyUri"));
encryption.setSkipCnt(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Encryption.SkipCnt"));
output.setEncryption(encryption);
M3U8NonStandardSupport m3U8NonStandardSupport = new M3U8NonStandardSupport();
TS tS = new TS();
tS.setSizeSupport(_ctx.booleanValue("QueryJobListResponse.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.SizeSupport"));
tS.setMd5Support(_ctx.booleanValue("QueryJobListResponse.JobList["+ i +"].Output.M3U8NonStandardSupport.TS.Md5Support"));
m3U8NonStandardSupport.setTS(tS);
output.setM3U8NonStandardSupport(m3U8NonStandardSupport);
Audio audio = new Audio();
audio.setProfile(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Profile"));
audio.setCodec(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Codec"));
audio.setSamplerate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Samplerate"));
audio.setQscale(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Qscale"));
audio.setChannels(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Channels"));
audio.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Bitrate"));
Volume volume = new Volume();
volume.setBizMethod(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Volume.Method"));
volume.setLevel(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Audio.Volume.Level"));
audio.setVolume(volume);
output.setAudio(audio);
SuperReso superReso = new SuperReso();
superReso.setIsHalfSample(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SuperReso.IsHalfSample"));
output.setSuperReso(superReso);
OutputFile outputFile = new OutputFile();
outputFile.setRoleArn(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutputFile.RoleArn"));
outputFile.setObject(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutputFile.Object"));
outputFile.setLocation(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutputFile.Location"));
outputFile.setBucket(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutputFile.Bucket"));
output.setOutputFile(outputFile);
Container container = new Container();
container.setFormat(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Container.Format"));
output.setContainer(container);
Clip clip = new Clip();
TimeSpan timeSpan = new TimeSpan();
timeSpan.setSeek(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Clip.TimeSpan.Seek"));
timeSpan.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Clip.TimeSpan.Duration"));
clip.setTimeSpan(timeSpan);
output.setClip(clip);
MuxConfig muxConfig = new MuxConfig();
Webp webp = new Webp();
webp.setLoop(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Webp.Loop"));
muxConfig.setWebp(webp);
Gif gif = new Gif();
gif.setFinalDelay(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Gif.FinalDelay"));
gif.setDitherMode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Gif.DitherMode"));
gif.setLoop(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Gif.Loop"));
gif.setIsCustomPalette(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Gif.IsCustomPalette"));
muxConfig.setGif(gif);
Segment segment = new Segment();
segment.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MuxConfig.Segment.Duration"));
muxConfig.setSegment(segment);
output.setMuxConfig(muxConfig);
SubtitleConfig subtitleConfig = new SubtitleConfig();
List<ExtSubtitle> extSubtitleList = new ArrayList<ExtSubtitle>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList.Length"); j++) {
ExtSubtitle extSubtitle = new ExtSubtitle();
extSubtitle.setCharEnc(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].CharEnc"));
extSubtitle.setFontName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].FontName"));
Input1 input1 = new Input1();
input1.setObject(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Object"));
input1.setLocation(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Location"));
input1.setBucket(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.ExtSubtitleList["+ j +"].Input.Bucket"));
extSubtitle.setInput1(input1);
extSubtitleList.add(extSubtitle);
}
subtitleConfig.setExtSubtitleList(extSubtitleList);
List<Subtitle> subtitleList = new ArrayList<Subtitle>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.SubtitleList.Length"); j++) {
Subtitle subtitle = new Subtitle();
subtitle.setMap(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.SubtitleConfig.SubtitleList["+ j +"].Map"));
subtitleList.add(subtitle);
}
subtitleConfig.setSubtitleList(subtitleList);
output.setSubtitleConfig(subtitleConfig);
Properties properties = new Properties();
properties.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Width"));
properties.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Height"));
properties.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Duration"));
properties.setFps(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Fps"));
properties.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Bitrate"));
properties.setFileFormat(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.FileFormat"));
properties.setFileSize(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.FileSize"));
Streams streams = new Streams();
List<VideoStream> videoStreamList = new ArrayList<VideoStream>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList.Length"); j++) {
VideoStream videoStream = new VideoStream();
videoStream.setIndex(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Index"));
videoStream.setTimebase(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Timebase"));
videoStream.setAvgFPS(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].AvgFPS"));
videoStream.setPixFmt(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].PixFmt"));
videoStream.setSar(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Sar"));
videoStream.setLang(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Lang"));
videoStream.setCodecLongName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecLongName"));
videoStream.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Height"));
videoStream.setNumFrames(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NumFrames"));
videoStream.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Bitrate"));
videoStream.setCodecTagString(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTagString"));
videoStream.setHasBFrames(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].HasBFrames"));
videoStream.setProfile(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Profile"));
videoStream.setStartTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].StartTime"));
videoStream.setDar(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Dar"));
videoStream.setCodecName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecName"));
videoStream.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Width"));
videoStream.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Duration"));
videoStream.setFps(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Fps"));
videoStream.setCodecTag(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTag"));
videoStream.setCodecTimeBase(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].CodecTimeBase"));
videoStream.setLevel(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].Level"));
videoStream.setColorTransfer(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].colorTransfer"));
videoStream.setColorPrimaries(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].colorPrimaries"));
videoStream.setBitsPerRawSample(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].bitsPerRawSample"));
NetworkCost networkCost = new NetworkCost();
networkCost.setPreloadTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.PreloadTime"));
networkCost.setAvgBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.AvgBitrate"));
networkCost.setCostBandwidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.VideoStreamList["+ j +"].NetworkCost.CostBandwidth"));
videoStream.setNetworkCost(networkCost);
videoStreamList.add(videoStream);
}
streams.setVideoStreamList(videoStreamList);
List<AudioStream> audioStreamList = new ArrayList<AudioStream>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList.Length"); j++) {
AudioStream audioStream = new AudioStream();
audioStream.setTimebase(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Timebase"));
audioStream.setIndex(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Index"));
audioStream.setSampleFmt(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].SampleFmt"));
audioStream.setChannelLayout(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].ChannelLayout"));
audioStream.setLang(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Lang"));
audioStream.setSamplerate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Samplerate"));
audioStream.setCodecLongName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecLongName"));
audioStream.setChannels(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Channels"));
audioStream.setNumFrames(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].NumFrames"));
audioStream.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Bitrate"));
audioStream.setCodecTagString(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTagString"));
audioStream.setStartTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].StartTime"));
audioStream.setCodecName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecName"));
audioStream.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].Duration"));
audioStream.setCodecTag(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTag"));
audioStream.setCodecTimeBase(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.AudioStreamList["+ j +"].CodecTimeBase"));
audioStreamList.add(audioStream);
}
streams.setAudioStreamList(audioStreamList);
List<SubtitleStream> subtitleStreamList = new ArrayList<SubtitleStream>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList.Length"); j++) {
SubtitleStream subtitleStream = new SubtitleStream();
subtitleStream.setIndex(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Index"));
subtitleStream.setLang(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Streams.SubtitleStreamList["+ j +"].Lang"));
subtitleStreamList.add(subtitleStream);
}
streams.setSubtitleStreamList(subtitleStreamList);
properties.setStreams(streams);
Format format = new Format();
format.setStartTime(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.StartTime"));
format.setNumPrograms(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.NumPrograms"));
format.setSize(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.Size"));
format.setNumStreams(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.NumStreams"));
format.setFormatLongName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.FormatLongName"));
format.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.Duration"));
format.setBitrate(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.Bitrate"));
format.setFormatName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.Format.FormatName"));
properties.setFormat(format);
List<SourceLogo> sourceLogos = new ArrayList<SourceLogo>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.SourceLogos.Length"); j++) {
SourceLogo sourceLogo = new SourceLogo();
sourceLogo.setSource(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.Properties.SourceLogos["+ j +"].Source"));
sourceLogos.add(sourceLogo);
}
properties.setSourceLogos(sourceLogos);
output.setProperties(properties);
MultiSpeedInfo multiSpeedInfo = new MultiSpeedInfo();
multiSpeedInfo.setEnable(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.Enable"));
multiSpeedInfo.setCode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.Code"));
multiSpeedInfo.setMessage(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.Message"));
multiSpeedInfo.setSettingSpeed(_ctx.integerValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.SettingSpeed"));
multiSpeedInfo.setDowngradePolicy(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.DowngradePolicy"));
multiSpeedInfo.setRealSpeed(_ctx.doubleValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.RealSpeed"));
multiSpeedInfo.setDuration(_ctx.doubleValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.Duration"));
multiSpeedInfo.setTimeCost(_ctx.doubleValue("QueryJobListResponse.JobList["+ i +"].Output.MultiSpeedInfo.TimeCost"));
output.setMultiSpeedInfo(multiSpeedInfo);
TraceMark traceMark = new TraceMark();
traceMark.setEnable(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TraceMark.Enable"));
output.setTraceMark(traceMark);
CopyrightMark copyrightMark = new CopyrightMark();
copyrightMark.setContent(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.CopyrightMark.Content"));
output.setCopyrightMark(copyrightMark);
List<WaterMark> waterMarkList = new ArrayList<WaterMark>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList.Length"); j++) {
WaterMark waterMark = new WaterMark();
waterMark.setType(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].Type"));
waterMark.setReferPos(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].ReferPos"));
waterMark.setDx(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dx"));
waterMark.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].Width"));
waterMark.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].Height"));
waterMark.setWaterMarkTemplateId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].WaterMarkTemplateId"));
waterMark.setDy(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].Dy"));
InputFile inputFile = new InputFile();
inputFile.setObject(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Object"));
inputFile.setLocation(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Location"));
inputFile.setBucket(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.WaterMarkList["+ j +"].InputFile.Bucket"));
waterMark.setInputFile(inputFile);
waterMarkList.add(waterMark);
}
output.setWaterMarkList(waterMarkList);
List<Merge> mergeList = new ArrayList<Merge>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.MergeList.Length"); j++) {
Merge merge = new Merge();
merge.setStart(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MergeList["+ j +"].Start"));
merge.setRoleArn(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MergeList["+ j +"].RoleArn"));
merge.setMergeURL(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MergeList["+ j +"].MergeURL"));
merge.setDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.MergeList["+ j +"].Duration"));
mergeList.add(merge);
}
output.setMergeList(mergeList);
List<OutSubtitle> outSubtitleList = new ArrayList<OutSubtitle>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList.Length"); j++) {
OutSubtitle outSubtitle = new OutSubtitle();
outSubtitle.setMap(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Map"));
outSubtitle.setSuccess(_ctx.booleanValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Success"));
outSubtitle.setMessage(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].Message"));
OutSubtitleFile outSubtitleFile = new OutSubtitleFile();
outSubtitleFile.setRoleArn(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.RoleArn"));
outSubtitleFile.setObject(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Object"));
outSubtitleFile.setLocation(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Location"));
outSubtitleFile.setBucket(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OutSubtitleList["+ j +"].OutSubtitleFile.Bucket"));
outSubtitle.setOutSubtitleFile(outSubtitleFile);
outSubtitleList.add(outSubtitle);
}
output.setOutSubtitleList(outSubtitleList);
List<Opening> openingList = new ArrayList<Opening>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.OpeningList.Length"); j++) {
Opening opening = new Opening();
opening.setOpenUrl(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OpeningList["+ j +"].openUrl"));
opening.setStart(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OpeningList["+ j +"].Start"));
opening.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OpeningList["+ j +"].Width"));
opening.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.OpeningList["+ j +"].Height"));
openingList.add(opening);
}
output.setOpeningList(openingList);
List<TailSlate> tailSlateList = new ArrayList<TailSlate>();
for (int j = 0; j < _ctx.lengthValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList.Length"); j++) {
TailSlate tailSlate = new TailSlate();
tailSlate.setStart(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].Start"));
tailSlate.setBgColor(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].BgColor"));
tailSlate.setIsMergeAudio(_ctx.booleanValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].IsMergeAudio"));
tailSlate.setWidth(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].Width"));
tailSlate.setHeight(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].Height"));
tailSlate.setBlendDuration(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].BlendDuration"));
tailSlate.setTailUrl(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Output.TailSlateList["+ j +"].TailUrl"));
tailSlateList.add(tailSlate);
}
output.setTailSlateList(tailSlateList);
job.setOutput(output);
Input input = new Input();
input.setObject(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Input.Object"));
input.setLocation(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Input.Location"));
input.setBucket(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Input.Bucket"));
job.setInput(input);
MNSMessageResult mNSMessageResult = new MNSMessageResult();
mNSMessageResult.setMessageId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].MNSMessageResult.MessageId"));
mNSMessageResult.setErrorMessage(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].MNSMessageResult.ErrorMessage"));
mNSMessageResult.setErrorCode(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].MNSMessageResult.ErrorCode"));
job.setMNSMessageResult(mNSMessageResult);
Pipeline pipeline = new Pipeline();
pipeline.setId(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Pipeline.Id"));
pipeline.setName(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Pipeline.Name"));
pipeline.setSpeed(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Pipeline.Speed"));
pipeline.setState(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Pipeline.State"));
ExtendConfig extendConfig = new ExtendConfig();
extendConfig.setIsBoostNew(_ctx.booleanValue("QueryJobListResponse.JobList["+ i +"].Pipeline.ExtendConfig.IsBoostNew"));
extendConfig.setMaxMultiSpeed(_ctx.integerValue("QueryJobListResponse.JobList["+ i +"].Pipeline.ExtendConfig.MaxMultiSpeed"));
extendConfig.setMultiSpeedDowngradePolicy(_ctx.stringValue("QueryJobListResponse.JobList["+ i +"].Pipeline.ExtendConfig.MultiSpeedDowngradePolicy"));
pipeline.setExtendConfig(extendConfig);
job.setPipeline(pipeline);
jobList.add(job);
}
queryJobListResponse.setJobList(jobList);
return queryJobListResponse;
}