diff --git a/aliyun-java-sdk-live/ChangeLog.txt b/aliyun-java-sdk-live/ChangeLog.txt index b42491b9e1..321b1c2d3b 100644 --- a/aliyun-java-sdk-live/ChangeLog.txt +++ b/aliyun-java-sdk-live/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-06-04 Version: 3.9.52 +- Update to support new apis. + 2024-05-24 Version: 3.9.51 - Update to support new apis. diff --git a/aliyun-java-sdk-live/pom.xml b/aliyun-java-sdk-live/pom.xml index 37cc9115e5..131d2a17f0 100644 --- a/aliyun-java-sdk-live/pom.xml +++ b/aliyun-java-sdk-live/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-live jar - 3.9.51 + 3.9.52 aliyun-java-sdk-live http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesRequest.java new file mode 100644 index 0000000000..3e69a26bda --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesRequest.java @@ -0,0 +1,145 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class AddLiveAIProduceRulesRequest extends RpcAcsRequest { + + + private String description; + + private String subtitleName; + + private String app; + + private Long ownerId; + + private Boolean isLazy; + + private String liveTemplate; + + private String domain; + + private Boolean isOrigin; + public AddLiveAIProduceRulesRequest() { + super("live", "2016-11-01", "AddLiveAIProduceRules", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public String getApp() { + return this.app; + } + + public void setApp(String app) { + this.app = app; + if(app != null){ + putQueryParameter("App", app); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public Boolean getIsLazy() { + return this.isLazy; + } + + public void setIsLazy(Boolean isLazy) { + this.isLazy = isLazy; + if(isLazy != null){ + putQueryParameter("IsLazy", isLazy.toString()); + } + } + + public String getLiveTemplate() { + return this.liveTemplate; + } + + public void setLiveTemplate(String liveTemplate) { + this.liveTemplate = liveTemplate; + if(liveTemplate != null){ + putQueryParameter("LiveTemplate", liveTemplate); + } + } + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + if(domain != null){ + putQueryParameter("Domain", domain); + } + } + + public Boolean getIsOrigin() { + return this.isOrigin; + } + + public void setIsOrigin(Boolean isOrigin) { + this.isOrigin = isOrigin; + if(isOrigin != null){ + putQueryParameter("IsOrigin", isOrigin.toString()); + } + } + + @Override + public Class getResponseClass() { + return AddLiveAIProduceRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesResponse.java new file mode 100644 index 0000000000..f5514fb486 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAIProduceRulesResponse.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.AddLiveAIProduceRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddLiveAIProduceRulesResponse extends AcsResponse { + + private String requestId; + + private String rulesId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getRulesId() { + return this.rulesId; + } + + public void setRulesId(String rulesId) { + this.rulesId = rulesId; + } + + @Override + public AddLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) { + return AddLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleRequest.java new file mode 100644 index 0000000000..f69c0eec1c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleRequest.java @@ -0,0 +1,279 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class AddLiveAISubtitleRequest extends RpcAcsRequest { + + + private String srcLanguage; + + private String description; + + private String fontName; + + private String subtitleName; + + private Float fontSizeNormalized; + + private String fontColor; + + private Boolean showSourceLan; + + @SerializedName("positionNormalized") + private List positionNormalized; + + private Float borderWidthNormalized; + + private Integer maxLines; + + private String height; + + private Integer wordPerLine; + + private Long ownerId; + + private Float bgWidthNormalized; + + private String bgColor; + + private String dstLanguage; + + private String width; + + private String copyFrom; + public AddLiveAISubtitleRequest() { + super("live", "2016-11-01", "AddLiveAISubtitle", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSrcLanguage() { + return this.srcLanguage; + } + + public void setSrcLanguage(String srcLanguage) { + this.srcLanguage = srcLanguage; + if(srcLanguage != null){ + putQueryParameter("SrcLanguage", srcLanguage); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getFontName() { + return this.fontName; + } + + public void setFontName(String fontName) { + this.fontName = fontName; + if(fontName != null){ + putQueryParameter("FontName", fontName); + } + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public Float getFontSizeNormalized() { + return this.fontSizeNormalized; + } + + public void setFontSizeNormalized(Float fontSizeNormalized) { + this.fontSizeNormalized = fontSizeNormalized; + if(fontSizeNormalized != null){ + putQueryParameter("FontSizeNormalized", fontSizeNormalized.toString()); + } + } + + public String getFontColor() { + return this.fontColor; + } + + public void setFontColor(String fontColor) { + this.fontColor = fontColor; + if(fontColor != null){ + putQueryParameter("FontColor", fontColor); + } + } + + public Boolean getShowSourceLan() { + return this.showSourceLan; + } + + public void setShowSourceLan(Boolean showSourceLan) { + this.showSourceLan = showSourceLan; + if(showSourceLan != null){ + putQueryParameter("ShowSourceLan", showSourceLan.toString()); + } + } + + public List getPositionNormalized() { + return this.positionNormalized; + } + + public void setPositionNormalized(List positionNormalized) { + this.positionNormalized = positionNormalized; + if (positionNormalized != null) { + putQueryParameter("PositionNormalized" , new Gson().toJson(positionNormalized)); + } + } + + public Float getBorderWidthNormalized() { + return this.borderWidthNormalized; + } + + public void setBorderWidthNormalized(Float borderWidthNormalized) { + this.borderWidthNormalized = borderWidthNormalized; + if(borderWidthNormalized != null){ + putQueryParameter("BorderWidthNormalized", borderWidthNormalized.toString()); + } + } + + public Integer getMaxLines() { + return this.maxLines; + } + + public void setMaxLines(Integer maxLines) { + this.maxLines = maxLines; + if(maxLines != null){ + putQueryParameter("MaxLines", maxLines.toString()); + } + } + + public String getHeight() { + return this.height; + } + + public void setHeight(String height) { + this.height = height; + if(height != null){ + putQueryParameter("Height", height); + } + } + + public Integer getWordPerLine() { + return this.wordPerLine; + } + + public void setWordPerLine(Integer wordPerLine) { + this.wordPerLine = wordPerLine; + if(wordPerLine != null){ + putQueryParameter("WordPerLine", wordPerLine.toString()); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public Float getBgWidthNormalized() { + return this.bgWidthNormalized; + } + + public void setBgWidthNormalized(Float bgWidthNormalized) { + this.bgWidthNormalized = bgWidthNormalized; + if(bgWidthNormalized != null){ + putQueryParameter("BgWidthNormalized", bgWidthNormalized.toString()); + } + } + + public String getBgColor() { + return this.bgColor; + } + + public void setBgColor(String bgColor) { + this.bgColor = bgColor; + if(bgColor != null){ + putQueryParameter("BgColor", bgColor); + } + } + + public String getDstLanguage() { + return this.dstLanguage; + } + + public void setDstLanguage(String dstLanguage) { + this.dstLanguage = dstLanguage; + if(dstLanguage != null){ + putQueryParameter("DstLanguage", dstLanguage); + } + } + + public String getWidth() { + return this.width; + } + + public void setWidth(String width) { + this.width = width; + if(width != null){ + putQueryParameter("Width", width); + } + } + + public String getCopyFrom() { + return this.copyFrom; + } + + public void setCopyFrom(String copyFrom) { + this.copyFrom = copyFrom; + if(copyFrom != null){ + putQueryParameter("CopyFrom", copyFrom); + } + } + + @Override + public Class getResponseClass() { + return AddLiveAISubtitleResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleResponse.java new file mode 100644 index 0000000000..b7f3f1a7dc --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddLiveAISubtitleResponse.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.AddLiveAISubtitleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddLiveAISubtitleResponse extends AcsResponse { + + private String requestId; + + private String subtitleId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + } + + @Override + public AddLiveAISubtitleResponse getInstance(UnmarshallerContext context) { + return AddLiveAISubtitleResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskRequest.java new file mode 100644 index 0000000000..192bb78534 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskRequest.java @@ -0,0 +1,236 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class CreateRtcAsrTaskRequest extends RpcAcsRequest { + + + private String authKey; + + private String language; + + private String mode; + + private Boolean translateEnabled; + + private String tag; + + private String streamURL; + + private String targetLanguages; + + private Boolean autoTerminateEnabled; + + private Long ownerId; + + private String rtcUserId; + + private Long reportInterval; + + private Long autoTerminateDelay; + + private String sDKAppID; + + private String callbackURL; + + private String channelID; + public CreateRtcAsrTaskRequest() { + super("live", "2016-11-01", "CreateRtcAsrTask", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getAuthKey() { + return this.authKey; + } + + public void setAuthKey(String authKey) { + this.authKey = authKey; + if(authKey != null){ + putQueryParameter("AuthKey", authKey); + } + } + + public String getLanguage() { + return this.language; + } + + public void setLanguage(String language) { + this.language = language; + if(language != null){ + putQueryParameter("Language", language); + } + } + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + if(mode != null){ + putQueryParameter("Mode", mode); + } + } + + public Boolean getTranslateEnabled() { + return this.translateEnabled; + } + + public void setTranslateEnabled(Boolean translateEnabled) { + this.translateEnabled = translateEnabled; + if(translateEnabled != null){ + putQueryParameter("TranslateEnabled", translateEnabled.toString()); + } + } + + public String getTag() { + return this.tag; + } + + public void setTag(String tag) { + this.tag = tag; + if(tag != null){ + putQueryParameter("Tag", tag); + } + } + + public String getStreamURL() { + return this.streamURL; + } + + public void setStreamURL(String streamURL) { + this.streamURL = streamURL; + if(streamURL != null){ + putQueryParameter("StreamURL", streamURL); + } + } + + public String getTargetLanguages() { + return this.targetLanguages; + } + + public void setTargetLanguages(String targetLanguages) { + this.targetLanguages = targetLanguages; + if(targetLanguages != null){ + putQueryParameter("TargetLanguages", targetLanguages); + } + } + + public Boolean getAutoTerminateEnabled() { + return this.autoTerminateEnabled; + } + + public void setAutoTerminateEnabled(Boolean autoTerminateEnabled) { + this.autoTerminateEnabled = autoTerminateEnabled; + if(autoTerminateEnabled != null){ + putQueryParameter("AutoTerminateEnabled", autoTerminateEnabled.toString()); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getRtcUserId() { + return this.rtcUserId; + } + + public void setRtcUserId(String rtcUserId) { + this.rtcUserId = rtcUserId; + if(rtcUserId != null){ + putQueryParameter("RtcUserId", rtcUserId); + } + } + + public Long getReportInterval() { + return this.reportInterval; + } + + public void setReportInterval(Long reportInterval) { + this.reportInterval = reportInterval; + if(reportInterval != null){ + putQueryParameter("ReportInterval", reportInterval.toString()); + } + } + + public Long getAutoTerminateDelay() { + return this.autoTerminateDelay; + } + + public void setAutoTerminateDelay(Long autoTerminateDelay) { + this.autoTerminateDelay = autoTerminateDelay; + if(autoTerminateDelay != null){ + putQueryParameter("AutoTerminateDelay", autoTerminateDelay.toString()); + } + } + + public String getSDKAppID() { + return this.sDKAppID; + } + + public void setSDKAppID(String sDKAppID) { + this.sDKAppID = sDKAppID; + if(sDKAppID != null){ + putQueryParameter("SDKAppID", sDKAppID); + } + } + + public String getCallbackURL() { + return this.callbackURL; + } + + public void setCallbackURL(String callbackURL) { + this.callbackURL = callbackURL; + if(callbackURL != null){ + putQueryParameter("CallbackURL", callbackURL); + } + } + + public String getChannelID() { + return this.channelID; + } + + public void setChannelID(String channelID) { + this.channelID = channelID; + if(channelID != null){ + putQueryParameter("ChannelID", channelID); + } + } + + @Override + public Class getResponseClass() { + return CreateRtcAsrTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskResponse.java new file mode 100644 index 0000000000..6b124533c6 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/CreateRtcAsrTaskResponse.java @@ -0,0 +1,71 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.CreateRtcAsrTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateRtcAsrTaskResponse extends AcsResponse { + + private String description; + + private String requestId; + + private Long retCode; + + private String taskId; + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getRetCode() { + return this.retCode; + } + + public void setRetCode(Long retCode) { + this.retCode = retCode; + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + @Override + public CreateRtcAsrTaskResponse getInstance(UnmarshallerContext context) { + return CreateRtcAsrTaskResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesRequest.java new file mode 100644 index 0000000000..229569cbe2 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DeleteLiveAIProduceRulesRequest extends RpcAcsRequest { + + + private String rulesId; + + private String app; + + private Long ownerId; + + private String suffixName; + + private String domain; + public DeleteLiveAIProduceRulesRequest() { + super("live", "2016-11-01", "DeleteLiveAIProduceRules", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getRulesId() { + return this.rulesId; + } + + public void setRulesId(String rulesId) { + this.rulesId = rulesId; + if(rulesId != null){ + putQueryParameter("RulesId", rulesId); + } + } + + public String getApp() { + return this.app; + } + + public void setApp(String app) { + this.app = app; + if(app != null){ + putQueryParameter("App", app); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getSuffixName() { + return this.suffixName; + } + + public void setSuffixName(String suffixName) { + this.suffixName = suffixName; + if(suffixName != null){ + putQueryParameter("SuffixName", suffixName); + } + } + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + if(domain != null){ + putQueryParameter("Domain", domain); + } + } + + @Override + public Class getResponseClass() { + return DeleteLiveAIProduceRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesResponse.java new file mode 100644 index 0000000000..8e80971bf5 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAIProduceRulesResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DeleteLiveAIProduceRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteLiveAIProduceRulesResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) { + return DeleteLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleRequest.java new file mode 100644 index 0000000000..3ba0c389bc --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleRequest.java @@ -0,0 +1,80 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DeleteLiveAISubtitleRequest extends RpcAcsRequest { + + + private String subtitleName; + + private Long ownerId; + + private String subtitleId; + public DeleteLiveAISubtitleRequest() { + super("live", "2016-11-01", "DeleteLiveAISubtitle", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + if(subtitleId != null){ + putQueryParameter("SubtitleId", subtitleId); + } + } + + @Override + public Class getResponseClass() { + return DeleteLiveAISubtitleResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleResponse.java new file mode 100644 index 0000000000..cb8fabf3d4 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DeleteLiveAISubtitleResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DeleteLiveAISubtitleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteLiveAISubtitleResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteLiveAISubtitleResponse getInstance(UnmarshallerContext context) { + return DeleteLiveAISubtitleResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesRequest.java new file mode 100644 index 0000000000..a0a7a2582c --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesRequest.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeLiveAIProduceRulesRequest extends RpcAcsRequest { + + + private String pageNumber; + + private String pageSize; + + private String rulesId; + + private String app; + + private Long ownerId; + + private String suffixName; + + private String domain; + public DescribeLiveAIProduceRulesRequest() { + super("live", "2016-11-01", "DescribeLiveAIProduceRules", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getRulesId() { + return this.rulesId; + } + + public void setRulesId(String rulesId) { + this.rulesId = rulesId; + if(rulesId != null){ + putQueryParameter("RulesId", rulesId); + } + } + + public String getApp() { + return this.app; + } + + public void setApp(String app) { + this.app = app; + if(app != null){ + putQueryParameter("App", app); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getSuffixName() { + return this.suffixName; + } + + public void setSuffixName(String suffixName) { + this.suffixName = suffixName; + if(suffixName != null){ + putQueryParameter("SuffixName", suffixName); + } + } + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + if(domain != null){ + putQueryParameter("Domain", domain); + } + } + + @Override + public Class getResponseClass() { + return DescribeLiveAIProduceRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesResponse.java new file mode 100644 index 0000000000..61aaf1eb51 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAIProduceRulesResponse.java @@ -0,0 +1,155 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DescribeLiveAIProduceRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeLiveAIProduceRulesResponse extends AcsResponse { + + private String requestId; + + private List ruleInfoList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getRuleInfoList() { + return this.ruleInfoList; + } + + public void setRuleInfoList(List ruleInfoList) { + this.ruleInfoList = ruleInfoList; + } + + public static class RuleInfo { + + private String domain; + + private String app; + + private String subtitleName; + + private Boolean isLazy; + + private Boolean isOrigin; + + private String rulesId; + + private String liveTemplate; + + private String gmtModifyTime; + + private String suffixName; + + private String description; + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + } + + public String getApp() { + return this.app; + } + + public void setApp(String app) { + this.app = app; + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + } + + public Boolean getIsLazy() { + return this.isLazy; + } + + public void setIsLazy(Boolean isLazy) { + this.isLazy = isLazy; + } + + public Boolean getIsOrigin() { + return this.isOrigin; + } + + public void setIsOrigin(Boolean isOrigin) { + this.isOrigin = isOrigin; + } + + public String getRulesId() { + return this.rulesId; + } + + public void setRulesId(String rulesId) { + this.rulesId = rulesId; + } + + public String getLiveTemplate() { + return this.liveTemplate; + } + + public void setLiveTemplate(String liveTemplate) { + this.liveTemplate = liveTemplate; + } + + public String getGmtModifyTime() { + return this.gmtModifyTime; + } + + public void setGmtModifyTime(String gmtModifyTime) { + this.gmtModifyTime = gmtModifyTime; + } + + public String getSuffixName() { + return this.suffixName; + } + + public void setSuffixName(String suffixName) { + this.suffixName = suffixName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + } + + @Override + public DescribeLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) { + return DescribeLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleRequest.java new file mode 100644 index 0000000000..fb481255f5 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class DescribeLiveAISubtitleRequest extends RpcAcsRequest { + + + private String subtitleName; + + private String pageNumber; + + private String pageSize; + + private Long ownerId; + + private String subtitleId; + public DescribeLiveAISubtitleRequest() { + super("live", "2016-11-01", "DescribeLiveAISubtitle", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public String getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(String pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + if(subtitleId != null){ + putQueryParameter("SubtitleId", subtitleId); + } + } + + @Override + public Class getResponseClass() { + return DescribeLiveAISubtitleResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleResponse.java new file mode 100644 index 0000000000..785ff8c1b0 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveAISubtitleResponse.java @@ -0,0 +1,235 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.DescribeLiveAISubtitleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DescribeLiveAISubtitleResponse extends AcsResponse { + + private String requestId; + + private List subtitleConfigs; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getSubtitleConfigs() { + return this.subtitleConfigs; + } + + public void setSubtitleConfigs(List subtitleConfigs) { + this.subtitleConfigs = subtitleConfigs; + } + + public static class SubtitleConfig { + + private String dstLanguage; + + private String srcLanguage; + + private String fontColor; + + private String fontName; + + private Integer showSourceLan; + + private Integer maxLines; + + private Integer wordPerline; + + private String bgColor; + + private Float bgWidthNormalized; + + private Float borderWidthNormalized; + + private String width; + + private String height; + + private String subtitleName; + + private String subtitleId; + + private String fontSizeNormalized; + + private String description; + + private List positionNormalized; + + private List rulesRefer; + + public String getDstLanguage() { + return this.dstLanguage; + } + + public void setDstLanguage(String dstLanguage) { + this.dstLanguage = dstLanguage; + } + + public String getSrcLanguage() { + return this.srcLanguage; + } + + public void setSrcLanguage(String srcLanguage) { + this.srcLanguage = srcLanguage; + } + + public String getFontColor() { + return this.fontColor; + } + + public void setFontColor(String fontColor) { + this.fontColor = fontColor; + } + + public String getFontName() { + return this.fontName; + } + + public void setFontName(String fontName) { + this.fontName = fontName; + } + + public Integer getShowSourceLan() { + return this.showSourceLan; + } + + public void setShowSourceLan(Integer showSourceLan) { + this.showSourceLan = showSourceLan; + } + + public Integer getMaxLines() { + return this.maxLines; + } + + public void setMaxLines(Integer maxLines) { + this.maxLines = maxLines; + } + + public Integer getWordPerline() { + return this.wordPerline; + } + + public void setWordPerline(Integer wordPerline) { + this.wordPerline = wordPerline; + } + + public String getBgColor() { + return this.bgColor; + } + + public void setBgColor(String bgColor) { + this.bgColor = bgColor; + } + + public Float getBgWidthNormalized() { + return this.bgWidthNormalized; + } + + public void setBgWidthNormalized(Float bgWidthNormalized) { + this.bgWidthNormalized = bgWidthNormalized; + } + + public Float getBorderWidthNormalized() { + return this.borderWidthNormalized; + } + + public void setBorderWidthNormalized(Float borderWidthNormalized) { + this.borderWidthNormalized = borderWidthNormalized; + } + + public String getWidth() { + return this.width; + } + + public void setWidth(String width) { + this.width = width; + } + + public String getHeight() { + return this.height; + } + + public void setHeight(String height) { + this.height = height; + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + } + + public String getFontSizeNormalized() { + return this.fontSizeNormalized; + } + + public void setFontSizeNormalized(String fontSizeNormalized) { + this.fontSizeNormalized = fontSizeNormalized; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getPositionNormalized() { + return this.positionNormalized; + } + + public void setPositionNormalized(List positionNormalized) { + this.positionNormalized = positionNormalized; + } + + public List getRulesRefer() { + return this.rulesRefer; + } + + public void setRulesRefer(List rulesRefer) { + this.rulesRefer = rulesRefer; + } + } + + @Override + public DescribeLiveAISubtitleResponse getInstance(UnmarshallerContext context) { + return DescribeLiveAISubtitleResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageRequest.java new file mode 100644 index 0000000000..b87d45191d --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupByPageRequest extends RpcAcsRequest { + + + private Integer sortType; + + private Integer groupStatus; + + private String dataCenter; + + private Integer pageNumber; + + private String appId; + + private Integer pageSize; + public ListLiveMessageGroupByPageRequest() { + super("live", "2016-11-01", "ListLiveMessageGroupByPage", "live"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public Integer getSortType() { + return this.sortType; + } + + public void setSortType(Integer sortType) { + this.sortType = sortType; + if(sortType != null){ + putQueryParameter("SortType", sortType.toString()); + } + } + + public Integer getGroupStatus() { + return this.groupStatus; + } + + public void setGroupStatus(Integer groupStatus) { + this.groupStatus = groupStatus; + if(groupStatus != null){ + putQueryParameter("GroupStatus", groupStatus.toString()); + } + } + + public String getDataCenter() { + return this.dataCenter; + } + + public void setDataCenter(String dataCenter) { + this.dataCenter = dataCenter; + if(dataCenter != null){ + putQueryParameter("DataCenter", dataCenter); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getAppId() { + return this.appId; + } + + public void setAppId(String appId) { + this.appId = appId; + if(appId != null){ + putQueryParameter("AppId", appId); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListLiveMessageGroupByPageResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageResponse.java new file mode 100644 index 0000000000..ef7fee2af9 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/ListLiveMessageGroupByPageResponse.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.ListLiveMessageGroupByPageResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLiveMessageGroupByPageResponse extends AcsResponse { + + private String requestId; + + private Integer totalCount; + + private Integer pageNumber; + + private Integer pageSize; + + private List groupList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getGroupList() { + return this.groupList; + } + + public void setGroupList(List groupList) { + this.groupList = groupList; + } + + public static class Groups { + + private String groupId; + + private String creatorId; + + private Long createtime; + + private String groupName; + + private String groupInfo; + + private Boolean delete; + + private List adminList; + + public String getGroupId() { + return this.groupId; + } + + public void setGroupId(String groupId) { + this.groupId = groupId; + } + + public String getCreatorId() { + return this.creatorId; + } + + public void setCreatorId(String creatorId) { + this.creatorId = creatorId; + } + + public Long getCreatetime() { + return this.createtime; + } + + public void setCreatetime(Long createtime) { + this.createtime = createtime; + } + + public String getGroupName() { + return this.groupName; + } + + public void setGroupName(String groupName) { + this.groupName = groupName; + } + + public String getGroupInfo() { + return this.groupInfo; + } + + public void setGroupInfo(String groupInfo) { + this.groupInfo = groupInfo; + } + + public Boolean getDelete() { + return this.delete; + } + + public void setDelete(Boolean delete) { + this.delete = delete; + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + } + } + + @Override + public ListLiveMessageGroupByPageResponse getInstance(UnmarshallerContext context) { + return ListLiveMessageGroupByPageResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksRequest.java new file mode 100644 index 0000000000..54987bac08 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class QueryRtcAsrTasksRequest extends RpcAcsRequest { + + + private String taskId; + + private Long ownerId; + public QueryRtcAsrTasksRequest() { + super("live", "2016-11-01", "QueryRtcAsrTasks", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return QueryRtcAsrTasksResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksResponse.java new file mode 100644 index 0000000000..de37eab0cd --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/QueryRtcAsrTasksResponse.java @@ -0,0 +1,31 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.QueryRtcAsrTasksResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class QueryRtcAsrTasksResponse extends AcsResponse { + + @Override + public QueryRtcAsrTasksResponse getInstance(UnmarshallerContext context) { + return QueryRtcAsrTasksResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskRequest.java new file mode 100644 index 0000000000..15e3c8f1f6 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskRequest.java @@ -0,0 +1,67 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class StopRtcAsrTaskRequest extends RpcAcsRequest { + + + private String taskId; + + private Long ownerId; + public StopRtcAsrTaskRequest() { + super("live", "2016-11-01", "StopRtcAsrTask", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + @Override + public Class getResponseClass() { + return StopRtcAsrTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskResponse.java new file mode 100644 index 0000000000..fd67aa7f65 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/StopRtcAsrTaskResponse.java @@ -0,0 +1,61 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.StopRtcAsrTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StopRtcAsrTaskResponse extends AcsResponse { + + private String description; + + private String requestId; + + private Long retCode; + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getRetCode() { + return this.retCode; + } + + public void setRetCode(Long retCode) { + this.retCode = retCode; + } + + @Override + public StopRtcAsrTaskResponse getInstance(UnmarshallerContext context) { + return StopRtcAsrTaskResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesRequest.java new file mode 100644 index 0000000000..c645359095 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesRequest.java @@ -0,0 +1,171 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class UpdateLiveAIProduceRulesRequest extends RpcAcsRequest { + + + private String description; + + private String subtitleName; + + private String rulesId; + + private String app; + + private Long ownerId; + + private Boolean isLazy; + + private String liveTemplate; + + private String domain; + + private Boolean isOrigin; + + private String subtitleId; + public UpdateLiveAIProduceRulesRequest() { + super("live", "2016-11-01", "UpdateLiveAIProduceRules", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public String getRulesId() { + return this.rulesId; + } + + public void setRulesId(String rulesId) { + this.rulesId = rulesId; + if(rulesId != null){ + putQueryParameter("RulesId", rulesId); + } + } + + public String getApp() { + return this.app; + } + + public void setApp(String app) { + this.app = app; + if(app != null){ + putQueryParameter("App", app); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public Boolean getIsLazy() { + return this.isLazy; + } + + public void setIsLazy(Boolean isLazy) { + this.isLazy = isLazy; + if(isLazy != null){ + putQueryParameter("IsLazy", isLazy.toString()); + } + } + + public String getLiveTemplate() { + return this.liveTemplate; + } + + public void setLiveTemplate(String liveTemplate) { + this.liveTemplate = liveTemplate; + if(liveTemplate != null){ + putQueryParameter("LiveTemplate", liveTemplate); + } + } + + public String getDomain() { + return this.domain; + } + + public void setDomain(String domain) { + this.domain = domain; + if(domain != null){ + putQueryParameter("Domain", domain); + } + } + + public Boolean getIsOrigin() { + return this.isOrigin; + } + + public void setIsOrigin(Boolean isOrigin) { + this.isOrigin = isOrigin; + if(isOrigin != null){ + putQueryParameter("IsOrigin", isOrigin.toString()); + } + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + if(subtitleId != null){ + putQueryParameter("SubtitleId", subtitleId); + } + } + + @Override + public Class getResponseClass() { + return UpdateLiveAIProduceRulesResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesResponse.java new file mode 100644 index 0000000000..798a7f89a7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAIProduceRulesResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.UpdateLiveAIProduceRulesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateLiveAIProduceRulesResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) { + return UpdateLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleRequest.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleRequest.java new file mode 100644 index 0000000000..48eef6392a --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleRequest.java @@ -0,0 +1,279 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.live.Endpoint; + +/** + * @author auto create + * @version + */ +public class UpdateLiveAISubtitleRequest extends RpcAcsRequest { + + + private String srcLanguage; + + private String description; + + private String fontName; + + private String subtitleName; + + private Float fontSizeNormalized; + + private String fontColor; + + private Boolean showSourceLan; + + @SerializedName("positionNormalized") + private List positionNormalized; + + private Float borderWidthNormalized; + + private Integer maxLines; + + private String height; + + private Integer wordPerLine; + + private Long ownerId; + + private Float bgWidthNormalized; + + private String bgColor; + + private String dstLanguage; + + private String width; + + private String subtitleId; + public UpdateLiveAISubtitleRequest() { + super("live", "2016-11-01", "UpdateLiveAISubtitle", "live"); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getSrcLanguage() { + return this.srcLanguage; + } + + public void setSrcLanguage(String srcLanguage) { + this.srcLanguage = srcLanguage; + if(srcLanguage != null){ + putQueryParameter("SrcLanguage", srcLanguage); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public String getFontName() { + return this.fontName; + } + + public void setFontName(String fontName) { + this.fontName = fontName; + if(fontName != null){ + putQueryParameter("FontName", fontName); + } + } + + public String getSubtitleName() { + return this.subtitleName; + } + + public void setSubtitleName(String subtitleName) { + this.subtitleName = subtitleName; + if(subtitleName != null){ + putQueryParameter("SubtitleName", subtitleName); + } + } + + public Float getFontSizeNormalized() { + return this.fontSizeNormalized; + } + + public void setFontSizeNormalized(Float fontSizeNormalized) { + this.fontSizeNormalized = fontSizeNormalized; + if(fontSizeNormalized != null){ + putQueryParameter("FontSizeNormalized", fontSizeNormalized.toString()); + } + } + + public String getFontColor() { + return this.fontColor; + } + + public void setFontColor(String fontColor) { + this.fontColor = fontColor; + if(fontColor != null){ + putQueryParameter("FontColor", fontColor); + } + } + + public Boolean getShowSourceLan() { + return this.showSourceLan; + } + + public void setShowSourceLan(Boolean showSourceLan) { + this.showSourceLan = showSourceLan; + if(showSourceLan != null){ + putQueryParameter("ShowSourceLan", showSourceLan.toString()); + } + } + + public List getPositionNormalized() { + return this.positionNormalized; + } + + public void setPositionNormalized(List positionNormalized) { + this.positionNormalized = positionNormalized; + if (positionNormalized != null) { + putQueryParameter("PositionNormalized" , new Gson().toJson(positionNormalized)); + } + } + + public Float getBorderWidthNormalized() { + return this.borderWidthNormalized; + } + + public void setBorderWidthNormalized(Float borderWidthNormalized) { + this.borderWidthNormalized = borderWidthNormalized; + if(borderWidthNormalized != null){ + putQueryParameter("BorderWidthNormalized", borderWidthNormalized.toString()); + } + } + + public Integer getMaxLines() { + return this.maxLines; + } + + public void setMaxLines(Integer maxLines) { + this.maxLines = maxLines; + if(maxLines != null){ + putQueryParameter("MaxLines", maxLines.toString()); + } + } + + public String getHeight() { + return this.height; + } + + public void setHeight(String height) { + this.height = height; + if(height != null){ + putQueryParameter("Height", height); + } + } + + public Integer getWordPerLine() { + return this.wordPerLine; + } + + public void setWordPerLine(Integer wordPerLine) { + this.wordPerLine = wordPerLine; + if(wordPerLine != null){ + putQueryParameter("WordPerLine", wordPerLine.toString()); + } + } + + public Long getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(Long ownerId) { + this.ownerId = ownerId; + if(ownerId != null){ + putQueryParameter("OwnerId", ownerId.toString()); + } + } + + public Float getBgWidthNormalized() { + return this.bgWidthNormalized; + } + + public void setBgWidthNormalized(Float bgWidthNormalized) { + this.bgWidthNormalized = bgWidthNormalized; + if(bgWidthNormalized != null){ + putQueryParameter("BgWidthNormalized", bgWidthNormalized.toString()); + } + } + + public String getBgColor() { + return this.bgColor; + } + + public void setBgColor(String bgColor) { + this.bgColor = bgColor; + if(bgColor != null){ + putQueryParameter("BgColor", bgColor); + } + } + + public String getDstLanguage() { + return this.dstLanguage; + } + + public void setDstLanguage(String dstLanguage) { + this.dstLanguage = dstLanguage; + if(dstLanguage != null){ + putQueryParameter("DstLanguage", dstLanguage); + } + } + + public String getWidth() { + return this.width; + } + + public void setWidth(String width) { + this.width = width; + if(width != null){ + putQueryParameter("Width", width); + } + } + + public String getSubtitleId() { + return this.subtitleId; + } + + public void setSubtitleId(String subtitleId) { + this.subtitleId = subtitleId; + if(subtitleId != null){ + putQueryParameter("SubtitleId", subtitleId); + } + } + + @Override + public Class getResponseClass() { + return UpdateLiveAISubtitleResponse.class; + } + +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleResponse.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleResponse.java new file mode 100644 index 0000000000..5e1a5d944b --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/UpdateLiveAISubtitleResponse.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.model.v20161101; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.live.transform.v20161101.UpdateLiveAISubtitleResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateLiveAISubtitleResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public UpdateLiveAISubtitleResponse getInstance(UnmarshallerContext context) { + return UpdateLiveAISubtitleResponseUnmarshaller.unmarshall(this, context); + } +} diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAIProduceRulesResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAIProduceRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..8012a9f0af --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAIProduceRulesResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.AddLiveAIProduceRulesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddLiveAIProduceRulesResponseUnmarshaller { + + public static AddLiveAIProduceRulesResponse unmarshall(AddLiveAIProduceRulesResponse addLiveAIProduceRulesResponse, UnmarshallerContext _ctx) { + + addLiveAIProduceRulesResponse.setRequestId(_ctx.stringValue("AddLiveAIProduceRulesResponse.RequestId")); + addLiveAIProduceRulesResponse.setRulesId(_ctx.stringValue("AddLiveAIProduceRulesResponse.RulesId")); + + return addLiveAIProduceRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAISubtitleResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAISubtitleResponseUnmarshaller.java new file mode 100644 index 0000000000..5f9aa12ab6 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/AddLiveAISubtitleResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.AddLiveAISubtitleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddLiveAISubtitleResponseUnmarshaller { + + public static AddLiveAISubtitleResponse unmarshall(AddLiveAISubtitleResponse addLiveAISubtitleResponse, UnmarshallerContext _ctx) { + + addLiveAISubtitleResponse.setRequestId(_ctx.stringValue("AddLiveAISubtitleResponse.RequestId")); + addLiveAISubtitleResponse.setSubtitleId(_ctx.stringValue("AddLiveAISubtitleResponse.SubtitleId")); + + return addLiveAISubtitleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateRtcAsrTaskResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateRtcAsrTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..de8a7cbd60 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/CreateRtcAsrTaskResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.CreateRtcAsrTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateRtcAsrTaskResponseUnmarshaller { + + public static CreateRtcAsrTaskResponse unmarshall(CreateRtcAsrTaskResponse createRtcAsrTaskResponse, UnmarshallerContext _ctx) { + + createRtcAsrTaskResponse.setRequestId(_ctx.stringValue("CreateRtcAsrTaskResponse.RequestId")); + createRtcAsrTaskResponse.setDescription(_ctx.stringValue("CreateRtcAsrTaskResponse.Description")); + createRtcAsrTaskResponse.setRetCode(_ctx.longValue("CreateRtcAsrTaskResponse.RetCode")); + createRtcAsrTaskResponse.setTaskId(_ctx.stringValue("CreateRtcAsrTaskResponse.TaskId")); + + return createRtcAsrTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAIProduceRulesResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAIProduceRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..b7cdccf5d9 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAIProduceRulesResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.DeleteLiveAIProduceRulesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteLiveAIProduceRulesResponseUnmarshaller { + + public static DeleteLiveAIProduceRulesResponse unmarshall(DeleteLiveAIProduceRulesResponse deleteLiveAIProduceRulesResponse, UnmarshallerContext _ctx) { + + deleteLiveAIProduceRulesResponse.setRequestId(_ctx.stringValue("DeleteLiveAIProduceRulesResponse.RequestId")); + + return deleteLiveAIProduceRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAISubtitleResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAISubtitleResponseUnmarshaller.java new file mode 100644 index 0000000000..43ce3dddb4 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DeleteLiveAISubtitleResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.DeleteLiveAISubtitleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteLiveAISubtitleResponseUnmarshaller { + + public static DeleteLiveAISubtitleResponse unmarshall(DeleteLiveAISubtitleResponse deleteLiveAISubtitleResponse, UnmarshallerContext _ctx) { + + deleteLiveAISubtitleResponse.setRequestId(_ctx.stringValue("DeleteLiveAISubtitleResponse.RequestId")); + + return deleteLiveAISubtitleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAIProduceRulesResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAIProduceRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..bdfddd4189 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAIProduceRulesResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.DescribeLiveAIProduceRulesResponse; +import com.aliyuncs.live.model.v20161101.DescribeLiveAIProduceRulesResponse.RuleInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeLiveAIProduceRulesResponseUnmarshaller { + + public static DescribeLiveAIProduceRulesResponse unmarshall(DescribeLiveAIProduceRulesResponse describeLiveAIProduceRulesResponse, UnmarshallerContext _ctx) { + + describeLiveAIProduceRulesResponse.setRequestId(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RequestId")); + + List ruleInfoList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeLiveAIProduceRulesResponse.RuleInfoList.Length"); i++) { + RuleInfo ruleInfo = new RuleInfo(); + ruleInfo.setDomain(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].Domain")); + ruleInfo.setApp(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].App")); + ruleInfo.setSubtitleName(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].SubtitleName")); + ruleInfo.setIsLazy(_ctx.booleanValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].IsLazy")); + ruleInfo.setIsOrigin(_ctx.booleanValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].IsOrigin")); + ruleInfo.setRulesId(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].RulesId")); + ruleInfo.setLiveTemplate(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].LiveTemplate")); + ruleInfo.setGmtModifyTime(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].GmtModifyTime")); + ruleInfo.setSuffixName(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].SuffixName")); + ruleInfo.setDescription(_ctx.stringValue("DescribeLiveAIProduceRulesResponse.RuleInfoList["+ i +"].Description")); + + ruleInfoList.add(ruleInfo); + } + describeLiveAIProduceRulesResponse.setRuleInfoList(ruleInfoList); + + return describeLiveAIProduceRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAISubtitleResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAISubtitleResponseUnmarshaller.java new file mode 100644 index 0000000000..2c320f6e87 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/DescribeLiveAISubtitleResponseUnmarshaller.java @@ -0,0 +1,69 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.DescribeLiveAISubtitleResponse; +import com.aliyuncs.live.model.v20161101.DescribeLiveAISubtitleResponse.SubtitleConfig; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DescribeLiveAISubtitleResponseUnmarshaller { + + public static DescribeLiveAISubtitleResponse unmarshall(DescribeLiveAISubtitleResponse describeLiveAISubtitleResponse, UnmarshallerContext _ctx) { + + describeLiveAISubtitleResponse.setRequestId(_ctx.stringValue("DescribeLiveAISubtitleResponse.RequestId")); + + List subtitleConfigs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("DescribeLiveAISubtitleResponse.SubtitleConfigs.Length"); i++) { + SubtitleConfig subtitleConfig = new SubtitleConfig(); + subtitleConfig.setDstLanguage(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].DstLanguage")); + subtitleConfig.setSrcLanguage(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].SrcLanguage")); + subtitleConfig.setFontColor(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].FontColor")); + subtitleConfig.setFontName(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].FontName")); + subtitleConfig.setShowSourceLan(_ctx.integerValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].ShowSourceLan")); + subtitleConfig.setMaxLines(_ctx.integerValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].MaxLines")); + subtitleConfig.setWordPerline(_ctx.integerValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].WordPerline")); + subtitleConfig.setBgColor(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].BgColor")); + subtitleConfig.setBgWidthNormalized(_ctx.floatValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].BgWidthNormalized")); + subtitleConfig.setBorderWidthNormalized(_ctx.floatValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].BorderWidthNormalized")); + subtitleConfig.setWidth(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].Width")); + subtitleConfig.setHeight(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].Height")); + subtitleConfig.setSubtitleName(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].SubtitleName")); + subtitleConfig.setSubtitleId(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].SubtitleId")); + subtitleConfig.setFontSizeNormalized(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].FontSizeNormalized")); + subtitleConfig.setDescription(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].Description")); + + List positionNormalized = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].PositionNormalized.Length"); j++) { + positionNormalized.add(_ctx.floatValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].PositionNormalized["+ j +"]")); + } + subtitleConfig.setPositionNormalized(positionNormalized); + + List rulesRefer = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].RulesRefer.Length"); j++) { + rulesRefer.add(_ctx.stringValue("DescribeLiveAISubtitleResponse.SubtitleConfigs["+ i +"].RulesRefer["+ j +"]")); + } + subtitleConfig.setRulesRefer(rulesRefer); + + subtitleConfigs.add(subtitleConfig); + } + describeLiveAISubtitleResponse.setSubtitleConfigs(subtitleConfigs); + + return describeLiveAISubtitleResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupByPageResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupByPageResponseUnmarshaller.java new file mode 100644 index 0000000000..160c5575aa --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/ListLiveMessageGroupByPageResponseUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupByPageResponse; +import com.aliyuncs.live.model.v20161101.ListLiveMessageGroupByPageResponse.Groups; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLiveMessageGroupByPageResponseUnmarshaller { + + public static ListLiveMessageGroupByPageResponse unmarshall(ListLiveMessageGroupByPageResponse listLiveMessageGroupByPageResponse, UnmarshallerContext _ctx) { + + listLiveMessageGroupByPageResponse.setRequestId(_ctx.stringValue("ListLiveMessageGroupByPageResponse.RequestId")); + listLiveMessageGroupByPageResponse.setTotalCount(_ctx.integerValue("ListLiveMessageGroupByPageResponse.TotalCount")); + listLiveMessageGroupByPageResponse.setPageNumber(_ctx.integerValue("ListLiveMessageGroupByPageResponse.PageNumber")); + listLiveMessageGroupByPageResponse.setPageSize(_ctx.integerValue("ListLiveMessageGroupByPageResponse.PageSize")); + + List groupList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLiveMessageGroupByPageResponse.GroupList.Length"); i++) { + Groups groups = new Groups(); + groups.setGroupId(_ctx.stringValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].GroupId")); + groups.setCreatorId(_ctx.stringValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].CreatorId")); + groups.setCreatetime(_ctx.longValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].Createtime")); + groups.setGroupName(_ctx.stringValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].GroupName")); + groups.setGroupInfo(_ctx.stringValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].GroupInfo")); + groups.setDelete(_ctx.booleanValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].Delete")); + + List adminList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].AdminList.Length"); j++) { + adminList.add(_ctx.stringValue("ListLiveMessageGroupByPageResponse.GroupList["+ i +"].AdminList["+ j +"]")); + } + groups.setAdminList(adminList); + + groupList.add(groups); + } + listLiveMessageGroupByPageResponse.setGroupList(groupList); + + return listLiveMessageGroupByPageResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/QueryRtcAsrTasksResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/QueryRtcAsrTasksResponseUnmarshaller.java new file mode 100644 index 0000000000..274ea52a92 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/QueryRtcAsrTasksResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.QueryRtcAsrTasksResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class QueryRtcAsrTasksResponseUnmarshaller { + + public static QueryRtcAsrTasksResponse unmarshall(QueryRtcAsrTasksResponse queryRtcAsrTasksResponse, UnmarshallerContext _ctx) { + + + return queryRtcAsrTasksResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/StopRtcAsrTaskResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/StopRtcAsrTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..1d4e8af6f7 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/StopRtcAsrTaskResponseUnmarshaller.java @@ -0,0 +1,31 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.StopRtcAsrTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StopRtcAsrTaskResponseUnmarshaller { + + public static StopRtcAsrTaskResponse unmarshall(StopRtcAsrTaskResponse stopRtcAsrTaskResponse, UnmarshallerContext _ctx) { + + stopRtcAsrTaskResponse.setRequestId(_ctx.stringValue("StopRtcAsrTaskResponse.RequestId")); + stopRtcAsrTaskResponse.setDescription(_ctx.stringValue("StopRtcAsrTaskResponse.Description")); + stopRtcAsrTaskResponse.setRetCode(_ctx.longValue("StopRtcAsrTaskResponse.RetCode")); + + return stopRtcAsrTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAIProduceRulesResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAIProduceRulesResponseUnmarshaller.java new file mode 100644 index 0000000000..64b7eff52b --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAIProduceRulesResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.UpdateLiveAIProduceRulesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateLiveAIProduceRulesResponseUnmarshaller { + + public static UpdateLiveAIProduceRulesResponse unmarshall(UpdateLiveAIProduceRulesResponse updateLiveAIProduceRulesResponse, UnmarshallerContext _ctx) { + + updateLiveAIProduceRulesResponse.setRequestId(_ctx.stringValue("UpdateLiveAIProduceRulesResponse.RequestId")); + + return updateLiveAIProduceRulesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAISubtitleResponseUnmarshaller.java b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAISubtitleResponseUnmarshaller.java new file mode 100644 index 0000000000..f482f47118 --- /dev/null +++ b/aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/transform/v20161101/UpdateLiveAISubtitleResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.live.transform.v20161101; + +import com.aliyuncs.live.model.v20161101.UpdateLiveAISubtitleResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateLiveAISubtitleResponseUnmarshaller { + + public static UpdateLiveAISubtitleResponse unmarshall(UpdateLiveAISubtitleResponse updateLiveAISubtitleResponse, UnmarshallerContext _ctx) { + + updateLiveAISubtitleResponse.setRequestId(_ctx.stringValue("UpdateLiveAISubtitleResponse.RequestId")); + + return updateLiveAISubtitleResponse; + } +} \ No newline at end of file