
com.aliyun.ice20201109.models.DeleteMediaInfosRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class DeleteMediaInfosRequest extends TeaModel {
/**
* Specifies whether to delete the physical file of the media asset.
* If the media asset is stored in your own OSS bucket, you must authorize the service role AliyunICEDefaultRole in advance. For more information<props="china">, see Authorize IMS to delete recording files in OSS.
*
* example:
* false
*/
@NameInMap("DeletePhysicalFiles")
public Boolean deletePhysicalFiles;
/**
* The URL of the media asset that you want to delete. The file corresponding to the URL must be registered with IMS. Separate multiple URLs with commas (,). The following two formats are supported:
*
* - http(s)://example-bucket.oss-cn-shanghai.aliyuncs.com/example.mp4?
* - OSS://example-bucket/example.mp4?\
* In this format, it is considered by default that the region of the OSS bucket in which the media asset resides is the same as the region in which IMS is activated.
*
*/
@NameInMap("InputURLs")
public String inputURLs;
/**
* The ID of the media asset that you want to delete from Intelligent Media Services (IMS).
*
* - Separate multiple IDs with commas (,).
*
* If you leave MediaIds empty, you must specify InputURLs.
*
* example:
* 20b48fb04483915d4f2cd8ac,15d4a4b0448391508f2cb486
*/
@NameInMap("MediaIds")
public String mediaIds;
public static DeleteMediaInfosRequest build(java.util.Map map) throws Exception {
DeleteMediaInfosRequest self = new DeleteMediaInfosRequest();
return TeaModel.build(map, self);
}
public DeleteMediaInfosRequest setDeletePhysicalFiles(Boolean deletePhysicalFiles) {
this.deletePhysicalFiles = deletePhysicalFiles;
return this;
}
public Boolean getDeletePhysicalFiles() {
return this.deletePhysicalFiles;
}
public DeleteMediaInfosRequest setInputURLs(String inputURLs) {
this.inputURLs = inputURLs;
return this;
}
public String getInputURLs() {
return this.inputURLs;
}
public DeleteMediaInfosRequest setMediaIds(String mediaIds) {
this.mediaIds = mediaIds;
return this;
}
public String getMediaIds() {
return this.mediaIds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy