Skip to content

Commit

Permalink
java SDK changes to add new machine detection optional parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Abinaya-Shunmugavel committed Sep 11, 2024
1 parent 24d0bc5 commit 391df46
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/main/java/com/plivo/api/models/call/CallCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,30 @@ public String machineDetectionMethod() {
return this.machineDetectionMethod;
}

public Long machineDetectionSilence() {
return this.machineDetectionSilence;
}

public Long machineDetectionInitialSilence() {
return this.machineDetectionInitialSilence;
}

public Long machineDetectionInitialGreeting() {
return this.machineDetectionInitialGreeting;
}

public Long machineDetectionMaximumSpeechLength() {
return this.machineDetectionMaximumSpeechLength;
}

public Long machineDetectionMaximumWords() {
return this.machineDetectionMaximumWords;
}

public Long machineDetectionAnswerTime() {
return this.machineDetectionAnswerTime;
}

/**
* @return List of SIP headers in the form of 'key=value' pairs, separated by commas.
*/
Expand Down Expand Up @@ -338,6 +362,11 @@ public CallCreator machineDetectionUrl(final String machineDetectionUrl) {
return this;
}

public CallCreator machineDetectionMethod(final String machineDetectionMethod) {
this.machineDetectionMethod = machineDetectionMethod;
return this;
}

public CallCreator machineDetectionMaximumWords(final Long machineDetectionMaximumWords) {
this.machineDetectionMaximumWords = machineDetectionMaximumWords;
return this;
Expand Down

0 comments on commit 391df46

Please sign in to comment.