com.notronix.lw.model.GetInventoryItemsResponse Maven / Gradle / Ivy
package com.notronix.lw.model;
import java.util.List;
public class GetInventoryItemsResponse
{
private List Items;
private int TotalItems;
private int StartIndex;
private int batchSize;
private String Token;
public List getItems()
{
return Items;
}
public void setItems(List items)
{
Items = items;
}
public int getTotalItems()
{
return TotalItems;
}
public void setTotalItems(int totalItems)
{
TotalItems = totalItems;
}
public int getStartIndex()
{
return StartIndex;
}
public void setStartIndex(int startIndex)
{
StartIndex = startIndex;
}
public int getBatchSize()
{
return batchSize;
}
public void setBatchSize(int batchSize)
{
this.batchSize = batchSize;
}
public String getToken()
{
return Token;
}
public void setToken(String token)
{
Token = token;
}
public int getTotalPages()
{
if (TotalItems == 0)
{
return 0;
}
if (batchSize < 1)
{
return 0;
}
return (TotalItems + batchSize - 1) / batchSize;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy