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

com.dell.cpsd.DiscoverScaleIOResponseInfo 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({
    "volumes"
})
public class DiscoverScaleIOResponseInfo implements Serializable
{

    /**
     * 
     * (Required)
     * 
     */
    @JsonProperty("volumes")
    private List volumes = new ArrayList();
    @JsonIgnore
    private Map additionalProperties = new HashMap();
    private final static long serialVersionUID = 8145770859111725866L;

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

    /**
     * 
     * @param volumes
     */
    public DiscoverScaleIOResponseInfo(List volumes) {
        super();
        this.volumes = volumes;
    }

    /**
     * 
     * (Required)
     * 
     */
    @JsonProperty("volumes")
    public List getVolumes() {
        return volumes;
    }

    /**
     * 
     * (Required)
     * 
     */
    @JsonProperty("volumes")
    public void setVolumes(List volumes) {
        this.volumes = volumes;
    }

    @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(volumes).append(additionalProperties).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof DiscoverScaleIOResponseInfo) == false) {
            return false;
        }
        DiscoverScaleIOResponseInfo rhs = ((DiscoverScaleIOResponseInfo) other);
        return new EqualsBuilder().append(volumes, rhs.volumes).append(additionalProperties, rhs.additionalProperties).isEquals();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy