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

io.dekorate.servicebinding.model.BindingPathFluentImpl Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.servicebinding.model;

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

 /**
  * Generated
  */
  @SuppressWarnings(value = "unchecked")
  public class BindingPathFluentImpl> extends BaseFluent implements BindingPathFluent{
  public BindingPathFluentImpl() {
  }
  public BindingPathFluentImpl(BindingPath instance) {
    this.withContainerPath(instance.getContainerPath()); 
    this.withSecretPath(instance.getSecretPath()); 
  }
  private String containerPath;
  private String secretPath;
  public String getContainerPath() {
    return this.containerPath;
  }
  public A withContainerPath(String containerPath) {
    this.containerPath=containerPath; return (A) this;
  }
  public Boolean hasContainerPath() {
    return this.containerPath != null;
  }
  public String getSecretPath() {
    return this.secretPath;
  }
  public A withSecretPath(String secretPath) {
    this.secretPath=secretPath; return (A) this;
  }
  public Boolean hasSecretPath() {
    return this.secretPath != null;
  }
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    BindingPathFluentImpl that = (BindingPathFluentImpl) o;
    if (containerPath != null ? !containerPath.equals(that.containerPath) :that.containerPath != null) return false;
    if (secretPath != null ? !secretPath.equals(that.secretPath) :that.secretPath != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(containerPath,  secretPath,  super.hashCode());
  }
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("{");
    if (containerPath != null) { sb.append("containerPath:"); sb.append(containerPath + ","); }
    if (secretPath != null) { sb.append("secretPath:"); sb.append(secretPath); }
    sb.append("}");
    return sb.toString();
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy