org.finra.herd.sdk.model.ConfigurationEntry 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;
/**
* ConfigurationEntry
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class ConfigurationEntry {
@JsonProperty("configurationEntryKey")
private String configurationEntryKey = null;
@JsonProperty("configurationEntryValue")
private String configurationEntryValue = null;
@JsonProperty("configurationEntryValueClob")
private String configurationEntryValueClob = null;
public ConfigurationEntry configurationEntryKey(String configurationEntryKey) {
this.configurationEntryKey = configurationEntryKey;
return this;
}
/**
* The configuration entry key
* @return configurationEntryKey
**/
@ApiModelProperty(required = true, value = "The configuration entry key")
public String getConfigurationEntryKey() {
return configurationEntryKey;
}
public void setConfigurationEntryKey(String configurationEntryKey) {
this.configurationEntryKey = configurationEntryKey;
}
public ConfigurationEntry configurationEntryValue(String configurationEntryValue) {
this.configurationEntryValue = configurationEntryValue;
return this;
}
/**
* The configuration entry value
* @return configurationEntryValue
**/
@ApiModelProperty(value = "The configuration entry value")
public String getConfigurationEntryValue() {
return configurationEntryValue;
}
public void setConfigurationEntryValue(String configurationEntryValue) {
this.configurationEntryValue = configurationEntryValue;
}
public ConfigurationEntry configurationEntryValueClob(String configurationEntryValueClob) {
this.configurationEntryValueClob = configurationEntryValueClob;
return this;
}
/**
* The configuration entry value CLOB (character large object)
* @return configurationEntryValueClob
**/
@ApiModelProperty(value = "The configuration entry value CLOB (character large object)")
public String getConfigurationEntryValueClob() {
return configurationEntryValueClob;
}
public void setConfigurationEntryValueClob(String configurationEntryValueClob) {
this.configurationEntryValueClob = configurationEntryValueClob;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ConfigurationEntry configurationEntry = (ConfigurationEntry) o;
return Objects.equals(this.configurationEntryKey, configurationEntry.configurationEntryKey) &&
Objects.equals(this.configurationEntryValue, configurationEntry.configurationEntryValue) &&
Objects.equals(this.configurationEntryValueClob, configurationEntry.configurationEntryValueClob);
}
@Override
public int hashCode() {
return Objects.hash(configurationEntryKey, configurationEntryValue, configurationEntryValueClob);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ConfigurationEntry {\n");
sb.append(" configurationEntryKey: ").append(toIndentedString(configurationEntryKey)).append("\n");
sb.append(" configurationEntryValue: ").append(toIndentedString(configurationEntryValue)).append("\n");
sb.append(" configurationEntryValueClob: ").append(toIndentedString(configurationEntryValueClob)).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 ");
}
}