Package com.atlassian.bamboo.rest.model
Class RestListModel<T extends AbstractRestModel>
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.AbstractRestModel
-
- com.atlassian.bamboo.rest.model.RestListModel<T>
-
public class RestListModel<T extends AbstractRestModel> extends AbstractRestModel
REST model for returning a list of resources without paging. NOTE: This should be used sparingly in situations where paging is not possible or doesn't make sense. In most cases you should implement paging and use theRestPageModel
instead.
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
self
-
-
Constructor Summary
Constructors Constructor Description RestListModel(@NotNull List<T> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
getResults()
-
Methods inherited from class com.atlassian.bamboo.rest.model.AbstractRestModel
getSelf, setSelf
-
-