com.clinia.model.common.V1Facet Maven / Gradle / Ivy
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
// - read more on https://github.com/clinia/api-clients-generation. DO NOT EDIT.
package com.clinia.model.common;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import java.util.Objects;
/** V1Facet */
public class V1Facet {
@JsonProperty("path")
private String path;
public V1Facet setPath(String path) {
this.path = path;
return this;
}
/** Get path */
@javax.annotation.Nonnull
public String getPath() {
return path;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1Facet v1Facet = (V1Facet) o;
return Objects.equals(this.path, v1Facet.path);
}
@Override
public int hashCode() {
return Objects.hash(path);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1Facet {\n");
sb.append(" path: ").append(toIndentedString(path)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}