public class WorkspaceRealTimeStatisticsFetcher extends Fetcher<WorkspaceRealTimeStatistics>
Constructor and Description |
---|
WorkspaceRealTimeStatisticsFetcher(String pathWorkspaceSid)
Construct a new WorkspaceRealTimeStatisticsFetcher.
|
Modifier and Type | Method and Description |
---|---|
WorkspaceRealTimeStatistics |
fetch(TwilioRestClient client)
Make the request to the Twilio API to perform the fetch.
|
WorkspaceRealTimeStatisticsFetcher |
setTaskChannel(String taskChannel)
Only calculate real-time statistics on this TaskChannel.
|
fetch, fetchAsync, fetchAsync
public WorkspaceRealTimeStatisticsFetcher(String pathWorkspaceSid)
pathWorkspaceSid
- The SID of the Workspace to fetchpublic WorkspaceRealTimeStatisticsFetcher setTaskChannel(String taskChannel)
taskChannel
- Only calculate real-time statistics on this TaskChannelpublic WorkspaceRealTimeStatistics fetch(TwilioRestClient client)
fetch
in class Fetcher<WorkspaceRealTimeStatistics>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.