public class GetRestApisResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.util.List<RestApi> |
items
An array of links to the current page of RestApi resources.
|
private java.lang.String |
position |
Constructor and Description |
---|
GetRestApisResult() |
Modifier and Type | Method and Description |
---|---|
GetRestApisResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<RestApi> |
getItems()
An array of links to the current page of RestApi resources.
|
java.lang.String |
getPosition() |
int |
hashCode() |
void |
setItems(java.util.Collection<RestApi> items)
An array of links to the current page of RestApi resources.
|
void |
setPosition(java.lang.String position) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRestApisResult |
withItems(java.util.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(java.lang.String position) |
public void setPosition(java.lang.String position)
position
- public java.lang.String getPosition()
public GetRestApisResult withPosition(java.lang.String position)
position
- public java.util.List<RestApi> getItems()
An array of links to the current page of RestApi resources.
public void setItems(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetRestApisResult clone()
clone
in class java.lang.Object