public class UsageRecord extends Resource
| Modifier and Type | Class and Description |
|---|---|
static class |
UsageRecord.Granularity |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static UsageRecord |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a UsageRecord object using the provided
ObjectMapper.
|
static UsageRecord |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a UsageRecord object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The account_sid.
|
Map<String,Object> |
getCommands()
Returns The The commands.
|
Map<String,Object> |
getData()
Returns The The data.
|
Map<String,Object> |
getPeriod()
Returns The The period.
|
String |
getSimSid()
Returns The The sim_sid.
|
int |
hashCode() |
static UsageRecordReader |
reader(String pathSimSid)
Create a UsageRecordReader to execute read.
|
String |
toString() |
public static UsageRecordReader reader(String pathSimSid)
pathSimSid - The sim_sidpublic static UsageRecord fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static UsageRecord fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSimSid()
public final String getAccountSid()
public final Map<String,Object> getCommands()
Copyright © 2016 Twilio, Inc. All Rights Reserved.