io.fabric8.openshift.api.model.template.Parameter Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.template;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"Description",
"From",
"Generate",
"Name",
"Value"
})
public class Parameter {
/**
*
*
*/
@JsonProperty("Description")
private String Description;
/**
*
*
*/
@JsonProperty("From")
private String From;
/**
*
*
*/
@JsonProperty("Generate")
private String Generate;
/**
*
*
*/
@JsonProperty("Name")
private String Name;
/**
*
*
*/
@JsonProperty("Value")
private String Value;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public Parameter() {
}
/**
*
* @param Name
* @param Value
* @param Description
* @param Generate
* @param From
*/
public Parameter(String Description, String From, String Generate, String Name, String Value) {
this.Description = Description;
this.From = From;
this.Generate = Generate;
this.Name = Name;
this.Value = Value;
}
/**
*
*
* @return
* The Description
*/
@JsonProperty("Description")
public String getDescription() {
return Description;
}
/**
*
*
* @param Description
* The Description
*/
@JsonProperty("Description")
public void setDescription(String Description) {
this.Description = Description;
}
/**
*
*
* @return
* The From
*/
@JsonProperty("From")
public String getFrom() {
return From;
}
/**
*
*
* @param From
* The From
*/
@JsonProperty("From")
public void setFrom(String From) {
this.From = From;
}
/**
*
*
* @return
* The Generate
*/
@JsonProperty("Generate")
public String getGenerate() {
return Generate;
}
/**
*
*
* @param Generate
* The Generate
*/
@JsonProperty("Generate")
public void setGenerate(String Generate) {
this.Generate = Generate;
}
/**
*
*
* @return
* The Name
*/
@JsonProperty("Name")
public String getName() {
return Name;
}
/**
*
*
* @param Name
* The Name
*/
@JsonProperty("Name")
public void setName(String Name) {
this.Name = Name;
}
/**
*
*
* @return
* The Value
*/
@JsonProperty("Value")
public String getValue() {
return Value;
}
/**
*
*
* @param Value
* The Value
*/
@JsonProperty("Value")
public void setValue(String Value) {
this.Value = Value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(Description).append(From).append(Generate).append(Name).append(Value).append(additionalProperties).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof Parameter) == false) {
return false;
}
Parameter rhs = ((Parameter) other);
return new EqualsBuilder().append(Description, rhs.Description).append(From, rhs.From).append(Generate, rhs.Generate).append(Name, rhs.Name).append(Value, rhs.Value).append(additionalProperties, rhs.additionalProperties).isEquals();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy