-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from Bandwidth/DX-3120
DX-3120 MessagingSettings
- Loading branch information
Showing
5 changed files
with
109 additions
and
1 deletion.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
src/main/java/com/bandwidth/iris/sdk/model/AssignedNnRoute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.bandwidth.iris.sdk.model; | ||
|
||
import javax.xml.bind.annotation.*; | ||
|
||
@XmlRootElement(name = "AssignedNnRoute") | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class AssignedNnRoute extends BaseModel { | ||
|
||
@XmlElement(name = "Name") | ||
private String name; | ||
|
||
@XmlElement(name = "Nnid") | ||
private String nnid; | ||
|
||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getNnid() { | ||
return nnid; | ||
} | ||
|
||
public void setNnid(String nnid) { | ||
this.nnid = nnid; | ||
} | ||
} |
65 changes: 65 additions & 0 deletions
65
src/main/java/com/bandwidth/iris/sdk/model/MessagingSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package com.bandwidth.iris.sdk.model; | ||
|
||
import javax.xml.bind.annotation.*; | ||
import java.util.List; | ||
|
||
@XmlRootElement(name = "MessagingSettings") | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
public class MessagingSettings extends BaseModel { | ||
|
||
@XmlElement(name = "A2pState") | ||
private String a2pState; | ||
|
||
@XmlElement(name = "AssignedNnRoute") | ||
private AssignedNnRoute assignedNnRoute; | ||
|
||
@XmlElement(name = "CampaignId") | ||
private String campaignId; | ||
|
||
@XmlElement(name = "MessageClass") | ||
private String messageClass; | ||
|
||
@XmlElement(name = "SmsEnabled") | ||
private String smsEnabled; | ||
|
||
|
||
public String getA2pState() { | ||
return a2pState; | ||
} | ||
|
||
public void setA2pState(String a2pState) { | ||
this.a2pState = a2pState; | ||
} | ||
|
||
public AssignedNnRoute getAssignedNnRoute() { | ||
return assignedNnRoute; | ||
} | ||
|
||
public void setAssignedNnRoute(AssignedNnRoute assignedNnRoute) { | ||
this.assignedNnRoute = assignedNnRoute; | ||
} | ||
|
||
public String getCampaignId() { | ||
return campaignId; | ||
} | ||
|
||
public void setCampaignId(String campaignId) { | ||
this.campaignId = campaignId; | ||
} | ||
|
||
public String getMessageClass() { | ||
return messageClass; | ||
} | ||
|
||
public void setMessageClass(String messageClass) { | ||
this.messageClass = messageClass; | ||
} | ||
|
||
public String getSmsEnabled() { | ||
return smsEnabled; | ||
} | ||
|
||
public void setSmsEnabled(String smsEnabled) { | ||
this.smsEnabled = smsEnabled; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters