# DataResponse Class

```
package com.collager.trillo.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class DataResult {
  private List<Object> items;
  private int totalItems = 0;
  private int start;
  public List<Object> getItems() {
    return items;
  }
  public void setItems(List<Object> items) {
    this.items = items;
  }
  public int getTotalItems() {
    return totalItems;
  }
  public void setTotalItems(int totalItems) {
    this.totalItems = totalItems;
  }
  public int getStart() {
    return start;
  }
  public void setStart(int start) {
    this.start = start;
  }
  public boolean is_paginated_() {
    return true;
  }
  @SuppressWarnings("unchecked")
  @JsonIgnore
  public List<Map<String, Object>> getItemsAsListOfMaps() {
    List<Map<String,Object>> l = new ArrayList<Map<String, Object>>();
    if (items == null) {
      return null;
    }
    for (Object item : items) {
      l.add((Map<String, Object>) item);
    }
    return l;
  }
}


```
