com.huaweicloud.sdk.cloudtest.v1.model.TestPointPageParam 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;
/**
* TestPointPageParam
*/
public class TestPointPageParam {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "deleted")
private String deleted;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "limit")
private Integer limit;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "mindmap_id")
private String mindmapId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "node_id")
private String nodeId;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value = "offset")
private Integer offset;
public TestPointPageParam withDeleted(String deleted) {
this.deleted = deleted;
return this;
}
/**
* Get deleted
* @return deleted
*/
public String getDeleted() {
return deleted;
}
public void setDeleted(String deleted) {
this.deleted = deleted;
}
public TestPointPageParam withLimit(Integer limit) {
this.limit = limit;
return this;
}
/**
* Get limit
* @return limit
*/
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
public TestPointPageParam withMindmapId(String mindmapId) {
this.mindmapId = mindmapId;
return this;
}
/**
* Get mindmapId
* @return mindmapId
*/
public String getMindmapId() {
return mindmapId;
}
public void setMindmapId(String mindmapId) {
this.mindmapId = mindmapId;
}
public TestPointPageParam withNodeId(String nodeId) {
this.nodeId = nodeId;
return this;
}
/**
* Get nodeId
* @return nodeId
*/
public String getNodeId() {
return nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public TestPointPageParam withOffset(Integer offset) {
this.offset = offset;
return this;
}
/**
* Get offset
* @return offset
*/
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
@Override
public boolean equals(java.lang.Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
TestPointPageParam that = (TestPointPageParam) obj;
return Objects.equals(this.deleted, that.deleted) && Objects.equals(this.limit, that.limit)
&& Objects.equals(this.mindmapId, that.mindmapId) && Objects.equals(this.nodeId, that.nodeId)
&& Objects.equals(this.offset, that.offset);
}
@Override
public int hashCode() {
return Objects.hash(deleted, limit, mindmapId, nodeId, offset);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TestPointPageParam {\n");
sb.append(" deleted: ").append(toIndentedString(deleted)).append("\n");
sb.append(" limit: ").append(toIndentedString(limit)).append("\n");
sb.append(" mindmapId: ").append(toIndentedString(mindmapId)).append("\n");
sb.append(" nodeId: ").append(toIndentedString(nodeId)).append("\n");
sb.append(" offset: ").append(toIndentedString(offset)).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 ");
}
}