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

cn.ucloud.ocr.model.GetUAIOcrAvailResourceTypeParam Maven / Gradle / Ivy

package cn.ucloud.ocr.model;

import cn.ucloud.common.annotation.UcloudParam;
import cn.ucloud.common.pojo.BaseRequestParam;

import javax.validation.constraints.NotEmpty;

/**
 * @Description :获取可用UAI-OCR资源类型
 * @Author : codezhang
 * @Date : 2019-04-19 15:26
 **/
public class GetUAIOcrAvailResourceTypeParam extends BaseRequestParam {

    /**
     * 地域。 参见 [地域和可用区列表]
     */
    @NotEmpty(message = "region can not be empty")
    @UcloudParam("Region")
    private String region;

    /**
     * 可用区。参见 [可用区列表]
     */
    @UcloudParam("Zone")
    private String zone;

    public GetUAIOcrAvailResourceTypeParam(@NotEmpty(message = "region can not be empty") String region) {
        super("GetUAIOcrAvailResourceType");
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getZone() {
        return zone;
    }

    public void setZone(String zone) {
        this.zone = zone;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy