com.atlassian.bamboo.rest.model
Class ListResponse<T extends RestResource>

java.lang.Object
  extended by com.atlassian.bamboo.rest.model.RestResource
      extended by com.atlassian.bamboo.rest.model.ListResponse<T>

public class ListResponse<T extends RestResource>
extends RestResource

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 PageResponse instead.


Constructor Summary
ListResponse(List<T> items)
           
 
Method Summary
 List<T> getResults()
           
 
Methods inherited from class com.atlassian.bamboo.rest.model.RestResource
getLinks, setLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListResponse

public ListResponse(@NotNull
                    List<T> items)
Method Detail

getResults

public List<T> getResults()


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.