public class GetRestApisResult extends Object implements Serializable, Cloneable
Contains references to your APIs and links that guide you in ways to interact with your collection. A collection offers a paginated view of your APIs.
Constructor and Description |
---|
GetRestApisResult() |
Modifier and Type | Method and Description |
---|---|
GetRestApisResult |
clone() |
boolean |
equals(Object obj) |
List<RestApi> |
getItems()
An array of links to the current page of RestApi resources.
|
String |
getPosition() |
int |
hashCode() |
void |
setItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
|
void |
setPosition(String position) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRestApisResult |
withItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
|
GetRestApisResult |
withItems(RestApi... items)
An array of links to the current page of RestApi resources.
|
GetRestApisResult |
withPosition(String position) |
public void setPosition(String position)
position
- public String getPosition()
public GetRestApisResult withPosition(String position)
position
- public List<RestApi> getItems()
An array of links to the current page of RestApi resources.
public void setItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
items
- An array of links to the current page of RestApi resources.public GetRestApisResult withItems(RestApi... items)
An array of links to the current page of RestApi resources.
NOTE: This method appends the values to the existing list (if
any). Use setItems(java.util.Collection)
or
withItems(java.util.Collection)
if you want to override the
existing values.
items
- An array of links to the current page of RestApi resources.public GetRestApisResult withItems(Collection<RestApi> items)
An array of links to the current page of RestApi resources.
items
- An array of links to the current page of RestApi resources.public String toString()
toString
in class Object
Object.toString()
public GetRestApisResult clone()
Copyright © 2016. All rights reserved.