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

com.dell.cpsd.ScaleIORemoveSdsResponseMessage 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 is the response for sio sds removal
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Message(value = "com.dell.cpsd.sio.sds.remove.response", version = "1.0")
@JsonPropertyOrder({
    "messageProperties",
    "removed",
    "sdsId"
})
public class ScaleIORemoveSdsResponseMessage implements Serializable
{

    /**
     * AMQP properties properties
     * 

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

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

* * Corresponds to the "messageProperties" property.AMQP properties. * (Required) * */ @JsonProperty("messageProperties") public void setMessageProperties(MessageProperties messageProperties) { this.messageProperties = messageProperties; } /** * * (Required) * */ @JsonProperty("removed") public Boolean getRemoved() { return removed; } /** * * (Required) * */ @JsonProperty("removed") public void setRemoved(Boolean removed) { this.removed = removed; } /** * * (Required) * */ @JsonProperty("sdsId") public String getSdsId() { return sdsId; } /** * * (Required) * */ @JsonProperty("sdsId") public void setSdsId(String sdsId) { this.sdsId = sdsId; } @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(removed).append(sdsId).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ScaleIORemoveSdsResponseMessage) == false) { return false; } ScaleIORemoveSdsResponseMessage rhs = ((ScaleIORemoveSdsResponseMessage) other); return new EqualsBuilder().append(messageProperties, rhs.messageProperties).append(removed, rhs.removed).append(sdsId, rhs.sdsId).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy