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

com.dell.cpsd.SdsConfiguration Maven / Gradle / Ivy

The newest version!

package com.dell.cpsd;

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.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "node",
    "nodeInfo",
    "rollbackVersion",
    "sdsName",
    "protectionDomain",
    "protectionDomainId",
    "faultSet",
    "allIPs",
    "sdsOnlyIPs",
    "sdcOnlyIPs",
    "devices",
    "rfCached",
    "rfCachedPools",
    "rfCachedDevices",
    "useRmCache",
    "optimized",
    "optimizedNumOfIOBufs",
    "port",
    "id"
})
public class SdsConfiguration implements Serializable
{

    /**
     * 
     * Corresponds to the "node" property.
     * 
     */
    @JsonProperty("node")
    private InstallationManagerNode node;
    @JsonProperty("nodeInfo")
    private String nodeInfo;
    @JsonProperty("rollbackVersion")
    private String rollbackVersion;
    @JsonProperty("sdsName")
    private String sdsName;
    @JsonProperty("protectionDomain")
    private String protectionDomain;
    @JsonProperty("protectionDomainId")
    private String protectionDomainId;
    @JsonProperty("faultSet")
    private String faultSet;
    @JsonProperty("allIPs")
    private List allIPs = new ArrayList();
    @JsonProperty("sdsOnlyIPs")
    private List sdsOnlyIPs = new ArrayList();
    @JsonProperty("sdcOnlyIPs")
    private List sdcOnlyIPs = new ArrayList();
    @JsonProperty("devices")
    private List devices = new ArrayList();
    @JsonProperty("rfCached")
    private Boolean rfCached;
    @JsonProperty("rfCachedPools")
    private List rfCachedPools = new ArrayList();
    @JsonProperty("rfCachedDevices")
    private List rfCachedDevices = new ArrayList();
    @JsonProperty("useRmCache")
    private Boolean useRmCache;
    @JsonProperty("optimized")
    private Boolean optimized;
    @JsonProperty("optimizedNumOfIOBufs")
    private Long optimizedNumOfIOBufs;
    @JsonProperty("port")
    private Long port;
    @JsonProperty("id")
    private String id;
    @JsonIgnore
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = 281792113250171894L;

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

    /**
     * 
     * @param allIPs
     * @param useRmCache
     * @param faultSet
     * @param protectionDomain
     * @param devices
     * @param optimized
     * @param sdsName
     * @param rfCached
     * @param rollbackVersion
     * @param node
     * @param sdsOnlyIPs
     * @param port
     * @param sdcOnlyIPs
     * @param rfCachedPools
     * @param optimizedNumOfIOBufs
     * @param nodeInfo
     * @param id
     * @param rfCachedDevices
     * @param protectionDomainId
     */
    public SdsConfiguration(InstallationManagerNode node, String nodeInfo, String rollbackVersion, String sdsName, String protectionDomain, String protectionDomainId, String faultSet, List allIPs, List sdsOnlyIPs, List sdcOnlyIPs, List devices, Boolean rfCached, List rfCachedPools, List rfCachedDevices, Boolean useRmCache, Boolean optimized, Long optimizedNumOfIOBufs, Long port, String id) {
        super();
        this.node = node;
        this.nodeInfo = nodeInfo;
        this.rollbackVersion = rollbackVersion;
        this.sdsName = sdsName;
        this.protectionDomain = protectionDomain;
        this.protectionDomainId = protectionDomainId;
        this.faultSet = faultSet;
        this.allIPs = allIPs;
        this.sdsOnlyIPs = sdsOnlyIPs;
        this.sdcOnlyIPs = sdcOnlyIPs;
        this.devices = devices;
        this.rfCached = rfCached;
        this.rfCachedPools = rfCachedPools;
        this.rfCachedDevices = rfCachedDevices;
        this.useRmCache = useRmCache;
        this.optimized = optimized;
        this.optimizedNumOfIOBufs = optimizedNumOfIOBufs;
        this.port = port;
        this.id = id;
    }

    /**
     * 
     * Corresponds to the "node" property.
     * 
     */
    @JsonProperty("node")
    public InstallationManagerNode getInstallationManagerNode() {
        return node;
    }

    /**
     * 
     * Corresponds to the "node" property.
     * 
     */
    @JsonProperty("node")
    public void setInstallationManagerNode(InstallationManagerNode node) {
        this.node = node;
    }

    @JsonProperty("nodeInfo")
    public String getNodeInfo() {
        return nodeInfo;
    }

    @JsonProperty("nodeInfo")
    public void setNodeInfo(String nodeInfo) {
        this.nodeInfo = nodeInfo;
    }

    @JsonProperty("rollbackVersion")
    public String getRollbackVersion() {
        return rollbackVersion;
    }

    @JsonProperty("rollbackVersion")
    public void setRollbackVersion(String rollbackVersion) {
        this.rollbackVersion = rollbackVersion;
    }

    @JsonProperty("sdsName")
    public String getSdsName() {
        return sdsName;
    }

    @JsonProperty("sdsName")
    public void setSdsName(String sdsName) {
        this.sdsName = sdsName;
    }

    @JsonProperty("protectionDomain")
    public String getProtectionDomain() {
        return protectionDomain;
    }

    @JsonProperty("protectionDomain")
    public void setProtectionDomain(String protectionDomain) {
        this.protectionDomain = protectionDomain;
    }

    @JsonProperty("protectionDomainId")
    public String getProtectionDomainId() {
        return protectionDomainId;
    }

    @JsonProperty("protectionDomainId")
    public void setProtectionDomainId(String protectionDomainId) {
        this.protectionDomainId = protectionDomainId;
    }

    @JsonProperty("faultSet")
    public String getFaultSet() {
        return faultSet;
    }

    @JsonProperty("faultSet")
    public void setFaultSet(String faultSet) {
        this.faultSet = faultSet;
    }

    @JsonProperty("allIPs")
    public List getAllIPs() {
        return allIPs;
    }

    @JsonProperty("allIPs")
    public void setAllIPs(List allIPs) {
        this.allIPs = allIPs;
    }

    @JsonProperty("sdsOnlyIPs")
    public List getSdsOnlyIPs() {
        return sdsOnlyIPs;
    }

    @JsonProperty("sdsOnlyIPs")
    public void setSdsOnlyIPs(List sdsOnlyIPs) {
        this.sdsOnlyIPs = sdsOnlyIPs;
    }

    @JsonProperty("sdcOnlyIPs")
    public List getSdcOnlyIPs() {
        return sdcOnlyIPs;
    }

    @JsonProperty("sdcOnlyIPs")
    public void setSdcOnlyIPs(List sdcOnlyIPs) {
        this.sdcOnlyIPs = sdcOnlyIPs;
    }

    @JsonProperty("devices")
    public List getDevices() {
        return devices;
    }

    @JsonProperty("devices")
    public void setDevices(List devices) {
        this.devices = devices;
    }

    @JsonProperty("rfCached")
    public Boolean getRfCached() {
        return rfCached;
    }

    @JsonProperty("rfCached")
    public void setRfCached(Boolean rfCached) {
        this.rfCached = rfCached;
    }

    @JsonProperty("rfCachedPools")
    public List getRfCachedPools() {
        return rfCachedPools;
    }

    @JsonProperty("rfCachedPools")
    public void setRfCachedPools(List rfCachedPools) {
        this.rfCachedPools = rfCachedPools;
    }

    @JsonProperty("rfCachedDevices")
    public List getRfCachedDevices() {
        return rfCachedDevices;
    }

    @JsonProperty("rfCachedDevices")
    public void setRfCachedDevices(List rfCachedDevices) {
        this.rfCachedDevices = rfCachedDevices;
    }

    @JsonProperty("useRmCache")
    public Boolean getUseRmCache() {
        return useRmCache;
    }

    @JsonProperty("useRmCache")
    public void setUseRmCache(Boolean useRmCache) {
        this.useRmCache = useRmCache;
    }

    @JsonProperty("optimized")
    public Boolean getOptimized() {
        return optimized;
    }

    @JsonProperty("optimized")
    public void setOptimized(Boolean optimized) {
        this.optimized = optimized;
    }

    @JsonProperty("optimizedNumOfIOBufs")
    public Long getOptimizedNumOfIOBufs() {
        return optimizedNumOfIOBufs;
    }

    @JsonProperty("optimizedNumOfIOBufs")
    public void setOptimizedNumOfIOBufs(Long optimizedNumOfIOBufs) {
        this.optimizedNumOfIOBufs = optimizedNumOfIOBufs;
    }

    @JsonProperty("port")
    public Long getPort() {
        return port;
    }

    @JsonProperty("port")
    public void setPort(Long port) {
        this.port = port;
    }

    @JsonProperty("id")
    public String getId() {
        return id;
    }

    @JsonProperty("id")
    public void setId(String id) {
        this.id = id;
    }

    @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(node).append(nodeInfo).append(rollbackVersion).append(sdsName).append(protectionDomain).append(protectionDomainId).append(faultSet).append(allIPs).append(sdsOnlyIPs).append(sdcOnlyIPs).append(devices).append(rfCached).append(rfCachedPools).append(rfCachedDevices).append(useRmCache).append(optimized).append(optimizedNumOfIOBufs).append(port).append(id).append(additionalProperties).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof SdsConfiguration) == false) {
            return false;
        }
        SdsConfiguration rhs = ((SdsConfiguration) other);
        return new EqualsBuilder().append(node, rhs.node).append(nodeInfo, rhs.nodeInfo).append(rollbackVersion, rhs.rollbackVersion).append(sdsName, rhs.sdsName).append(protectionDomain, rhs.protectionDomain).append(protectionDomainId, rhs.protectionDomainId).append(faultSet, rhs.faultSet).append(allIPs, rhs.allIPs).append(sdsOnlyIPs, rhs.sdsOnlyIPs).append(sdcOnlyIPs, rhs.sdcOnlyIPs).append(devices, rhs.devices).append(rfCached, rhs.rfCached).append(rfCachedPools, rhs.rfCachedPools).append(rfCachedDevices, rhs.rfCachedDevices).append(useRmCache, rhs.useRmCache).append(optimized, rhs.optimized).append(optimizedNumOfIOBufs, rhs.optimizedNumOfIOBufs).append(port, rhs.port).append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy