com.volcengine.model.imagex.v2.CreateImageTranscodeTaskBodyCallbackConf 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;
/**
* CreateImageTranscodeTaskBodyCallbackConf
*/
@lombok.Data
public final class CreateImageTranscodeTaskBodyCallbackConf {
/**
* 回调方式。仅支持取值`HTTP`。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Method")
private String method;
/**
* 回调 HTTP 请求地址,用于接收转码结果详情。支持使用 https 和 http 协议。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Endpoint")
private String endpoint;
/**
* 回调数据格式。取值如下所示:
*
*
*
* - `XML`
*
* - `JSON`(默认)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "DataFormat")
private String dataFormat;
/**
* 业务自定义回调参数,将在回调消息的`callback_args`中透传出去。具体回调参数请参考[回调内容](https://www.volcengine.com/docs/508/1104726#%E5%9B%9E%E8%B0%83%E5%86%85%E5%AE%B9)。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Args")
private String args;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy