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

cn.ucloud.ocr.model.DeleteUAIOcrResourceParam 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 16:38
 **/
public class DeleteUAIOcrResourceParam extends BaseRequestParam {
    /**
     * 地域。 参见 [地域和可用区列表]
     */
    @NotEmpty(message = "region can not be empty")
    @UcloudParam("Region")
    private String region;

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

    /**
     * 资源ID
     */
    @NotEmpty(message = "resourceId can not be empty")
    @UcloudParam("ResourceId")
    private String resourceId;

    public DeleteUAIOcrResourceParam(@NotEmpty(message = "region can not be empty") String region,
                                     @NotEmpty(message = "resourceId can not be empty") String resourceId) {
        super("DeleteUAIOcrResource");
        this.region = region;
        this.resourceId = resourceId;
    }

    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;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy