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

cn.ucloud.usql.model.GetNamedQueryParam Maven / Gradle / Ivy

There is a newer version: 0.8.4.4-release
Show newest version
package cn.ucloud.usql.model;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;


/**
 * @Description : 获取命名SQL查询 参数类
 * @Author : ucloud-sdk-generator
 * @Date : 2019-03-13 07:56
 **/
public class GetNamedQueryParam extends BaseRequestParam {
    /**
     * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
     */
    @UcloudParam("Region")
    @NotEmpty(message = "region can not be empty")
    private String region;
    /**
     * 已命名查询的Id
     */
    @UcloudParam("NamedQueryId")
    @NotNull(message = "namedQueryId can not be null")
    private Integer namedQueryId;


    public GetNamedQueryParam(String region
            , Integer namedQueryId
    ) {
        super("GetNamedQuery");
        this.region = region;
        this.namedQueryId = namedQueryId;
    }


    public String getRegion() {
        return this.region;
    }

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

    public Integer getNamedQueryId() {
        return this.namedQueryId;
    }

    public void setNamedQueryId(Integer namedQueryId) {
        this.namedQueryId = namedQueryId;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy