Package com.bandwidth.iris.sdk.model
Class Tns
- java.lang.Object
-
- com.bandwidth.iris.sdk.model.Tns
-
public class Tns extends Object
-
-
Constructor Summary
Constructors Constructor Description Tns()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TelephoneNumberResponsecheckStatus(IrisClient client, String tn)Status check for TNstatic TelephoneNumberDetailsgetLata(IrisClient client, String tn)static TelephoneNumberDetailsgetRateCenter(IrisClient client, String tn)static SipPeergetSipPeer(IrisClient client, String tn)static SitegetSite(IrisClient client, String tn)static TelephoneNumberDetailsgetTnDetails(IrisClient client, String tn)static TelephoneNumbersResponselist(IrisClient client, Map<String,Object> query)
-
-
-
Method Detail
-
getTnDetails
public static TelephoneNumberDetails getTnDetails(IrisClient client, String tn) throws Exception
- Parameters:
client-tn-- Returns:
- Fully populated TelephoneNumberDetails
- Throws:
Exception
-
list
public static TelephoneNumbersResponse list(IrisClient client, Map<String,Object> query) throws Exception
- Throws:
Exception
-
checkStatus
public static TelephoneNumberResponse checkStatus(IrisClient client, String tn) throws Exception
Status check for TN- Parameters:
client-tn-- Returns:
- Throws:
Exception
-
getSite
public static Site getSite(IrisClient client, String tn) throws Exception
- Parameters:
client-tn-- Returns:
- The associated site. As of now assuming this is a single site as there is nothing in the response to indicate that this could be an array
- Throws:
Exception
-
getSipPeer
public static SipPeer getSipPeer(IrisClient client, String tn) throws Exception
- Parameters:
client-tn-- Returns:
- The associated SipPeer. As of now assuming this is a single sip peer as there is nothing in the response to indicate that this could be an array
- Throws:
Exception
-
getRateCenter
public static TelephoneNumberDetails getRateCenter(IrisClient client, String tn) throws Exception
- Parameters:
client-tn-- Returns:
- TelephoneNumberDetails with RateCenter and State elements populated ONLY
- Throws:
Exception
-
getLata
public static TelephoneNumberDetails getLata(IrisClient client, String tn) throws Exception
- Parameters:
client-tn-- Returns:
- TelephoneNumberDetails with Lata populated ONLY
- Throws:
Exception
-
-