io.fabric8.kubernetes.api.model.GitRepoVolumeSourceFluent Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.HashMap;
import java.util.Map;
import io.fabric8.common.Fluent;
import io.fabric8.common.BaseFluent;
import io.fabric8.common.Visitable;
public class GitRepoVolumeSourceFluent> extends BaseFluent implements Fluent{
String repository; String revision; Map additionalProperties = new HashMap();
public String getRepository(){
return this.repository;
}
public T withRepository( String repository){
this.repository=repository; return (T) this;
}
public String getRevision(){
return this.revision;
}
public T withRevision( String revision){
this.revision=revision; return (T) this;
}
public T addToAdditionalProperties( String key, Object value){
if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
}
public Map getAdditionalProperties(){
return this.additionalProperties;
}
public T withAdditionalProperties( Map additionalProperties){
this.additionalProperties.clear();if (additionalProperties != null) {this.additionalProperties.putAll(additionalProperties);} return (T) this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy