com.volcengine.model.imagex.v2.CreateImageContentTaskBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.imagex.v2;
import com.alibaba.fastjson.JSON;
import java.util.List;
/**
* CreateImageContentTaskBody
*/
@lombok.Data
public final class CreateImageContentTaskBody {
/**
* 操作类型。取值如下所示:
*
* - `refresh_url`:刷新 URL
*
* - `refresh_dir`:目录刷新(支持根目录刷新)
*
* - `preload_url`:预热 URL
*
* - `block_url`:禁用 URL
*
* - `unblock_url`:解禁 URL
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TaskType")
private String taskType;
/**
* 资源 URL 或者目录。
*
* - 当`TaskType`取值`refresh_url`,一次可提交的最大限额为 2000 个;
*
* - 当`TaskType`取值`refresh_dir`,一次可提交的最大限额为 50 个;
*
* - 当`TaskType`取值`preload_url`,一次可提交的最大限额为 2000 个;
*
* - 当`TaskType`取值`block_url`,一次可提交的最大限额为 2000 个;
*
* - 当`TaskType`取值`unblock_url`,一次可提交的最大限额为 2000 个。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Urls")
private List urls;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy