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

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


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 request for sio sds removal
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Message(value = "com.dell.cpsd.sio.sds.remove.request", version = "1.0")
@JsonPropertyOrder({
    "messageProperties",
    "endpointURL",
    "userName",
    "password",
    "sdsId",
    "componentUuid",
    "endpointUuid",
    "credentialUuid"
})
public class ScaleIORemoveSdsRequestMessage implements Serializable
{

    /**
     * AMQP properties properties
     * 

* * Corresponds to the "messageProperties" property.AMQP properties. * (Required) * */ @JsonProperty("messageProperties") @JsonPropertyDescription("AMQP properties.") private MessageProperties messageProperties; /** * * (Required) * */ @JsonProperty("endpointURL") private String endpointURL; @JsonProperty("userName") private String userName; @JsonProperty("password") private String password; /** * * (Required) * */ @JsonProperty("sdsId") private String sdsId; @JsonProperty("componentUuid") private String componentUuid; @JsonProperty("endpointUuid") private String endpointUuid; @JsonProperty("credentialUuid") private String credentialUuid; @JsonIgnore private Map additionalProperties = new HashMap(); private final static long serialVersionUID = 1358196449243946207L; /** * No args constructor for use in serialization * */ public ScaleIORemoveSdsRequestMessage() { } /** * * @param credentialUuid * @param messageProperties * @param password * @param endpointURL * @param userName * @param endpointUuid * @param sdsId * @param componentUuid */ public ScaleIORemoveSdsRequestMessage(MessageProperties messageProperties, String endpointURL, String userName, String password, String sdsId, String componentUuid, String endpointUuid, String credentialUuid) { super(); this.messageProperties = messageProperties; this.endpointURL = endpointURL; this.userName = userName; this.password = password; this.sdsId = sdsId; this.componentUuid = componentUuid; this.endpointUuid = endpointUuid; this.credentialUuid = credentialUuid; } /** * 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("endpointURL") public String getEndpointURL() { return endpointURL; } /** * * (Required) * */ @JsonProperty("endpointURL") public void setEndpointURL(String endpointURL) { this.endpointURL = endpointURL; } @JsonProperty("userName") public String getUserName() { return userName; } @JsonProperty("userName") public void setUserName(String userName) { this.userName = userName; } @JsonProperty("password") public String getPassword() { return password; } @JsonProperty("password") public void setPassword(String password) { this.password = password; } /** * * (Required) * */ @JsonProperty("sdsId") public String getSdsId() { return sdsId; } /** * * (Required) * */ @JsonProperty("sdsId") public void setSdsId(String sdsId) { this.sdsId = sdsId; } @JsonProperty("componentUuid") public String getComponentUuid() { return componentUuid; } @JsonProperty("componentUuid") public void setComponentUuid(String componentUuid) { this.componentUuid = componentUuid; } @JsonProperty("endpointUuid") public String getEndpointUuid() { return endpointUuid; } @JsonProperty("endpointUuid") public void setEndpointUuid(String endpointUuid) { this.endpointUuid = endpointUuid; } @JsonProperty("credentialUuid") public String getCredentialUuid() { return credentialUuid; } @JsonProperty("credentialUuid") public void setCredentialUuid(String credentialUuid) { this.credentialUuid = credentialUuid; } @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(endpointURL).append(userName).append(password).append(sdsId).append(componentUuid).append(endpointUuid).append(credentialUuid).append(additionalProperties).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ScaleIORemoveSdsRequestMessage) == false) { return false; } ScaleIORemoveSdsRequestMessage rhs = ((ScaleIORemoveSdsRequestMessage) other); return new EqualsBuilder().append(messageProperties, rhs.messageProperties).append(endpointURL, rhs.endpointURL).append(userName, rhs.userName).append(password, rhs.password).append(sdsId, rhs.sdsId).append(componentUuid, rhs.componentUuid).append(endpointUuid, rhs.endpointUuid).append(credentialUuid, rhs.credentialUuid).append(additionalProperties, rhs.additionalProperties).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy