fish.focus.schema.exchange.module.v1.SetCommandResponse Maven / Gradle / Ivy
package fish.focus.schema.exchange.module.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import fish.focus.schema.exchange.common.v1.AcknowledgeType;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="response" type="{urn:common.exchange.schema.focus.fish:v1}AcknowledgeType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"response"
})
@XmlRootElement(name = "SetCommandResponse")
public class SetCommandResponse
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected AcknowledgeType response;
/**
* Gets the value of the response property.
*
* @return
* possible object is
* {@link AcknowledgeType }
*
*/
public AcknowledgeType getResponse() {
return response;
}
/**
* Sets the value of the response property.
*
* @param value
* allowed object is
* {@link AcknowledgeType }
*
*/
public void setResponse(AcknowledgeType value) {
this.response = value;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(Object that) {
return EqualsBuilder.reflectionEquals(this, that);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}