diff --git a/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java b/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java index ccaa2e8..464e7ab 100644 --- a/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java +++ b/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java @@ -8,9 +8,16 @@ @XmlAccessorType(XmlAccessType.FIELD) public class ImportTnCheckerPayload extends BaseModel { + @XmlElement( name = "SiteId") + private int siteId; + + @XmlElement( name = "SipPeerId") + private int sipPeer; + @XmlElementWrapper(name = "TelephoneNumbers") @XmlElement(name = "TelephoneNumber") private List telephoneNumberList; + @XmlElementWrapper(name = "ImportTnErrors") @XmlElement(name ="ImportTnError") private List importTnErrorList; @@ -30,4 +37,20 @@ public List getImportTnErrorList() { public void setImportTnErrorList(List importTnErrorList) { this.importTnErrorList = importTnErrorList; } + + public int getSiteId() { + return siteId; + } + + public void setSiteId(int siteId) { + this.siteId = siteId; + } + + public int getSipPeer() { + return sipPeer; + } + + public void setSipPeer(int sipPeer) { + this.sipPeer = sipPeer; + } } diff --git a/src/test/java/com/bandwidth/iris/sdk/ImportTnCheckerTests.java b/src/test/java/com/bandwidth/iris/sdk/ImportTnCheckerTests.java index 91a2054..15c3ea8 100644 --- a/src/test/java/com/bandwidth/iris/sdk/ImportTnCheckerTests.java +++ b/src/test/java/com/bandwidth/iris/sdk/ImportTnCheckerTests.java @@ -30,6 +30,8 @@ public void TestCheck() throws Exception { ImportTnCheckerPayload payload = new ImportTnCheckerPayload(); payload.setTelephoneNumberList(numbers); + payload.setSipPeer(500025); + payload.setSiteId(486); ImportTnCheckerResponse response = ImportTnChecker.Check(getDefaultClient(), payload ); ImportTnCheckerPayload resPayload = response.getImportTnCheckerPayload();