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

com.volcengine.model.tls.request.DescribeProjectsRequest Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.tls.request;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class DescribeProjectsRequest {
    //start from 1 default 1
    Integer pageNumber;
    //default 20 max 100
    Integer pageSize;
    /**
     * project id and name in request only accept one,not support
     * query by project id and name at same time
     */
    String projectId;
    String projectName;
    /**
     * when query by project name it affects,true means exact match and
     * false means fuzzy match
     */
    Boolean isFullName;

    /**
     * @return 分页查询时的页码。默认为 1
     */
    public Integer getPageNumber() {
        return pageNumber;
    }

    /**
     * @param pageNumber 分页查询时的页码。默认为 1
     */
    public void setPageNumber(Integer pageNumber) {
        this.pageNumber = pageNumber;
    }

    /**
     * @return 分页大小。默认为 20,最大为 100
     */
    public Integer getPageSize() {
        return pageSize;
    }

    /**
     * @param pageSize 分页大小。默认为 20,最大为 100
     */
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    /**
     * @return 日志主题所属的日志项目 ID
     */
    public String getProjectId() {
        return projectId;
    }

    /**
     * @param projectId 日志主题所属的日志项目 ID
     */
    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    /**
     * @return 日志主题名称
     */
    public String getProjectName() {
        return projectName;
    }

    /**
     * @param projectName 日志主题名称
     */
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /**
     * @return 根据 ProjectName 筛选时,是否精确匹配
     */
    public Boolean getFullName() {
        return isFullName;
    }

    /**
     * @param fullName 根据 ProjectName 筛选时,是否精确匹配
     */
    public void setFullName(Boolean fullName) {
        isFullName = fullName;
    }

    /**
     * @return 检验必填参数,true合法false不合法
     */
    public boolean CheckValidation() {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy