com.dft.api.shopify.model.ShopifyPage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shopify-admin-rest Show documentation
Show all versions of shopify-admin-rest Show documentation
Shopify Admin REST API using JDK 11 and Reactive Programming
The newest version!
package com.dft.api.shopify.model;
import java.util.ArrayList;
import java.util.List;
public class ShopifyPage extends ArrayList {
private static final long serialVersionUID = 7202410951814178409L;
private String nextPageInfo;
private String previousPageInfo;
public List getEntries() {
return this;
}
public String getNextPageInfo() {
return nextPageInfo;
}
public void setNextPageInfo(final String nextPageInfo) {
this.nextPageInfo = nextPageInfo;
}
public String getPreviousPageInfo() {
return previousPageInfo;
}
public void setPreviousPageInfo(final String previousPageInfo) {
this.previousPageInfo = previousPageInfo;
}
@Override
public int hashCode() {
final int prime = 31;
int result = super.hashCode();
result = prime * result + ((nextPageInfo == null) ? 0 : nextPageInfo.hashCode());
result = prime * result + ((previousPageInfo == null) ? 0 : previousPageInfo.hashCode());
return result;
}
@Override
public boolean equals(final Object obj) {
return super.equals(obj);
}
}