File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
main/java/com/bandwidth/iris/sdk/model
test/java/com/bandwidth/iris/sdk Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 8
8
@ XmlAccessorType (XmlAccessType .FIELD )
9
9
public class ImportTnCheckerPayload extends BaseModel {
10
10
11
+ @ XmlElement ( name = "SiteId" )
12
+ private int siteId ;
13
+
14
+ @ XmlElement ( name = "SipPeerId" )
15
+ private int sipPeer ;
16
+
11
17
@ XmlElementWrapper (name = "TelephoneNumbers" )
12
18
@ XmlElement (name = "TelephoneNumber" )
13
19
private List <String > telephoneNumberList ;
20
+
14
21
@ XmlElementWrapper (name = "ImportTnErrors" )
15
22
@ XmlElement (name ="ImportTnError" )
16
23
private List <ImportTnError > importTnErrorList ;
@@ -30,4 +37,20 @@ public List<ImportTnError> getImportTnErrorList() {
30
37
public void setImportTnErrorList (List <ImportTnError > importTnErrorList ) {
31
38
this .importTnErrorList = importTnErrorList ;
32
39
}
40
+
41
+ public int getSiteId () {
42
+ return siteId ;
43
+ }
44
+
45
+ public void setSiteId (int siteId ) {
46
+ this .siteId = siteId ;
47
+ }
48
+
49
+ public int getSipPeer () {
50
+ return sipPeer ;
51
+ }
52
+
53
+ public void setSipPeer (int sipPeer ) {
54
+ this .sipPeer = sipPeer ;
55
+ }
33
56
}
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ public void TestCheck() throws Exception {
30
30
31
31
ImportTnCheckerPayload payload = new ImportTnCheckerPayload ();
32
32
payload .setTelephoneNumberList (numbers );
33
+ payload .setSipPeer (500025 );
34
+ payload .setSiteId (486 );
33
35
34
36
ImportTnCheckerResponse response = ImportTnChecker .Check (getDefaultClient (), payload );
35
37
ImportTnCheckerPayload resPayload = response .getImportTnCheckerPayload ();
You can’t perform that action at this time.
0 commit comments