@@ -20,13 +20,22 @@ public class AvailablePhoneNumberSearchFilters extends Filters {
2020 */
2121 private String region ;
2222 /**
23- * Indication of whether the phone number can handle sending and receiving SMS messages .
23+ * Campaign ID of the this phone number.
2424 */
25- private boolean smsEnabled ;
25+ private String campaignId ;
2626 /**
27- * Indicates whether the phone number can handle calls .
27+ * Provider of this phone number.
2828 */
29- private boolean voiceEnabled ;
29+ private String provider ;
30+ /**
31+ * Capabilities of this phone number.
32+ */
33+ private PhoneNumberCapabilities capabilities ;
34+ /**
35+ * Alias of this phone number.
36+ */
37+ private String alias ;
38+
3039
3140 /**
3241 * Retrieve the value of the phoneNumber filter.
@@ -62,7 +71,7 @@ public String getCountry() {
6271 * @param country The value of country to set
6372 */
6473 public void setCountry (String country ) {
65- this .country = country
74+ this .country = country ;
6675 }
6776
6877 /**
@@ -71,7 +80,7 @@ public void setCountry(String country) {
7180 * @return the region filter value
7281 */
7382 public String getRegion () {
74- return region
83+ return region ;
7584 }
7685
7786 /**
@@ -80,42 +89,78 @@ public String getRegion() {
8089 * @param region The value of region to set
8190 */
8291 public void setRegion (String region ) {
83- this .region = region
92+ this .region = region ;
93+ }
94+
95+ /**
96+ * Retrieve the capabilities of the phone number.
97+ *
98+ * @return The capabilities of this AvailablePhoneNumber.
99+ */
100+ public PhoneNumberCapabilities getCapabilities () {
101+ return capabilities ;
102+ }
103+
104+ /**
105+ * Set the capabilities filter for available phone numbers.
106+ *
107+ * @param capabilities The value of capabilities to set
108+ */
109+ public void setCapabilities (PhoneNumberCapabilities capabilities ) {
110+ this .capabilities = capabilities ;
111+ }
112+
113+ /**
114+ * Retrieve the campaignId of the phone number.
115+ *
116+ * @return The campaignId of this AvailablePhoneNumber.
117+ */
118+ public String getCampaignId () {
119+ return campaignId ;
120+ }
121+
122+ /**
123+ * Set the campaignId filter for available phone numbers.
124+ *
125+ * @param campaignId The value of campaignId to set
126+ */
127+ public void setCampaignId (String campaignId ) {
128+ this .campaignId = campaignId ;
84129 }
85130
86131 /**
87- * Retrieve the value of the smsEnabled filter
132+ * Retrieve the provider of the phone number.
88133 *
89- * @return the smsEnabled filter value
134+ * @return The provider of this AvailablePhoneNumber.
90135 */
91- public boolean getSmsEnabled () {
92- return smsEnabled
136+ public String getProvider () {
137+ return provider ;
93138 }
94139
95140 /**
96- * Set the smsEnabled filter for available phone numbers.
141+ * Set the provider filter for available phone numbers.
97142 *
98- * @param smsEnabled The value of smsEnabled to set
143+ * @param provider The value of provider to set
99144 */
100- public void setSmsEnabled ( boolean smsEnabled ) {
101- this .smsEnabled = smsEnabled
145+ public void setProvider ( String provider ) {
146+ this .provider = provider ;
102147 }
103148
104149 /**
105- * Retrieve the value of the voiceEnabled filter
150+ * Retrieve the alias of the phone number.
106151 *
107- * @return the voiceEnabled filter value
152+ * @return The alias of this AvailablePhoneNumber.
108153 */
109- public boolean getVoiceEnabled () {
110- return voiceEnabled
154+ public String getAlias () {
155+ return alias ;
111156 }
112157
113158 /**
114- * Set the voiceEnabled filter for available phone numbers.
159+ * Set the alias filter for available phone numbers.
115160 *
116- * @param voiceEnabled The value of voiceEnabled to set
161+ * @param alias The value of alias to set
117162 */
118- public void setVoiceEnabled ( boolean voiceEnabled ) {
119- this .voiceEnabled = voiceEnabled
163+ public void setAlias ( String alias ) {
164+ this .alias = alias ;
120165 }
121166}
0 commit comments