com.aliyuncs.vod.model.v20170321.SubmitAIMediaAuditJobRequest 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.vod.model.v20170321;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.vod.Endpoint;
/**
* @author auto create
* @version
*/
public class SubmitAIMediaAuditJobRequest extends RpcAcsRequest {
private String userData;
private String mediaId;
private String templateId;
private String mediaAuditConfiguration;
private String mediaType;
public SubmitAIMediaAuditJobRequest() {
super("vod", "2017-03-21", "SubmitAIMediaAuditJob", "vod");
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 getUserData() {
return this.userData;
}
public void setUserData(String userData) {
this.userData = userData;
if(userData != null){
putQueryParameter("UserData", userData);
}
}
public String getMediaId() {
return this.mediaId;
}
public void setMediaId(String mediaId) {
this.mediaId = mediaId;
if(mediaId != null){
putQueryParameter("MediaId", mediaId);
}
}
public String getTemplateId() {
return this.templateId;
}
public void setTemplateId(String templateId) {
this.templateId = templateId;
if(templateId != null){
putQueryParameter("TemplateId", templateId);
}
}
public String getMediaAuditConfiguration() {
return this.mediaAuditConfiguration;
}
public void setMediaAuditConfiguration(String mediaAuditConfiguration) {
this.mediaAuditConfiguration = mediaAuditConfiguration;
if(mediaAuditConfiguration != null){
putQueryParameter("MediaAuditConfiguration", mediaAuditConfiguration);
}
}
public String getMediaType() {
return this.mediaType;
}
public void setMediaType(String mediaType) {
this.mediaType = mediaType;
if(mediaType != null){
putQueryParameter("MediaType", mediaType);
}
}
@Override
public Class getResponseClass() {
return SubmitAIMediaAuditJobResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy