Package com.smartsheet.api.models
Class ListAssetSharesResponse<T>
- java.lang.Object
-
- com.smartsheet.api.models.ListAssetSharesResponse<T>
-
public class ListAssetSharesResponse<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListAssetSharesResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>getItems()Gets the list of items.java.lang.StringgetLastKey()Gets the token for retrieving the next page of results.booleanhasMorePages()Checks if there are more pages available.ListAssetSharesResponse<T>setItems(java.util.List<T> items)Sets the list of items.ListAssetSharesResponse<T>setLastKey(java.lang.String lastKey)Sets the token for retrieving the next page of results.
-
-
-
Method Detail
-
getLastKey
public java.lang.String getLastKey()
Gets the token for retrieving the next page of results.- Returns:
- the last key
-
setLastKey
public ListAssetSharesResponse<T> setLastKey(java.lang.String lastKey)
Sets the token for retrieving the next page of results.- Parameters:
lastKey- the last key- Returns:
- this ListAssetSharesResponse instance for method chaining
-
hasMorePages
public boolean hasMorePages()
Checks if there are more pages available.- Returns:
- true if there are more pages (lastKey is not null and not empty), false otherwise
-
getItems
public java.util.List<T> getItems()
Gets the list of items.- Returns:
- the items
-
setItems
public ListAssetSharesResponse<T> setItems(java.util.List<T> items)
Sets the list of items.- Parameters:
items- the items- Returns:
- this ListAssetSharesResponse instance for method chaining
-
-