public class ActivityDuration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AVERAGE_PROPERTY |
static String |
FRIENDLY_NAME_PROPERTY |
static String |
MAXIMUM_PROPERTY |
static String |
MINIMUM_PROPERTY |
| Constructor and Description |
|---|
ActivityDuration(String sid,
String friendlyName,
Double average,
Integer maximum,
Integer minimum)
Instantiates an ActivityDuration.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getAverage()
Get the average duration in seconds.
|
String |
getFriendlyName()
Get the activity's friendly name.
|
Integer |
getMaximum()
Get the maximum duration in seconds.
|
Integer |
getMinimum()
Get the minimum duration in seconds.
|
String |
getSid()
Get the activity's sid.
|
public static final String AVERAGE_PROPERTY
public static final String FRIENDLY_NAME_PROPERTY
public static final String MAXIMUM_PROPERTY
public static final String MINIMUM_PROPERTY
public Double getAverage()
public String getFriendlyName()
public Integer getMaximum()
public Integer getMinimum()
public String getSid()
Copyright © 2011 Twilio, Inc. All Rights Reserved.