fish.focus.schema.exchange.source.v1.CreateUnsentMessageRequest Maven / Gradle / Ivy
package fish.focus.schema.exchange.source.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.v1.UnsentMessageType;
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>
* <extension base="{urn:source.exchange.schema.focus.fish:v1}ExchangeBaseRequest">
* <sequence>
* <element name="message" type="{urn:exchange.schema.focus.fish:v1}UnsentMessageType"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"message"
})
@XmlRootElement(name = "CreateUnsentMessageRequest")
public class CreateUnsentMessageRequest
extends ExchangeBaseRequest
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(required = true)
protected UnsentMessageType message;
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link UnsentMessageType }
*
*/
public UnsentMessageType getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link UnsentMessageType }
*
*/
public void setMessage(UnsentMessageType value) {
this.message = 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);
}
}