All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.response.CommitImageUploadResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.beans.ImageInfo;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class CommitImageUploadResponse {
    @JSONField(name = "ResponseMetadata")
    ResponseMetadata responseMetadata;
    @JSONField(name = "Result")
    CommitImageUploadResultBean result;

    @Data
    public static class CommitImageUploadResultBean {
        @JSONField(name = "RequestId")
        String requestId;
        @JSONField(name = "Results")
        List results;
        @JSONField(name = "PluginResult")
        List imageInfos;
    }

    @Data
    public static class UploadImageResultBean {
        @JSONField(name = "Uri")
        String uri;
        @JSONField(name = "UriStatus")
        Integer uriStatus;
        @JSONField(name = "Encryption")
        EncryptionBean encryption;
    }

    @Data
    public static class EncryptionBean {
        @JSONField(name = "Uri")
        String uri;
        @JSONField(name = "SecretKey")
        String secretKey;
        @JSONField(name = "Algorithm")
        String algorithm;
        @JSONField(name = "Version")
        String version;
        @JSONField(name = "SourceMd5")
        String sourceMd5;
        @JSONField(name = "Extra")
        Map extra;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy