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

com.dell.cpsd.rcm.evaluation.service.api.ReleaseControlMatrixRow Maven / Gradle / Ivy

Go to download

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.HashMap;
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({
    "category",
    "component",
    "option",
    "priorComponent",
    "priorVersion",
    "subType",
    "type",
    "version",
    "versionFileName",
    "versionFileHash"
})
public class ReleaseControlMatrixRow implements Serializable
{

    @JsonProperty("category")
    private String category;
    @JsonProperty("component")
    private String component;
    @JsonProperty("option")
    private String option;
    @JsonProperty("priorComponent")
    private String priorComponent;
    @JsonProperty("priorVersion")
    private String priorVersion;
    @JsonProperty("subType")
    private String subType;
    @JsonProperty("type")
    private String type;
    @JsonProperty("version")
    private String version;
    @JsonProperty("versionFileName")
    private String versionFileName;
    @JsonProperty("versionFileHash")
    private String versionFileHash;
    @JsonIgnore
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = -2165928379860532597L;

    /**
     * No args constructor for use in serialization
     * 
     */
    public ReleaseControlMatrixRow() {
    }

    /**
     * 
     * @param priorVersion
     * @param component
     * @param versionFileHash
     * @param versionFileName
     * @param subType
     * @param category
     * @param type
     * @param version
     * @param priorComponent
     * @param option
     */
    public ReleaseControlMatrixRow(String category, String component, String option, String priorComponent, String priorVersion, String subType, String type, String version, String versionFileName, String versionFileHash) {
        super();
        this.category = category;
        this.component = component;
        this.option = option;
        this.priorComponent = priorComponent;
        this.priorVersion = priorVersion;
        this.subType = subType;
        this.type = type;
        this.version = version;
        this.versionFileName = versionFileName;
        this.versionFileHash = versionFileHash;
    }

    /**
     * 
     * @return
     *     The category
     */
    @JsonProperty("category")
    public String getCategory() {
        return category;
    }

    /**
     * 
     * @param category
     *     The category
     */
    @JsonProperty("category")
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 
     * @return
     *     The component
     */
    @JsonProperty("component")
    public String getComponent() {
        return component;
    }

    /**
     * 
     * @param component
     *     The component
     */
    @JsonProperty("component")
    public void setComponent(String component) {
        this.component = component;
    }

    /**
     * 
     * @return
     *     The option
     */
    @JsonProperty("option")
    public String getOption() {
        return option;
    }

    /**
     * 
     * @param option
     *     The option
     */
    @JsonProperty("option")
    public void setOption(String option) {
        this.option = option;
    }

    /**
     * 
     * @return
     *     The priorComponent
     */
    @JsonProperty("priorComponent")
    public String getPriorComponent() {
        return priorComponent;
    }

    /**
     * 
     * @param priorComponent
     *     The priorComponent
     */
    @JsonProperty("priorComponent")
    public void setPriorComponent(String priorComponent) {
        this.priorComponent = priorComponent;
    }

    /**
     * 
     * @return
     *     The priorVersion
     */
    @JsonProperty("priorVersion")
    public String getPriorVersion() {
        return priorVersion;
    }

    /**
     * 
     * @param priorVersion
     *     The priorVersion
     */
    @JsonProperty("priorVersion")
    public void setPriorVersion(String priorVersion) {
        this.priorVersion = priorVersion;
    }

    /**
     * 
     * @return
     *     The subType
     */
    @JsonProperty("subType")
    public String getSubType() {
        return subType;
    }

    /**
     * 
     * @param subType
     *     The subType
     */
    @JsonProperty("subType")
    public void setSubType(String subType) {
        this.subType = subType;
    }

    /**
     * 
     * @return
     *     The type
     */
    @JsonProperty("type")
    public String getType() {
        return type;
    }

    /**
     * 
     * @param type
     *     The type
     */
    @JsonProperty("type")
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 
     * @return
     *     The version
     */
    @JsonProperty("version")
    public String getVersion() {
        return version;
    }

    /**
     * 
     * @param version
     *     The version
     */
    @JsonProperty("version")
    public void setVersion(String version) {
        this.version = version;
    }

    /**
     * 
     * @return
     *     The versionFileName
     */
    @JsonProperty("versionFileName")
    public String getVersionFileName() {
        return versionFileName;
    }

    /**
     * 
     * @param versionFileName
     *     The versionFileName
     */
    @JsonProperty("versionFileName")
    public void setVersionFileName(String versionFileName) {
        this.versionFileName = versionFileName;
    }

    /**
     * 
     * @return
     *     The versionFileHash
     */
    @JsonProperty("versionFileHash")
    public String getVersionFileHash() {
        return versionFileHash;
    }

    /**
     * 
     * @param versionFileHash
     *     The versionFileHash
     */
    @JsonProperty("versionFileHash")
    public void setVersionFileHash(String versionFileHash) {
        this.versionFileHash = versionFileHash;
    }

    @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(category).append(component).append(option).append(priorComponent).append(priorVersion).append(subType).append(type).append(version).append(versionFileName).append(versionFileHash).append(additionalProperties).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof ReleaseControlMatrixRow) == false) {
            return false;
        }
        ReleaseControlMatrixRow rhs = ((ReleaseControlMatrixRow) other);
        return new EqualsBuilder().append(category, rhs.category).append(component, rhs.component).append(option, rhs.option).append(priorComponent, rhs.priorComponent).append(priorVersion, rhs.priorVersion).append(subType, rhs.subType).append(type, rhs.type).append(version, rhs.version).append(versionFileName, rhs.versionFileName).append(versionFileHash, rhs.versionFileHash).append(additionalProperties, rhs.additionalProperties).isEquals();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy