PagedResult<T> Class

  • java.lang.Object
    • com.microsoft.bot.builder.PagedResult<T>

Type Parameters

T

The type of items in the results.

public class PagedResult<T>

Page of results from an enumeration.

Constructor Summary

Constructor Description
PagedResult()

Method Summary

Modifier and Type Method and Description
java.lang.String getContinuationToken()

Gets the token for retrieving the next page of results.

java.util.List<T> getItems()

Gets the page of items.

void setContinuationToken(String withValue)

Sets the token for retrieving the next page of results.

void setItems(List<T> value)

Sets the page of items.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PagedResult

public PagedResult()

Method Details

getContinuationToken

public String getContinuationToken()

Gets the token for retrieving the next page of results.

Returns:

The Continuation Token to pass to get the next page of results.

getItems

public List getItems()

Gets the page of items.

Returns:

The List of items.

setContinuationToken

public void setContinuationToken(String withValue)

Sets the token for retrieving the next page of results.

Parameters:

withValue - The Continuation Token to pass to get the next page of results.

setItems

public void setItems(List value)

Sets the page of items.

Parameters:

value - The List of items.

Applies to