io.fabric8.knative.internal.pkg.apis.duck.v1.AddressableFluentImpl Maven / Gradle / Ivy
package io.fabric8.knative.internal.pkg.apis.duck.v1;
import java.lang.Deprecated;
import io.fabric8.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;
public class AddressableFluentImpl> extends io.fabric8.kubernetes.api.builder.BaseFluent implements io.fabric8.knative.internal.pkg.apis.duck.v1.AddressableFluent {
private java.lang.String url;
public AddressableFluentImpl() {
}
public AddressableFluentImpl(io.fabric8.knative.internal.pkg.apis.duck.v1.Addressable instance) {
this.withUrl(instance.getUrl());
}
public java.lang.String getUrl() {
return this.url;
}
public A withUrl(java.lang.String url) {
this.url=url; return (A) this;
}
public java.lang.Boolean hasUrl() {
return this.url != null;
}
@java.lang.Deprecated
/**
* Method is deprecated. use withUrl instead.
*/
public A withNewUrl(java.lang.String arg0) {
return (A)withUrl(new String(arg0));
}
public boolean equals(java.lang.Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
AddressableFluentImpl that = (AddressableFluentImpl) o;
if (url != null ? !url.equals(that.url) :that.url != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(url, super.hashCode());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy