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 the RestPageModel instead.
  • Constructor Details

    • RestListModel

      public RestListModel(@NotNull @NotNull List<T> items)
  • Method Details

    • getResults

      public List<T> getResults()