Package com.bandwidth.iris.sdk.model
Class SipPeer
- java.lang.Object
-
- com.bandwidth.iris.sdk.model.BaseModel
-
- com.bandwidth.iris.sdk.model.SipPeer
-
public class SipPeer extends BaseModel
-
-
Constructor Summary
Constructors Constructor Description SipPeer()SipPeer(IrisClient client)
-
Method Summary
-
-
-
Constructor Detail
-
SipPeer
public SipPeer(IrisClient client)
-
SipPeer
public SipPeer()
-
-
Method Detail
-
create
public static SipPeer create(IrisClient client, String siteId, SipPeer sipPeer) throws Exception
- Throws:
Exception
-
get
public static SipPeer get(IrisClient client, String siteId, String sipPeerId) throws Exception
- Throws:
Exception
-
list
public static List<SipPeer> list(IrisClient client, String siteId) throws Exception
- Throws:
Exception
-
getSiteId
public String getSiteId()
-
setSiteId
public void setSiteId(String siteId)
-
getPeerId
public String getPeerId()
-
setPeerId
public void setPeerId(String peerId)
-
getPeerName
public String getPeerName()
-
setPeerName
public void setPeerName(String peerName)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDefaultPeer
public boolean isDefaultPeer()
-
setDefaultPeer
public void setDefaultPeer(boolean isDefaultPeer)
-
getShortMessagingProtocol
public String getShortMessagingProtocol()
-
setShortMessagingProtocol
public void setShortMessagingProtocol(String shortMessagingProtocol)
-
getCallingName
public CallingName getCallingName()
-
setCallingName
public void setCallingName(CallingName callingName)
-
getVoiceHostGroups
public List<VoiceHostGroup> getVoiceHostGroups()
-
setVoiceHostGroups
public void setVoiceHostGroups(List<VoiceHostGroup> voiceHostGroups)
-
getFinalDestinationUri
public String getFinalDestinationUri()
-
setFinalDestinationUri
public void setFinalDestinationUri(String finalDestinationUri)
-
updateTn
public void updateTn(SipPeerTelephoneNumber number) throws Exception
- Throws:
Exception
-
getTn
public SipPeerTelephoneNumber getTn(String number) throws Exception
- Throws:
Exception
-
moveTns
public void moveTns(SipPeerTelephoneNumbers numbers) throws Exception
- Throws:
Exception
-
getTns
public List<SipPeerTelephoneNumber> getTns() throws Exception
- Throws:
Exception
-
-