io.jenkins.x.client.kube.PipelineActivity Maven / Gradle / Ivy
package io.jenkins.x.client.kube;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.client.CustomResource;
import java.util.HashMap;
import java.util.Map;
/**
*/
@JsonDeserialize(
using = JsonDeserializer.None.class
)
public class PipelineActivity extends CustomResource {
private PipelineActivitySpec spec;
@JsonIgnore
private Map additionalProperties = new HashMap();
public PipelineActivity() {
setKind("PipelineActivity");
}
@Override
public String toString() {
return "PipelineActivity{" +
"apiVersion='" + getApiVersion() + '\'' +
", metadata=" + getMetadata() +
", spec=" + spec +
'}';
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
public void setAdditionalProperties(Map additionalProperties) {
this.additionalProperties = additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
public PipelineActivitySpec getSpec() {
return spec;
}
public void setSpec(PipelineActivitySpec spec) {
this.spec = spec;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy