io.dekorate.helm.config.Annotation Maven / Gradle / Ivy
package io.dekorate.helm.config;
import java.lang.Object;
import java.lang.String;
import io.sundr.builder.annotations.Buildable;
/**
* Generated
*/
@Buildable(builderPackage = "io.fabric8.kubernetes.api.builder")
public class Annotation{
public Annotation() {
}
public Annotation(String key,String value) {
this.key = key;
this.value = value;
}
private String key;
private String value;
public String getKey() {
return this.key;
}
public String getValue() {
return this.value;
}
public static AnnotationBuilder newBuilder() {
return new AnnotationBuilder();
}
public static AnnotationBuilder newBuilderFromDefaults() {
return new AnnotationBuilder();
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Annotation that = (Annotation) o;
if (key != null ? !key.equals(that.key) :that.key != null) return false;
if (value != null ? !value.equals(that.value) :that.value != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(key, value, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy