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

com.dell.cpsd.hal.data.provider.api.ElementEndpointValidationCompleted Maven / Gradle / Ivy


package com.dell.cpsd.hal.data.provider.api;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import com.dell.cpsd.common.rabbitmq.annotation.Message;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * ProviderEndpointValidationCompleted
 * 

* * */ @JsonInclude(JsonInclude.Include.NON_NULL) @Message(value = "com.dell.cpsd.hal.data.provider.provider.endpoint.validation.work.completed", version = "1.0") @JsonPropertyOrder({ "timestamp", "requestId", "trackingId", "elementIdentity", "elementEndpointValidationResults" }) public class ElementEndpointValidationCompleted { /** * * (Required) * */ @JsonProperty("timestamp") private Date timestamp; /** * * (Required) * */ @JsonProperty("requestId") private String requestId; /** * * (Required) * */ @JsonProperty("trackingId") private String trackingId; /** * ElementIdentity *

* * (Required) * */ @JsonProperty("elementIdentity") private ElementIdentity elementIdentity; /** * * (Required) * */ @JsonProperty("elementEndpointValidationResults") private List elementEndpointValidationResults = new ArrayList(); /** * No args constructor for use in serialization * */ public ElementEndpointValidationCompleted() { } /** * * @param requestId * @param elementEndpointValidationResults * @param timestamp * @param trackingId * @param elementIdentity */ public ElementEndpointValidationCompleted(Date timestamp, String requestId, String trackingId, ElementIdentity elementIdentity, List elementEndpointValidationResults) { super(); this.timestamp = timestamp; this.requestId = requestId; this.trackingId = trackingId; this.elementIdentity = elementIdentity; this.elementEndpointValidationResults = elementEndpointValidationResults; } /** * * (Required) * * @return * The timestamp */ @JsonProperty("timestamp") public Date getTimestamp() { return timestamp; } /** * * (Required) * * @param timestamp * The timestamp */ @JsonProperty("timestamp") public void setTimestamp(Date timestamp) { this.timestamp = timestamp; } /** * * (Required) * * @return * The requestId */ @JsonProperty("requestId") public String getRequestId() { return requestId; } /** * * (Required) * * @param requestId * The requestId */ @JsonProperty("requestId") public void setRequestId(String requestId) { this.requestId = requestId; } /** * * (Required) * * @return * The trackingId */ @JsonProperty("trackingId") public String getTrackingId() { return trackingId; } /** * * (Required) * * @param trackingId * The trackingId */ @JsonProperty("trackingId") public void setTrackingId(String trackingId) { this.trackingId = trackingId; } /** * ElementIdentity *

* * (Required) * * @return * The elementIdentity */ @JsonProperty("elementIdentity") public ElementIdentity getElementIdentity() { return elementIdentity; } /** * ElementIdentity *

* * (Required) * * @param elementIdentity * The elementIdentity */ @JsonProperty("elementIdentity") public void setElementIdentity(ElementIdentity elementIdentity) { this.elementIdentity = elementIdentity; } /** * * (Required) * * @return * The elementEndpointValidationResults */ @JsonProperty("elementEndpointValidationResults") public List getElementEndpointValidationResults() { return elementEndpointValidationResults; } /** * * (Required) * * @param elementEndpointValidationResults * The elementEndpointValidationResults */ @JsonProperty("elementEndpointValidationResults") public void setElementEndpointValidationResults(List elementEndpointValidationResults) { this.elementEndpointValidationResults = elementEndpointValidationResults; } @Override public String toString() { return ToStringBuilder.reflectionToString(this); } @Override public int hashCode() { return new HashCodeBuilder().append(timestamp).append(requestId).append(trackingId).append(elementIdentity).append(elementEndpointValidationResults).toHashCode(); } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof ElementEndpointValidationCompleted) == false) { return false; } ElementEndpointValidationCompleted rhs = ((ElementEndpointValidationCompleted) other); return new EqualsBuilder().append(timestamp, rhs.timestamp).append(requestId, rhs.requestId).append(trackingId, rhs.trackingId).append(elementIdentity, rhs.elementIdentity).append(elementEndpointValidationResults, rhs.elementEndpointValidationResults).isEquals(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy