Package com.smartsheet.api.models
Class EventResult
- java.lang.Object
-
- com.smartsheet.api.models.EventResult
-
public class EventResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EventResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Event>
getData()
Gets the list of eventsjava.lang.Boolean
getMoreAvailable()
Returns if more events are available for retrievaljava.lang.String
getNextStreamPosition()
Gets a string indicating the streamPosition of the next set of eventsvoid
setData(java.util.List<Event> data)
Sets the list of eventsvoid
setMoreAvailable(java.lang.Boolean moreAvailable)
Sets the flag indicating if more events are availablevoid
setNextStreamPosition(java.lang.String nextStreamPosition)
Sets a string indicating the streamPosition for the next set of events
-
-
-
Method Detail
-
getData
public java.util.List<Event> getData()
Gets the list of events- Returns:
- the list of events
-
setData
public void setData(java.util.List<Event> data)
Sets the list of events- Parameters:
data
- the list of events
-
getMoreAvailable
public java.lang.Boolean getMoreAvailable()
Returns if more events are available for retrieval- Returns:
- true if more events are available, false otherwise
-
setMoreAvailable
public void setMoreAvailable(java.lang.Boolean moreAvailable)
Sets the flag indicating if more events are available- Parameters:
moreAvailable
- the flag
-
getNextStreamPosition
public java.lang.String getNextStreamPosition()
Gets a string indicating the streamPosition of the next set of events- Returns:
- the string streamPosition
-
setNextStreamPosition
public void setNextStreamPosition(java.lang.String nextStreamPosition)
Sets a string indicating the streamPosition for the next set of events- Parameters:
nextStreamPosition
- the string for the next set of events
-
-