Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.aliyuncs.rtc.model.v20180111.UpdateMPUTaskRequest Maven / Gradle / Ivy
/*
* 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.rtc.model.v20180111;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.rtc.Endpoint;
/**
* @author auto create
* @version
*/
public class UpdateMPUTaskRequest extends RpcAcsRequest {
private List userPaness;
private Integer backgroundColor;
private String sourceType;
private String taskId;
private List clockWidgetss;
private List unsubSpecCameraUserss;
private List unsubSpecAudioUserss;
private List watermarkss;
private Long ownerId;
private List subSpecAudioUserss;
private Integer mediaEncode;
private Integer cropMode;
private List subSpecCameraUserss;
private List layoutIdss;
private Integer streamType;
private List unsubSpecShareScreenUserss;
private List subSpecShareScreenUserss;
private List subSpecUserss;
private String appId;
private List backgroundss;
private Integer mixMode;
public UpdateMPUTaskRequest() {
super("rtc", "2018-01-11", "UpdateMPUTask");
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 List getUserPaness() {
return this.userPaness;
}
public void setUserPaness(List userPaness) {
this.userPaness = userPaness;
if (userPaness != null) {
for (int depth1 = 0; depth1 < userPaness.size(); depth1++) {
if (userPaness.get(depth1).getImagess() != null) {
for (int depth2 = 0; depth2 < userPaness.get(depth1).getImagess().size(); depth2++) {
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".Width" , userPaness.get(depth1).getImagess().get(depth2).getWidth());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".Height" , userPaness.get(depth1).getImagess().get(depth2).getHeight());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".Y" , userPaness.get(depth1).getImagess().get(depth2).getY());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".Url" , userPaness.get(depth1).getImagess().get(depth2).getUrl());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".Display" , userPaness.get(depth1).getImagess().get(depth2).getDisplay());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".ZOrder" , userPaness.get(depth1).getImagess().get(depth2).getZOrder());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Images." + (depth2 + 1) + ".X" , userPaness.get(depth1).getImagess().get(depth2).getX());
}
}
putQueryParameter("UserPanes." + (depth1 + 1) + ".SegmentType" , userPaness.get(depth1).getSegmentType());
putQueryParameter("UserPanes." + (depth1 + 1) + ".UserId" , userPaness.get(depth1).getUserId());
if (userPaness.get(depth1).getTextss() != null) {
for (int depth2 = 0; depth2 < userPaness.get(depth1).getTextss().size(); depth2++) {
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".FontType" , userPaness.get(depth1).getTextss().get(depth2).getFontType());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".FontColor" , userPaness.get(depth1).getTextss().get(depth2).getFontColor());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".Y" , userPaness.get(depth1).getTextss().get(depth2).getY());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".Text" , userPaness.get(depth1).getTextss().get(depth2).getText());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".ZOrder" , userPaness.get(depth1).getTextss().get(depth2).getZOrder());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".X" , userPaness.get(depth1).getTextss().get(depth2).getX());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".FontSize" , userPaness.get(depth1).getTextss().get(depth2).getFontSize());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".BorderWidth" , userPaness.get(depth1).getTextss().get(depth2).getBorderWidth());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".BorderColor" , userPaness.get(depth1).getTextss().get(depth2).getBorderColor());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".Box" , userPaness.get(depth1).getTextss().get(depth2).getBox());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".BoxColor" , userPaness.get(depth1).getTextss().get(depth2).getBoxColor());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".BoxBorderWidth" , userPaness.get(depth1).getTextss().get(depth2).getBoxBorderWidth());
putQueryParameter("UserPanes." + (depth1 + 1) + ".Texts." + (depth2 + 1) + ".Alpha" , userPaness.get(depth1).getTextss().get(depth2).getAlpha());
}
}
putQueryParameter("UserPanes." + (depth1 + 1) + ".SourceType" , userPaness.get(depth1).getSourceType());
putQueryParameter("UserPanes." + (depth1 + 1) + ".PaneId" , userPaness.get(depth1).getPaneId());
}
}
}
public Integer getBackgroundColor() {
return this.backgroundColor;
}
public void setBackgroundColor(Integer backgroundColor) {
this.backgroundColor = backgroundColor;
if(backgroundColor != null){
putQueryParameter("BackgroundColor", backgroundColor.toString());
}
}
public String getSourceType() {
return this.sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
if(sourceType != null){
putQueryParameter("SourceType", sourceType);
}
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}
public List getClockWidgetss() {
return this.clockWidgetss;
}
public void setClockWidgetss(List clockWidgetss) {
this.clockWidgetss = clockWidgetss;
if (clockWidgetss != null) {
for (int depth1 = 0; depth1 < clockWidgetss.size(); depth1++) {
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".FontType" , clockWidgetss.get(depth1).getFontType());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".FontColor" , clockWidgetss.get(depth1).getFontColor());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".Y" , clockWidgetss.get(depth1).getY());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".ZOrder" , clockWidgetss.get(depth1).getZOrder());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".X" , clockWidgetss.get(depth1).getX());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".FontSize" , clockWidgetss.get(depth1).getFontSize());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".BorderWidth" , clockWidgetss.get(depth1).getBorderWidth());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".BorderColor" , clockWidgetss.get(depth1).getBorderColor());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".Box" , clockWidgetss.get(depth1).getBox());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".BoxColor" , clockWidgetss.get(depth1).getBoxColor());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".BoxBorderWidth" , clockWidgetss.get(depth1).getBoxBorderWidth());
putQueryParameter("ClockWidgets." + (depth1 + 1) + ".Alpha" , clockWidgetss.get(depth1).getAlpha());
}
}
}
public List getUnsubSpecCameraUserss() {
return this.unsubSpecCameraUserss;
}
public void setUnsubSpecCameraUserss(List unsubSpecCameraUserss) {
this.unsubSpecCameraUserss = unsubSpecCameraUserss;
if (unsubSpecCameraUserss != null) {
for (int i = 0; i < unsubSpecCameraUserss.size(); i++) {
putQueryParameter("UnsubSpecCameraUsers." + (i + 1) , unsubSpecCameraUserss.get(i));
}
}
}
public List getUnsubSpecAudioUserss() {
return this.unsubSpecAudioUserss;
}
public void setUnsubSpecAudioUserss(List unsubSpecAudioUserss) {
this.unsubSpecAudioUserss = unsubSpecAudioUserss;
if (unsubSpecAudioUserss != null) {
for (int i = 0; i < unsubSpecAudioUserss.size(); i++) {
putQueryParameter("UnsubSpecAudioUsers." + (i + 1) , unsubSpecAudioUserss.get(i));
}
}
}
public List getWatermarkss() {
return this.watermarkss;
}
public void setWatermarkss(List watermarkss) {
this.watermarkss = watermarkss;
if (watermarkss != null) {
for (int depth1 = 0; depth1 < watermarkss.size(); depth1++) {
putQueryParameter("Watermarks." + (depth1 + 1) + ".Alpha" , watermarkss.get(depth1).getAlpha());
putQueryParameter("Watermarks." + (depth1 + 1) + ".Width" , watermarkss.get(depth1).getWidth());
putQueryParameter("Watermarks." + (depth1 + 1) + ".Height" , watermarkss.get(depth1).getHeight());
putQueryParameter("Watermarks." + (depth1 + 1) + ".Y" , watermarkss.get(depth1).getY());
putQueryParameter("Watermarks." + (depth1 + 1) + ".Url" , watermarkss.get(depth1).getUrl());
putQueryParameter("Watermarks." + (depth1 + 1) + ".Display" , watermarkss.get(depth1).getDisplay());
putQueryParameter("Watermarks." + (depth1 + 1) + ".ZOrder" , watermarkss.get(depth1).getZOrder());
putQueryParameter("Watermarks." + (depth1 + 1) + ".X" , watermarkss.get(depth1).getX());
}
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public List getSubSpecAudioUserss() {
return this.subSpecAudioUserss;
}
public void setSubSpecAudioUserss(List subSpecAudioUserss) {
this.subSpecAudioUserss = subSpecAudioUserss;
if (subSpecAudioUserss != null) {
for (int i = 0; i < subSpecAudioUserss.size(); i++) {
putQueryParameter("SubSpecAudioUsers." + (i + 1) , subSpecAudioUserss.get(i));
}
}
}
public Integer getMediaEncode() {
return this.mediaEncode;
}
public void setMediaEncode(Integer mediaEncode) {
this.mediaEncode = mediaEncode;
if(mediaEncode != null){
putQueryParameter("MediaEncode", mediaEncode.toString());
}
}
public Integer getCropMode() {
return this.cropMode;
}
public void setCropMode(Integer cropMode) {
this.cropMode = cropMode;
if(cropMode != null){
putQueryParameter("CropMode", cropMode.toString());
}
}
public List getSubSpecCameraUserss() {
return this.subSpecCameraUserss;
}
public void setSubSpecCameraUserss(List subSpecCameraUserss) {
this.subSpecCameraUserss = subSpecCameraUserss;
if (subSpecCameraUserss != null) {
for (int i = 0; i < subSpecCameraUserss.size(); i++) {
putQueryParameter("SubSpecCameraUsers." + (i + 1) , subSpecCameraUserss.get(i));
}
}
}
public List getLayoutIdss() {
return this.layoutIdss;
}
public void setLayoutIdss(List layoutIdss) {
this.layoutIdss = layoutIdss;
if (layoutIdss != null) {
for (int i = 0; i < layoutIdss.size(); i++) {
putQueryParameter("LayoutIds." + (i + 1) , layoutIdss.get(i));
}
}
}
public Integer getStreamType() {
return this.streamType;
}
public void setStreamType(Integer streamType) {
this.streamType = streamType;
if(streamType != null){
putQueryParameter("StreamType", streamType.toString());
}
}
public List getUnsubSpecShareScreenUserss() {
return this.unsubSpecShareScreenUserss;
}
public void setUnsubSpecShareScreenUserss(List unsubSpecShareScreenUserss) {
this.unsubSpecShareScreenUserss = unsubSpecShareScreenUserss;
if (unsubSpecShareScreenUserss != null) {
for (int i = 0; i < unsubSpecShareScreenUserss.size(); i++) {
putQueryParameter("UnsubSpecShareScreenUsers." + (i + 1) , unsubSpecShareScreenUserss.get(i));
}
}
}
public List getSubSpecShareScreenUserss() {
return this.subSpecShareScreenUserss;
}
public void setSubSpecShareScreenUserss(List subSpecShareScreenUserss) {
this.subSpecShareScreenUserss = subSpecShareScreenUserss;
if (subSpecShareScreenUserss != null) {
for (int i = 0; i < subSpecShareScreenUserss.size(); i++) {
putQueryParameter("SubSpecShareScreenUsers." + (i + 1) , subSpecShareScreenUserss.get(i));
}
}
}
public List getSubSpecUserss() {
return this.subSpecUserss;
}
public void setSubSpecUserss(List subSpecUserss) {
this.subSpecUserss = subSpecUserss;
if (subSpecUserss != null) {
for (int i = 0; i < subSpecUserss.size(); i++) {
putQueryParameter("SubSpecUsers." + (i + 1) , subSpecUserss.get(i));
}
}
}
public String getAppId() {
return this.appId;
}
public void setAppId(String appId) {
this.appId = appId;
if(appId != null){
putQueryParameter("AppId", appId);
}
}
public List getBackgroundss() {
return this.backgroundss;
}
public void setBackgroundss(List backgroundss) {
this.backgroundss = backgroundss;
if (backgroundss != null) {
for (int depth1 = 0; depth1 < backgroundss.size(); depth1++) {
putQueryParameter("Backgrounds." + (depth1 + 1) + ".Width" , backgroundss.get(depth1).getWidth());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".Height" , backgroundss.get(depth1).getHeight());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".Y" , backgroundss.get(depth1).getY());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".Url" , backgroundss.get(depth1).getUrl());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".Display" , backgroundss.get(depth1).getDisplay());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".ZOrder" , backgroundss.get(depth1).getZOrder());
putQueryParameter("Backgrounds." + (depth1 + 1) + ".X" , backgroundss.get(depth1).getX());
}
}
}
public Integer getMixMode() {
return this.mixMode;
}
public void setMixMode(Integer mixMode) {
this.mixMode = mixMode;
if(mixMode != null){
putQueryParameter("MixMode", mixMode.toString());
}
}
public static class UserPanes {
private List imagess;
private Integer segmentType;
private String userId;
private List textss;
private String sourceType;
private Integer paneId;
public List getImagess() {
return this.imagess;
}
public void setImagess(List imagess) {
this.imagess = imagess;
}
public Integer getSegmentType() {
return this.segmentType;
}
public void setSegmentType(Integer segmentType) {
this.segmentType = segmentType;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public List getTextss() {
return this.textss;
}
public void setTextss(List textss) {
this.textss = textss;
}
public String getSourceType() {
return this.sourceType;
}
public void setSourceType(String sourceType) {
this.sourceType = sourceType;
}
public Integer getPaneId() {
return this.paneId;
}
public void setPaneId(Integer paneId) {
this.paneId = paneId;
}
public static class Images {
private Float width;
private Float height;
private Float y;
private String url;
private Integer display;
private Integer zOrder;
private Float x;
public Float getWidth() {
return this.width;
}
public void setWidth(Float width) {
this.width = width;
}
public Float getHeight() {
return this.height;
}
public void setHeight(Float height) {
this.height = height;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getDisplay() {
return this.display;
}
public void setDisplay(Integer display) {
this.display = display;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
}
public static class Texts {
private Integer fontType;
private Integer fontColor;
private Float y;
private String text;
private Integer zOrder;
private Float x;
private Integer fontSize;
private Integer borderWidth;
private Long borderColor;
private Boolean box;
private Long boxColor;
private Integer boxBorderWidth;
private Float alpha;
public Integer getFontType() {
return this.fontType;
}
public void setFontType(Integer fontType) {
this.fontType = fontType;
}
public Integer getFontColor() {
return this.fontColor;
}
public void setFontColor(Integer fontColor) {
this.fontColor = fontColor;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
public Integer getFontSize() {
return this.fontSize;
}
public void setFontSize(Integer fontSize) {
this.fontSize = fontSize;
}
public Integer getBorderWidth() {
return this.borderWidth;
}
public void setBorderWidth(Integer borderWidth) {
this.borderWidth = borderWidth;
}
public Long getBorderColor() {
return this.borderColor;
}
public void setBorderColor(Long borderColor) {
this.borderColor = borderColor;
}
public Boolean getBox() {
return this.box;
}
public void setBox(Boolean box) {
this.box = box;
}
public Long getBoxColor() {
return this.boxColor;
}
public void setBoxColor(Long boxColor) {
this.boxColor = boxColor;
}
public Integer getBoxBorderWidth() {
return this.boxBorderWidth;
}
public void setBoxBorderWidth(Integer boxBorderWidth) {
this.boxBorderWidth = boxBorderWidth;
}
public Float getAlpha() {
return this.alpha;
}
public void setAlpha(Float alpha) {
this.alpha = alpha;
}
}
}
public static class ClockWidgets {
private Integer fontType;
private Integer fontColor;
private Float y;
private Integer zOrder;
private Float x;
private Integer fontSize;
private Integer borderWidth;
private Long borderColor;
private Boolean box;
private Long boxColor;
private Integer boxBorderWidth;
private Float alpha;
public Integer getFontType() {
return this.fontType;
}
public void setFontType(Integer fontType) {
this.fontType = fontType;
}
public Integer getFontColor() {
return this.fontColor;
}
public void setFontColor(Integer fontColor) {
this.fontColor = fontColor;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
public Integer getFontSize() {
return this.fontSize;
}
public void setFontSize(Integer fontSize) {
this.fontSize = fontSize;
}
public Integer getBorderWidth() {
return this.borderWidth;
}
public void setBorderWidth(Integer borderWidth) {
this.borderWidth = borderWidth;
}
public Long getBorderColor() {
return this.borderColor;
}
public void setBorderColor(Long borderColor) {
this.borderColor = borderColor;
}
public Boolean getBox() {
return this.box;
}
public void setBox(Boolean box) {
this.box = box;
}
public Long getBoxColor() {
return this.boxColor;
}
public void setBoxColor(Long boxColor) {
this.boxColor = boxColor;
}
public Integer getBoxBorderWidth() {
return this.boxBorderWidth;
}
public void setBoxBorderWidth(Integer boxBorderWidth) {
this.boxBorderWidth = boxBorderWidth;
}
public Float getAlpha() {
return this.alpha;
}
public void setAlpha(Float alpha) {
this.alpha = alpha;
}
}
public static class Watermarks {
private Float alpha;
private Float width;
private Float height;
private Float y;
private String url;
private Integer display;
private Integer zOrder;
private Float x;
public Float getAlpha() {
return this.alpha;
}
public void setAlpha(Float alpha) {
this.alpha = alpha;
}
public Float getWidth() {
return this.width;
}
public void setWidth(Float width) {
this.width = width;
}
public Float getHeight() {
return this.height;
}
public void setHeight(Float height) {
this.height = height;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getDisplay() {
return this.display;
}
public void setDisplay(Integer display) {
this.display = display;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
}
public static class Backgrounds {
private Float width;
private Float height;
private Float y;
private String url;
private Integer display;
private Integer zOrder;
private Float x;
public Float getWidth() {
return this.width;
}
public void setWidth(Float width) {
this.width = width;
}
public Float getHeight() {
return this.height;
}
public void setHeight(Float height) {
this.height = height;
}
public Float getY() {
return this.y;
}
public void setY(Float y) {
this.y = y;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getDisplay() {
return this.display;
}
public void setDisplay(Integer display) {
this.display = display;
}
public Integer getZOrder() {
return this.zOrder;
}
public void setZOrder(Integer zOrder) {
this.zOrder = zOrder;
}
public Float getX() {
return this.x;
}
public void setX(Float x) {
this.x = x;
}
}
@Override
public Class getResponseClass() {
return UpdateMPUTaskResponse.class;
}
}