annotations.io.fabric8.kubernetes.api.model.runtime.RawExtensionFluent Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.runtime;
import java.util.HashMap;
import java.util.Map;
import java.util.List;
import java.util.ArrayList;
import io.fabric8.common.Fluent;
public class RawExtensionFluent> implements Fluent{
private List RawJSON = new ArrayList();
private Map additionalProperties = new HashMap();
public List getRawJSON(){
return this.RawJSON;
}
public T withRawJSON(List RawJSON){
this.RawJSON.clear();if (RawJSON != null) {this.RawJSON.addAll(RawJSON);} 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;
}
public T addToRawJSON(Integer item){
if (item != null) {this.RawJSON.add(item);} return (T)this;
}
public T addToAdditionalProperties(String key, Object value){
if(key != null && value != null) {this.additionalProperties.put(key, value);} return (T)this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy