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

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

The newest version!

package com.dell.cpsd;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import com.dell.cpsd.common.rabbitmq.annotation.Message;
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.JsonPropertyDescription;
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;


/**
 * This message comes from the adapter and gets sent to fru-paqx
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Message(value = "com.dell.cpsd.list.storage.response", version = "1.0")
@JsonPropertyOrder({
    "messageProperties",
    "scaleIOSystemDataRestRep"
})
public class ListStorageResponseMessage implements Serializable
{

    /**
     * AMQP properties properties
     * 

* * Corresponds to the "messageProperties" property.AMQP properties. * */ @JsonProperty("messageProperties") @JsonPropertyDescription("AMQP properties.") private MessageProperties messageProperties; /** * * Corresponds to the "scaleIOSystemDataRestRep" property. * */ @JsonProperty("scaleIOSystemDataRestRep") private ScaleIOSystemDataRestRep scaleIOSystemDataRestRep; @JsonIgnore private Map additionalProperties = new HashMap(); private final static long serialVersionUID = -909087060433247661L; /** * No args constructor for use in serialization * */ public ListStorageResponseMessage() { } /** * * @param messageProperties * @param scaleIOSystemDataRestRep */ public ListStorageResponseMessage(MessageProperties messageProperties, ScaleIOSystemDataRestRep scaleIOSystemDataRestRep) { super(); this.messageProperties = messageProperties; this.scaleIOSystemDataRestRep = scaleIOSystemDataRestRep; } /** * AMQP properties properties *

* * Corresponds to the "messageProperties" property.AMQP properties. * */ @JsonProperty("messageProperties") public MessageProperties getMessageProperties() { return messageProperties; } /** * AMQP properties properties *

* * Corresponds to the "messageProperties" property.AMQP properties. * */ @JsonProperty("messageProperties") public void setMessageProperties(MessageProperties messageProperties) { this.messageProperties = messageProperties; } /** * * Corresponds to the "scaleIOSystemDataRestRep" property. * */ @JsonProperty("scaleIOSystemDataRestRep") public ScaleIOSystemDataRestRep getScaleIOSystemDataRestRep() { return scaleIOSystemDataRestRep; } /** * * Corresponds to the "scaleIOSystemDataRestRep" property. * */ @JsonProperty("scaleIOSystemDataRestRep") public void setScaleIOSystemDataRestRep(ScaleIOSystemDataRestRep scaleIOSystemDataRestRep) { this.scaleIOSystemDataRestRep = scaleIOSystemDataRestRep; } @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(messageProperties).append(scaleIOSystemDataRestRep).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ListStorageResponseMessage) == false) { return false; } ListStorageResponseMessage rhs = ((ListStorageResponseMessage) other); return new EqualsBuilder().append(messageProperties, rhs.messageProperties).append(scaleIOSystemDataRestRep, rhs.scaleIOSystemDataRestRep).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy