com.volcengine.model.imagex.v2.GetAllImageServicesResResultServicesItemMirror 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.Map;
/**
* GetAllImageServicesResResultServicesItemMirror
*/
@lombok.Data
public final class GetAllImageServicesResResultServicesItemMirror {
/**
* 下载图片的协议,取值如下所示:
*
* - `http`
*
* - `https`
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Schema")
private String schema;
/**
* 镜像回源域名。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Host")
private String host;
/**
* 带权重回源域名,key 为 String 类型时,代表镜像回源域名;value 为 Integer 类型时,代表域名权重。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Hosts")
private Map hosts;
/**
* 镜像源 URI,其中图片名用 %s 占位符替代,比如/obj/%s。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Source")
private String source;
/**
* 镜像回源下载原图时,携带的 HTTP 头部,键值都为 String 类型。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Headers")
private Map headers;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy