From bb9ea8806d3ea43fadc280feafd15b880a99e738 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 7 Dec 2022 07:38:55 -0500 Subject: [PATCH 1/2] DX-3061 --- .../sdk/model/ImportTnCheckerPayload.java | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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..fadfb85 100644 --- a/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java +++ b/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java @@ -8,6 +8,13 @@ @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; @@ -30,4 +37,20 @@ public List getImportTnErrorList() { public void setImportTnErrorList(List importTnErrorList) { this.importTnErrorList = importTnErrorList; } + + public int getSiteId() { + return siteId != 0 ? siteId : null; + } + + public void setSiteId(int siteId) { + this.siteId = siteId; + } + + public int getSipPeer() { + return sipPeer != 0 ? sipPeer : null; + } + + public void setSipPeer(int sipPeer) { + this.sipPeer = sipPeer; + } } From 6908764667e73a6c47e470e4a4baa567fa573fec Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 12 Dec 2022 14:57:36 -0500 Subject: [PATCH 2/2] Update ImportTnCheckerPayload.java --- .../iris/sdk/model/ImportTnCheckerPayload.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 1fbf094..187a830 100644 --- a/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java +++ b/src/main/java/com/bandwidth/iris/sdk/model/ImportTnCheckerPayload.java @@ -9,10 +9,10 @@ public class ImportTnCheckerPayload extends BaseModel { @XmlElement( name = "SiteId") - private int siteId; + private Integer siteId; @XmlElement( name = "SipPeerId") - private int sipPeer; + private Integer sipPeer; @XmlElementWrapper(name = "TelephoneNumbers") @XmlElement(name = "TelephoneNumber") @@ -38,19 +38,19 @@ public void setImportTnErrorList(List importTnErrorList) { this.importTnErrorList = importTnErrorList; } - public int getSiteId() { - return siteId != 0 ? siteId : null; + public Integer getSiteId() { + return siteId; } - public void setSiteId(int siteId) { + public void setSiteId(Integer siteId) { this.siteId = siteId; } - public int getSipPeer() { - return sipPeer != 0 ? sipPeer : null; + public Integer getSipPeer() { + return sipPeer; } - public void setSipPeer(int sipPeer) { + public void setSipPeer(Integer sipPeer) { this.sipPeer = sipPeer; } }