Package com.contentful.java.cda
Class CDAArray
- java.lang.Object
-
- com.contentful.java.cda.CDAResource
-
- com.contentful.java.cda.ArrayResource
-
- com.contentful.java.cda.CDAArray
-
- All Implemented Interfaces:
java.io.Serializable
public class CDAArray extends ArrayResource
Collection of CDA resources.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CDAArray()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<CDAError>getErrors()intlimit()voidsetErrors(java.util.List<CDAError> errors)intskip()inttotal()-
Methods inherited from class com.contentful.java.cda.ArrayResource
assets, entries, items
-
Methods inherited from class com.contentful.java.cda.CDAResource
attrs, getAttribute, id, toString, type
-
-
-
-
Method Detail
-
total
public int total()
- Returns:
- total number of resources (linked excluded).
-
skip
public int skip()
- Returns:
- number of resources to be skipped.
-
limit
public int limit()
- Returns:
- limit attribute. How many max resources got requested?
-
getErrors
public java.util.List<CDAError> getErrors()
- Returns:
- a list of errors if any present
-
setErrors
public void setErrors(java.util.List<CDAError> errors)
-
-