public class DeleteImageRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
deleteImageType
The method that is used to delete images.
|
String |
imageIds
The ID of the image file.
|
String |
imageType
The type of images that you want to delete.
|
String |
imageURLs
The URL of the image.
|
String |
videoId
The ID of the video file.
|
| 构造器和说明 |
|---|
DeleteImageRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteImageRequest |
build(Map<String,?> map) |
String |
getDeleteImageType() |
String |
getImageIds() |
String |
getImageType() |
String |
getImageURLs() |
String |
getVideoId() |
DeleteImageRequest |
setDeleteImageType(String deleteImageType) |
DeleteImageRequest |
setImageIds(String imageIds) |
DeleteImageRequest |
setImageType(String imageType) |
DeleteImageRequest |
setImageURLs(String imageURLs) |
DeleteImageRequest |
setVideoId(String videoId) |
@NameInMap(value="DeleteImageType") public String deleteImageType
The method that is used to delete images. Valid values:
* **ImageURL**: deletes images based on URLs.
* **ImageId**: deletes images based on image IDs.
* **VideoId**: deletes images associated with a video based on the video ID.
@NameInMap(value="ImageIds") public String imageIds
The ID of the image file. You can specify multiple image IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the image ID:
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Media Files** > **Image** to view the image ID. This method is applicable to images that are uploaded by using the ApsaraVideo VOD console.
* Obtain the value of the ImageId parameter from the response to the [CreateUploadImage](~~55619~~) operation.
* Obtain the value of the ImageId parameter from the response to the [SearchMedia](~~86044~~) operation after you upload images.
> This parameter is required only if you set **DeleteImageType** to **ImageId**.
@NameInMap(value="ImageType") public String imageType
The type of images that you want to delete. The images are associated with the video. This parameter is required only if you set **DeleteImageType** to **VideoId**. Valid values:
* **CoverSnapshot**: thumbnail snapshot.
* **NormalSnapshot**: normal snapshot.
* **SpriteSnapshot**: sprite snapshot.
* **SpriteOriginSnapshot**: sprite source snapshot.
* **All**: images of all the preceding types. If this parameter is not set to All, you can specify multiple types and separate the types with commas (,).
@NameInMap(value="ImageURLs") public String imageURLs
The URL of the image. You can obtain the value of ImageURL from the response to the [CreateUploadImage](~~55619~~) operation. You can specify multiple URLs. Separate multiple URLs with commas (,).
> This parameter is required only if you set **DeleteImageType** to **ImageURL**.
@NameInMap(value="VideoId") public String videoId
The ID of the video file. You can use one of the following methods to obtain the video ID:
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the media file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console.
* Obtain the value of the VideoId parameter from the response to the [CreateUploadVideo](~~55407~~) operation.
* Obtain the value of the VideoId parameter from the response to the [SearchMedia](~~86044~~) operation after you upload media files.
> This parameter is required only if you set **DeleteImageType** to **VideoId**.
public static DeleteImageRequest build(Map<String,?> map) throws Exception
Exceptionpublic DeleteImageRequest setDeleteImageType(String deleteImageType)
public String getDeleteImageType()
public DeleteImageRequest setImageIds(String imageIds)
public String getImageIds()
public DeleteImageRequest setImageType(String imageType)
public String getImageType()
public DeleteImageRequest setImageURLs(String imageURLs)
public String getImageURLs()
public DeleteImageRequest setVideoId(String videoId)
public String getVideoId()
Copyright © 2024. All rights reserved.