public class PhoneNumber extends BaseModelObject
client, dateFormat, parentUri, properties| Constructor and Description |
|---|
PhoneNumber(BandwidthRestClient client,
String parentUri,
org.json.simple.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Makes changes to a number you have.
|
void |
delete()
Removes a number from your account so you can no longer make or receive calls,
or send or receive messages with it.
|
String |
getApplication() |
String |
getCity() |
Date |
getCreatedTime() |
String |
getFallbackNumber() |
String |
getName() |
String |
getNationalNumber() |
String |
getNumber() |
String |
getNumberState() |
Double |
getPrice() |
String |
getState() |
void |
setApplicationId(String applicationId) |
void |
setFallbackNumber(String fallbackNumber) |
void |
setName(String name) |
String |
toString() |
getId, getProperty, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getUri, putProperty, toMap, updatePropertiespublic PhoneNumber(BandwidthRestClient client, String parentUri, org.json.simple.JSONObject jsonObject)
public void commit()
throws IOException
IOExceptionpublic void delete()
throws IOException
IOExceptionpublic String getApplication()
public String getNumber()
public String getNationalNumber()
public String getName()
public String getCity()
public String getState()
public String getNumberState()
public String getFallbackNumber()
public Double getPrice()
public Date getCreatedTime()
public void setApplicationId(String applicationId)
public void setName(String name)
public void setFallbackNumber(String fallbackNumber)
Copyright © 2014. All rights reserved.