public class DataSession extends Resource
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static DataSession |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a DataSession object using the provided
ObjectMapper.
|
static DataSession |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a DataSession object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
String |
getCellId()
Returns The The cell_id.
|
Map<String,Object> |
getCellLocationEstimate()
Returns The The cell_location_estimate.
|
org.joda.time.DateTime |
getEnd()
Returns The The end.
|
org.joda.time.DateTime |
getLastUpdated()
Returns The The last_updated.
|
String |
getOperatorCountry()
Returns The The operator_country.
|
String |
getOperatorMcc()
Returns The The operator_mcc.
|
String |
getOperatorMnc()
Returns The The operator_mnc.
|
String |
getOperatorName()
Returns The The operator_name.
|
Integer |
getPacketsDownloaded()
Returns The The packets_downloaded.
|
Integer |
getPacketsUploaded()
Returns The The packets_uploaded.
|
String |
getRadioLink()
Returns The The radio_link.
|
String |
getSid()
Returns The The sid.
|
String |
getSimSid()
Returns The The sim_sid.
|
org.joda.time.DateTime |
getStart()
Returns The The start.
|
int |
hashCode() |
static DataSessionReader |
reader(String pathSimSid)
Create a DataSessionReader to execute read.
|
String |
toString() |
public static DataSessionReader reader(String pathSimSid)
pathSimSid - The sim_sidpublic static DataSession fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static DataSession fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final String getSimSid()
public final String getAccountSid()
public final String getRadioLink()
public final String getOperatorMcc()
public final String getOperatorMnc()
public final String getOperatorCountry()
public final String getOperatorName()
public final String getCellId()
public final Map<String,Object> getCellLocationEstimate()
public final Integer getPacketsUploaded()
public final Integer getPacketsDownloaded()
public final org.joda.time.DateTime getLastUpdated()
public final org.joda.time.DateTime getStart()
public final org.joda.time.DateTime getEnd()
Copyright © 2016 Twilio, Inc. All Rights Reserved.