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

cn.ucloud.usql.model.ListSQLQueriesParam 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;


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

    /**
     * 默认100,最大1000
     */
    @UcloudParam("Limit")
    private Integer limit;

    /**
     * 默认0
     */
    @UcloudParam("Offset")
    private Integer offset;


    public ListSQLQueriesParam(String region) {
        super("ListSQLQueries");
        this.region = region;
    }


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

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

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy