org.finra.herd.sdk.model.IndexSearchKey Maven / Gradle / Ivy
/*
* herd-external
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.125.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package org.finra.herd.sdk.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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.finra.herd.sdk.model.IndexSearchResultTypeKey;
import org.finra.herd.sdk.model.TagKey;
/**
* IndexSearchKey
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class IndexSearchKey {
@JsonProperty("tagKey")
private TagKey tagKey = null;
@JsonProperty("indexSearchResultTypeKey")
private IndexSearchResultTypeKey indexSearchResultTypeKey = null;
@JsonProperty("includeTagHierarchy")
private Boolean includeTagHierarchy = null;
public IndexSearchKey tagKey(TagKey tagKey) {
this.tagKey = tagKey;
return this;
}
/**
* Get tagKey
* @return tagKey
**/
@ApiModelProperty(value = "")
public TagKey getTagKey() {
return tagKey;
}
public void setTagKey(TagKey tagKey) {
this.tagKey = tagKey;
}
public IndexSearchKey indexSearchResultTypeKey(IndexSearchResultTypeKey indexSearchResultTypeKey) {
this.indexSearchResultTypeKey = indexSearchResultTypeKey;
return this;
}
/**
* Get indexSearchResultTypeKey
* @return indexSearchResultTypeKey
**/
@ApiModelProperty(value = "")
public IndexSearchResultTypeKey getIndexSearchResultTypeKey() {
return indexSearchResultTypeKey;
}
public void setIndexSearchResultTypeKey(IndexSearchResultTypeKey indexSearchResultTypeKey) {
this.indexSearchResultTypeKey = indexSearchResultTypeKey;
}
public IndexSearchKey includeTagHierarchy(Boolean includeTagHierarchy) {
this.includeTagHierarchy = includeTagHierarchy;
return this;
}
/**
* An optional boolean flag that specifies if business object definition associated with entire tag hierarchy is to be retrieved
* @return includeTagHierarchy
**/
@ApiModelProperty(value = "An optional boolean flag that specifies if business object definition associated with entire tag hierarchy is to be retrieved ")
public Boolean getIncludeTagHierarchy() {
return includeTagHierarchy;
}
public void setIncludeTagHierarchy(Boolean includeTagHierarchy) {
this.includeTagHierarchy = includeTagHierarchy;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
IndexSearchKey indexSearchKey = (IndexSearchKey) o;
return Objects.equals(this.tagKey, indexSearchKey.tagKey) &&
Objects.equals(this.indexSearchResultTypeKey, indexSearchKey.indexSearchResultTypeKey) &&
Objects.equals(this.includeTagHierarchy, indexSearchKey.includeTagHierarchy);
}
@Override
public int hashCode() {
return Objects.hash(tagKey, indexSearchResultTypeKey, includeTagHierarchy);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class IndexSearchKey {\n");
sb.append(" tagKey: ").append(toIndentedString(tagKey)).append("\n");
sb.append(" indexSearchResultTypeKey: ").append(toIndentedString(indexSearchResultTypeKey)).append("\n");
sb.append(" includeTagHierarchy: ").append(toIndentedString(includeTagHierarchy)).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 ");
}
}