fish.focus.schema.exchange.v1.ExchangeListPagination Maven / Gradle / Ivy
package fish.focus.schema.exchange.v1;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
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 ExchangeListPagination complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ExchangeListPagination">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="page" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="listSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ExchangeListPagination", propOrder = {
"page",
"listSize"
})
public class ExchangeListPagination
implements Serializable
{
private final static long serialVersionUID = 1L;
protected int page;
protected int listSize;
/**
* Gets the value of the page property.
*
*/
public int getPage() {
return page;
}
/**
* Sets the value of the page property.
*
*/
public void setPage(int value) {
this.page = value;
}
/**
* Gets the value of the listSize property.
*
*/
public int getListSize() {
return listSize;
}
/**
* Sets the value of the listSize property.
*
*/
public void setListSize(int value) {
this.listSize = 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);
}
}