org.openmetadata.schema.metadataIngestion.SourceConfig Maven / Gradle / Ivy
package org.openmetadata.schema.metadataIngestion;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Additional connection configuration.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"config"
})
@Generated("jsonschema2pojo")
public class SourceConfig {
@JsonProperty("config")
private Object config;
@JsonProperty("config")
public Object getConfig() {
return config;
}
@JsonProperty("config")
public void setConfig(Object config) {
this.config = config;
}
public SourceConfig withConfig(Object config) {
this.config = config;
return this;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(SourceConfig.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('[');
sb.append("config");
sb.append('=');
sb.append(((this.config == null)?"":this.config));
sb.append(',');
if (sb.charAt((sb.length()- 1)) == ',') {
sb.setCharAt((sb.length()- 1), ']');
} else {
sb.append(']');
}
return sb.toString();
}
@Override
public int hashCode() {
int result = 1;
result = ((result* 31)+((this.config == null)? 0 :this.config.hashCode()));
return result;
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof SourceConfig) == false) {
return false;
}
SourceConfig rhs = ((SourceConfig) other);
return ((this.config == rhs.config)||((this.config!= null)&&this.config.equals(rhs.config)));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy