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

eleme.openapi.sdk.media.Site Maven / Gradle / Ivy

The newest version!
package eleme.openapi.sdk.media;

/**
 * 上传站点域名
 * @author fengzhihao
 */
public enum Site {
    /**
     * 中心站点
     */
    HANG_ZHOU(0, "http://upload.media.aliyun.com");

    private final Integer code;

    private final String uploadEndpoint;

    Site(Integer code, String uploadEndpoint) {
        this.code = code;
        this.uploadEndpoint = uploadEndpoint;
    }

    public Integer getCode() {
        return code;
    }

    public String getUploadEndpoint() {
        return uploadEndpoint;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy