com.huaweicloud.sdk.cloudtest.v1.model.QueryProjectIssuesRelationTestCasesInfo Maven / Gradle / Ivy
package com.huaweicloud.sdk.cloudtest.v1.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
/**
* 查询项目下关联了需求的用例列表请求体
*/
public class QueryProjectIssuesRelationTestCasesInfo {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "page_no")
private Integer pageNo;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "page_size")
private Integer pageSize;
public QueryProjectIssuesRelationTestCasesInfo withPageNo(Integer pageNo) {
this.pageNo = pageNo;
return this;
}
/**
* 页码
* minimum: 1
* maximum: 20000
* @return pageNo
*/
public Integer getPageNo() {
return pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
}
public QueryProjectIssuesRelationTestCasesInfo withPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* 每页数量
* minimum: 1
* maximum: 100
* @return pageSize
*/
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
QueryProjectIssuesRelationTestCasesInfo that = (QueryProjectIssuesRelationTestCasesInfo) obj;
return Objects.equals(this.pageNo, that.pageNo) && Objects.equals(this.pageSize, that.pageSize);
}
@Override
public int hashCode() {
return Objects.hash(pageNo, pageSize);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryProjectIssuesRelationTestCasesInfo {\n");
sb.append(" pageNo: ").append(toIndentedString(pageNo)).append("\n");
sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}