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

annotations.io.fabric8.openshift.api.model.GitBuildSourceFluent Maven / Gradle / Ivy

There is a newer version: 0.0.54
Show newest version
package io.fabric8.openshift.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 GitBuildSourceFluent> extends BaseFluent implements Fluent{

     String ref;     String uri;     Map additionalProperties = new HashMap();

    public String getRef(){
    return this.ref;
    }
    public T withRef( String ref){
    this.ref=ref; return (T) this;
    }
    public String getUri(){
    return this.uri;
    }
    public T withUri( String uri){
    this.uri=uri; 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