com.seeq.model.AuthoritativeRegionOutputV1 Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 64.3.0-v202405012032
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* AuthoritativeRegionOutputV1
*/
public class AuthoritativeRegionOutputV1 {
@JsonProperty("end")
private String end = null;
@JsonProperty("endInclusive")
private Boolean endInclusive = null;
@JsonProperty("start")
private String start = null;
public AuthoritativeRegionOutputV1 end(String end) {
this.end = end;
return this;
}
/**
* Get end
* @return end
**/
@Schema(description = "")
public String getEnd() {
return end;
}
public void setEnd(String end) {
this.end = end;
}
public AuthoritativeRegionOutputV1 endInclusive(Boolean endInclusive) {
this.endInclusive = endInclusive;
return this;
}
/**
* Get endInclusive
* @return endInclusive
**/
@Schema(description = "")
public Boolean getEndInclusive() {
return endInclusive;
}
public void setEndInclusive(Boolean endInclusive) {
this.endInclusive = endInclusive;
}
public AuthoritativeRegionOutputV1 start(String start) {
this.start = start;
return this;
}
/**
* Get start
* @return start
**/
@Schema(description = "")
public String getStart() {
return start;
}
public void setStart(String start) {
this.start = start;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AuthoritativeRegionOutputV1 authoritativeRegionOutputV1 = (AuthoritativeRegionOutputV1) o;
return Objects.equals(this.end, authoritativeRegionOutputV1.end) &&
Objects.equals(this.endInclusive, authoritativeRegionOutputV1.endInclusive) &&
Objects.equals(this.start, authoritativeRegionOutputV1.start);
}
@Override
public int hashCode() {
return Objects.hash(end, endInclusive, start);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AuthoritativeRegionOutputV1 {\n");
sb.append(" end: ").append(toIndentedString(end)).append("\n");
sb.append(" endInclusive: ").append(toIndentedString(endInclusive)).append("\n");
sb.append(" start: ").append(toIndentedString(start)).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 ");
}
}