com.contentful.java.cda.CDAArray Maven / Gradle / Ivy
package com.contentful.java.cda;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/**
* Collection of CDA resources.
*/
public class CDAArray extends ArrayResource {
int total;
int skip;
int limit;
Includes includes;
/**
* @return total number of resources (linked excluded).
*/
public int total() {
return total;
}
/**
* @return number of resources to be skipped.
*/
public int skip() {
return skip;
}
/**
* @return limit attribute. How many max resources got requested?
*/
public int limit() {
return limit;
}
static class Includes {
@SerializedName("Asset") List assets;
@SerializedName("Entry") List entries;
}
}