Skip to content

Commit 0124996

Browse files
authored
Merge pull request #117 from messagebird/Issue_115
added options for sendKeys action
2 parents adf1ad1 + a2b0ed9 commit 0124996

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

api/src/main/java/com/messagebird/objects/VoiceStepOption.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public class VoiceStepOption implements Serializable {
2424
private int machineTimeout;
2525
private String onFinish;
2626
private boolean mask;
27+
private String keys;
28+
private int duration;
29+
private int interval;
2730

2831
public String getDestination() {
2932
return destination;
@@ -169,6 +172,18 @@ public void setMask(boolean mask) {
169172
this.mask = mask;
170173
}
171174

175+
public String getKeys() { return keys; }
176+
177+
public void setKeys(String keys) { this.keys = keys; }
178+
179+
public int getDuration() { return duration; }
180+
181+
public void setDuration(int duration) { this.duration = duration; }
182+
183+
public int getInterval() { return interval; }
184+
185+
public void setInterval(int interval) { this.interval = interval; }
186+
172187
@Override
173188
public String toString() {
174189
return "VoiceStepOption{" +
@@ -189,7 +204,10 @@ public String toString() {
189204
", ifMachine='" + ifMachine + '\'' +
190205
", machineTimeout=" + machineTimeout +
191206
", onFinish='" + onFinish + '\'' +
192-
", mask=" + mask +
207+
", mask=" + mask + '\'' +
208+
", keys='" + keys + '\'' +
209+
", interval='" + interval + '\'' +
210+
", duration='" + duration +
193211
'}';
194212
}
195213
}

0 commit comments

Comments
 (0)