io.dekorate.servicebinding.config.ApplicationConfig Maven / Gradle / Ivy
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 ApplicationConfig extends Configuration{
public ApplicationConfig() {
}
public ApplicationConfig(Project project,Map attributes,String resource,String kind,String name,String group,String version) {
super(project, attributes);
this.resource = resource;
this.kind = kind;
this.name = name;
this.group = group;
this.version = version;
}
private String resource;
private String kind;
private String name;
private String group;
private String version;
public String getResource() {
return this.resource;
}
public String getKind() {
return this.kind;
}
public String getName() {
return this.name;
}
public String getGroup() {
return this.group;
}
public String getVersion() {
return this.version;
}
public static ApplicationConfigBuilder newApplicationConfigBuilder() {
return new ApplicationConfigBuilder();
}
public static ApplicationConfigBuilder newApplicationConfigBuilderFromDefaults() {
return new ApplicationConfigBuilder();
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ApplicationConfig that = (ApplicationConfig) o;
if (resource != null ? !resource.equals(that.resource) :that.resource != 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 (group != null ? !group.equals(that.group) :that.group != null) return false;
if (version != null ? !version.equals(that.version) :that.version != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(resource, kind, name, group, version, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy