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

io.dekorate.servicebinding.config.ServiceConfig Maven / Gradle / Ivy

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

import io.dekorate.project.Project;
import io.dekorate.kubernetes.config.ConfigKey;
import io.dekorate.kubernetes.config.Configuration;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import io.sundr.builder.annotations.Buildable;

 /**
  * Generated
  */
  @Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
  public class ServiceConfig extends Configuration{
  public ServiceConfig() {
  }
  public ServiceConfig(Project project,Map attributes,String group,String kind,String name,String version,String id,String namespace,String envVarPrefix) {
    super(project, attributes);
    this.group = group;
    this.kind = kind;
    this.name = name;
    this.version = version;
    this.id = id;
    this.namespace = namespace;
    this.envVarPrefix = envVarPrefix;
  }
  private String group;
  private String kind;
  private String name;
  private String version;
  private String id;
  private String namespace;
  private String envVarPrefix;
  public String getGroup() {
    return this.group;
  }
  public String getKind() {
    return this.kind;
  }
  public String getName() {
    return this.name;
  }
  public String getVersion() {
    return this.version;
  }
  public String getId() {
    return this.id;
  }
  public String getNamespace() {
    return this.namespace;
  }
  public String getEnvVarPrefix() {
    return this.envVarPrefix;
  }
  public static ServiceConfigBuilder newServiceConfigBuilder() {
    return new ServiceConfigBuilder();
  }
  public static ServiceConfigBuilder newServiceConfigBuilderFromDefaults() {
    return new ServiceConfigBuilder();
  }
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;
    ServiceConfig that = (ServiceConfig) o;
    if (group != null ? !group.equals(that.group) :that.group != null) return false;
    if (kind != null ? !kind.equals(that.kind) :that.kind != null) return false;
    if (name != null ? !name.equals(that.name) :that.name != null) return false;
    if (version != null ? !version.equals(that.version) :that.version != null) return false;
    if (id != null ? !id.equals(that.id) :that.id != null) return false;
    if (namespace != null ? !namespace.equals(that.namespace) :that.namespace != null) return false;
    if (envVarPrefix != null ? !envVarPrefix.equals(that.envVarPrefix) :that.envVarPrefix != null) return false;
    return true;
  }
  public int hashCode() {
    return java.util.Objects.hash(group,  kind,  name,  version,  id,  namespace,  envVarPrefix,  super.hashCode());
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy