com.clinia.model.datacatalog.V1DataPartitionModules 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.datacatalog;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;
import java.util.Objects;
/** V1DataPartitionModules */
public class V1DataPartitionModules {
@JsonProperty("search")
private V1SearchModuleType search;
public V1DataPartitionModules setSearch(V1SearchModuleType search) {
this.search = search;
return this;
}
/** Get search */
@javax.annotation.Nonnull
public V1SearchModuleType getSearch() {
return search;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
V1DataPartitionModules v1DataPartitionModules = (V1DataPartitionModules) o;
return Objects.equals(this.search, v1DataPartitionModules.search);
}
@Override
public int hashCode() {
return Objects.hash(search);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class V1DataPartitionModules {\n");
sb.append(" search: ").append(toIndentedString(search)).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 ");
}
}