com.dell.cpsd.rcm.evaluation.service.api.ReleaseControlMatrix Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rcm-evaluation-service-api Show documentation
Show all versions of rcm-evaluation-service-api Show documentation
This repository contains the source code for the rcm evaluation service API.
Use this repository to share contracts between services so you can create POJOs using defined JSON schemas and to create message transformers for the RCM evaluation service.
The newest version!
package com.dell.cpsd.rcm.evaluation.service.api;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
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)
@JsonPropertyOrder({
"rcmUuid",
"platform",
"systemProductFamily",
"systemModelFamily",
"rcmTrain",
"rcmVersion",
"viewOption",
"releaseControlMatrixRows"
})
public class ReleaseControlMatrix implements Serializable
{
@JsonProperty("rcmUuid")
private String rcmUuid;
@JsonProperty("platform")
private String platform;
@JsonProperty("systemProductFamily")
private String systemProductFamily;
@JsonProperty("systemModelFamily")
private String systemModelFamily;
@JsonProperty("rcmTrain")
private String rcmTrain;
@JsonProperty("rcmVersion")
private String rcmVersion;
@JsonProperty("viewOption")
private String viewOption;
@JsonProperty("releaseControlMatrixRows")
private List releaseControlMatrixRows = new ArrayList();
@JsonIgnore
private Map additionalProperties = new HashMap();
private final static long serialVersionUID = 7989030501096186984L;
/**
* No args constructor for use in serialization
*
*/
public ReleaseControlMatrix() {
}
/**
*
* @param systemProductFamily
* @param rcmVersion
* @param rcmTrain
* @param rcmUuid
* @param systemModelFamily
* @param releaseControlMatrixRows
* @param viewOption
* @param platform
*/
public ReleaseControlMatrix(String rcmUuid, String platform, String systemProductFamily, String systemModelFamily, String rcmTrain, String rcmVersion, String viewOption, List releaseControlMatrixRows) {
super();
this.rcmUuid = rcmUuid;
this.platform = platform;
this.systemProductFamily = systemProductFamily;
this.systemModelFamily = systemModelFamily;
this.rcmTrain = rcmTrain;
this.rcmVersion = rcmVersion;
this.viewOption = viewOption;
this.releaseControlMatrixRows = releaseControlMatrixRows;
}
/**
*
* @return
* The rcmUuid
*/
@JsonProperty("rcmUuid")
public String getRcmUuid() {
return rcmUuid;
}
/**
*
* @param rcmUuid
* The rcmUuid
*/
@JsonProperty("rcmUuid")
public void setRcmUuid(String rcmUuid) {
this.rcmUuid = rcmUuid;
}
/**
*
* @return
* The platform
*/
@JsonProperty("platform")
public String getPlatform() {
return platform;
}
/**
*
* @param platform
* The platform
*/
@JsonProperty("platform")
public void setPlatform(String platform) {
this.platform = platform;
}
/**
*
* @return
* The systemProductFamily
*/
@JsonProperty("systemProductFamily")
public String getSystemProductFamily() {
return systemProductFamily;
}
/**
*
* @param systemProductFamily
* The systemProductFamily
*/
@JsonProperty("systemProductFamily")
public void setSystemProductFamily(String systemProductFamily) {
this.systemProductFamily = systemProductFamily;
}
/**
*
* @return
* The systemModelFamily
*/
@JsonProperty("systemModelFamily")
public String getSystemModelFamily() {
return systemModelFamily;
}
/**
*
* @param systemModelFamily
* The systemModelFamily
*/
@JsonProperty("systemModelFamily")
public void setSystemModelFamily(String systemModelFamily) {
this.systemModelFamily = systemModelFamily;
}
/**
*
* @return
* The rcmTrain
*/
@JsonProperty("rcmTrain")
public String getRcmTrain() {
return rcmTrain;
}
/**
*
* @param rcmTrain
* The rcmTrain
*/
@JsonProperty("rcmTrain")
public void setRcmTrain(String rcmTrain) {
this.rcmTrain = rcmTrain;
}
/**
*
* @return
* The rcmVersion
*/
@JsonProperty("rcmVersion")
public String getRcmVersion() {
return rcmVersion;
}
/**
*
* @param rcmVersion
* The rcmVersion
*/
@JsonProperty("rcmVersion")
public void setRcmVersion(String rcmVersion) {
this.rcmVersion = rcmVersion;
}
/**
*
* @return
* The viewOption
*/
@JsonProperty("viewOption")
public String getViewOption() {
return viewOption;
}
/**
*
* @param viewOption
* The viewOption
*/
@JsonProperty("viewOption")
public void setViewOption(String viewOption) {
this.viewOption = viewOption;
}
/**
*
* @return
* The releaseControlMatrixRows
*/
@JsonProperty("releaseControlMatrixRows")
public List getReleaseControlMatrixRows() {
return releaseControlMatrixRows;
}
/**
*
* @param releaseControlMatrixRows
* The releaseControlMatrixRows
*/
@JsonProperty("releaseControlMatrixRows")
public void setReleaseControlMatrixRows(List releaseControlMatrixRows) {
this.releaseControlMatrixRows = releaseControlMatrixRows;
}
@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(rcmUuid).append(platform).append(systemProductFamily).append(systemModelFamily).append(rcmTrain).append(rcmVersion).append(viewOption).append(releaseControlMatrixRows).append(additionalProperties).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ReleaseControlMatrix) == false) {
return false;
}
ReleaseControlMatrix rhs = ((ReleaseControlMatrix) other);
return new EqualsBuilder().append(rcmUuid, rhs.rcmUuid).append(platform, rhs.platform).append(systemProductFamily, rhs.systemProductFamily).append(systemModelFamily, rhs.systemModelFamily).append(rcmTrain, rhs.rcmTrain).append(rcmVersion, rhs.rcmVersion).append(viewOption, rhs.viewOption).append(releaseControlMatrixRows, rhs.releaseControlMatrixRows).append(additionalProperties, rhs.additionalProperties).isEquals();
}
}