Skip to content

Commit f13cc36

Browse files
authored
Merge pull request #45 from Bandwidth/task/rename-machine-detection-model
DX-2243 Update Machine Detection Model Name
2 parents dcb4641 + 52368e9 commit f13cc36

File tree

4 files changed

+843
-851
lines changed

4 files changed

+843
-851
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Slackbot notification
3030
uses: Bandwidth/[email protected]
31-
if: always()
31+
if: failure() && !github.event.pull_request.draft
3232
with:
3333
job-status: ${{ job.status }}
3434
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

src/main/java/com/bandwidth/voice/models/CreateCallRequest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class CreateCallRequest {
4747
private OptionalNullable<String> tag;
4848
private String applicationId;
4949
@JsonInclude(JsonInclude.Include.NON_NULL)
50-
private MachineDetectionRequest machineDetection;
50+
private MachineDetectionConfiguration machineDetection;
5151

5252
/**
5353
* Default constructor.
@@ -74,7 +74,7 @@ public CreateCallRequest() {
7474
* @param disconnectUrl String value for disconnectUrl.
7575
* @param disconnectMethod DisconnectMethodEnum value for disconnectMethod.
7676
* @param tag String value for tag.
77-
* @param machineDetection MachineDetectionRequest value for machineDetection.
77+
* @param machineDetection MachineDetectionConfiguration value for machineDetection.
7878
*/
7979
public CreateCallRequest(
8080
String from,
@@ -94,7 +94,7 @@ public CreateCallRequest(
9494
String disconnectUrl,
9595
DisconnectMethodEnum disconnectMethod,
9696
String tag,
97-
MachineDetectionRequest machineDetection) {
97+
MachineDetectionConfiguration machineDetection) {
9898
this.from = from;
9999
this.to = to;
100100
this.uui = OptionalNullable.of(uui);
@@ -127,7 +127,7 @@ protected CreateCallRequest(String from, String to, String answerUrl, String app
127127
OptionalNullable<AnswerFallbackMethodEnum> answerFallbackMethod,
128128
OptionalNullable<String> disconnectUrl,
129129
OptionalNullable<DisconnectMethodEnum> disconnectMethod, OptionalNullable<String> tag,
130-
MachineDetectionRequest machineDetection) {
130+
MachineDetectionConfiguration machineDetection) {
131131
this.from = from;
132132
this.to = to;
133133
this.uui = uui;
@@ -684,10 +684,10 @@ public void setApplicationId(String applicationId) {
684684

685685
/**
686686
* Getter for MachineDetection.
687-
* @return Returns the MachineDetectionRequest
687+
* @return Returns the MachineDetectionConfiguration
688688
*/
689689
@JsonGetter("machineDetection")
690-
public MachineDetectionRequest getMachineDetection() {
690+
public MachineDetectionConfiguration getMachineDetection() {
691691
return machineDetection;
692692
}
693693

@@ -696,7 +696,7 @@ public MachineDetectionRequest getMachineDetection() {
696696
* @param machineDetection Value for MachineDetectionRequest
697697
*/
698698
@JsonSetter("machineDetection")
699-
public void setMachineDetection(MachineDetectionRequest machineDetection) {
699+
public void setMachineDetection(MachineDetectionConfiguration machineDetection) {
700700
this.machineDetection = machineDetection;
701701
}
702702

@@ -762,7 +762,7 @@ public static class Builder {
762762
private OptionalNullable<String> disconnectUrl;
763763
private OptionalNullable<DisconnectMethodEnum> disconnectMethod;
764764
private OptionalNullable<String> tag;
765-
private MachineDetectionRequest machineDetection;
765+
private MachineDetectionConfiguration machineDetection;
766766

767767
/**
768768
* Initialization constructor.
@@ -1073,10 +1073,10 @@ public Builder unsetTag() {
10731073

10741074
/**
10751075
* Setter for machineDetection.
1076-
* @param machineDetection MachineDetectionRequest value for machineDetection.
1076+
* @param machineDetection MachineDetectionConfiguration value for machineDetection.
10771077
* @return Builder
10781078
*/
1079-
public Builder machineDetection(MachineDetectionRequest machineDetection) {
1079+
public Builder machineDetection(MachineDetectionConfiguration machineDetection) {
10801080
this.machineDetection = machineDetection;
10811081
return this;
10821082
}

0 commit comments

Comments
 (0)