All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.debezium.operator.api.model.QuarkusFluent Maven / Gradle / Ivy

The newest version!
package io.debezium.operator.api.model;

import java.lang.SuppressWarnings;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;

/**
 * Generated
 */
@SuppressWarnings("unchecked")
public class QuarkusFluent> extends BaseFluent{
  public QuarkusFluent() {
  }
  
  public QuarkusFluent(Quarkus instance) {
    this.copyInstance(instance);
  }
  private ConfigProperties config;
  
  protected void copyInstance(Quarkus instance) {
    instance = (instance != null ? instance : new Quarkus());
    if (instance != null) {
          this.withConfig(instance.getConfig());
        }
  }
  
  public ConfigProperties getConfig() {
    return this.config;
  }
  
  public A withConfig(ConfigProperties config) {
    this.config = config;
    return (A) this;
  }
  
  public boolean hasConfig() {
    return this.config != null;
  }
  
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;
    QuarkusFluent that = (QuarkusFluent) o;
    if (!java.util.Objects.equals(config, that.config)) return false;
    return true;
  }
  
  public int hashCode() {
    return java.util.Objects.hash(config,  super.hashCode());
  }
  
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (config != null) { sb.append("config:"); sb.append(config); }
    sb.append("}");
    return sb.toString();
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy