com.twilio.sdk.resource.instance.taskrouter
Class ActivityStatistic

java.lang.Object
  extended by com.twilio.sdk.resource.instance.taskrouter.ActivityStatistic

public class ActivityStatistic
extends Object

Represents an activity statistic.


Field Summary
static String FRIENDLY_NAME_PROPERTY
           
static String WORKERS_PROPERTY
           
 
Constructor Summary
ActivityStatistic(String sid, String friendlyName, Integer workers)
          Instantiates an ActivityStatistic.
 
Method Summary
 String getFriendlyName()
          Get the activity's friendly name.
 String getSid()
          Get the activity's sid.
 Integer getWorkers()
          Get the activity's number of workers.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRIENDLY_NAME_PROPERTY

public static final String FRIENDLY_NAME_PROPERTY
See Also:
Constant Field Values

WORKERS_PROPERTY

public static final String WORKERS_PROPERTY
See Also:
Constant Field Values
Constructor Detail

ActivityStatistic

public ActivityStatistic(String sid,
                         String friendlyName,
                         Integer workers)
Instantiates an ActivityStatistic.

Parameters:
sid -
friendlyName -
workers -
Method Detail

getSid

public String getSid()
Get the activity's sid.

Returns:
the activity's sid

getFriendlyName

public String getFriendlyName()
Get the activity's friendly name.

Returns:
the activity's friendly name

getWorkers

public Integer getWorkers()
Get the activity's number of workers.

Returns:
number of workers


Copyright © 2011 Twilio, Inc. All Rights Reserved.