Skip to content

Commit

Permalink
Merge pull request #45 from Bandwidth/task/rename-machine-detection-m…
Browse files Browse the repository at this point in the history
…odel

DX-2243 Update Machine Detection Model Name
  • Loading branch information
ajrice6713 authored Sep 27, 2021
2 parents dcb4641 + 52368e9 commit f13cc36
Show file tree
Hide file tree
Showing 4 changed files with 843 additions and 851 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Slackbot notification
uses: Bandwidth/[email protected]
if: always()
if: failure() && !github.event.pull_request.draft
with:
job-status: ${{ job.status }}
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/com/bandwidth/voice/models/CreateCallRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class CreateCallRequest {
private OptionalNullable<String> tag;
private String applicationId;
@JsonInclude(JsonInclude.Include.NON_NULL)
private MachineDetectionRequest machineDetection;
private MachineDetectionConfiguration machineDetection;

/**
* Default constructor.
Expand All @@ -74,7 +74,7 @@ public CreateCallRequest() {
* @param disconnectUrl String value for disconnectUrl.
* @param disconnectMethod DisconnectMethodEnum value for disconnectMethod.
* @param tag String value for tag.
* @param machineDetection MachineDetectionRequest value for machineDetection.
* @param machineDetection MachineDetectionConfiguration value for machineDetection.
*/
public CreateCallRequest(
String from,
Expand All @@ -94,7 +94,7 @@ public CreateCallRequest(
String disconnectUrl,
DisconnectMethodEnum disconnectMethod,
String tag,
MachineDetectionRequest machineDetection) {
MachineDetectionConfiguration machineDetection) {
this.from = from;
this.to = to;
this.uui = OptionalNullable.of(uui);
Expand Down Expand Up @@ -127,7 +127,7 @@ protected CreateCallRequest(String from, String to, String answerUrl, String app
OptionalNullable<AnswerFallbackMethodEnum> answerFallbackMethod,
OptionalNullable<String> disconnectUrl,
OptionalNullable<DisconnectMethodEnum> disconnectMethod, OptionalNullable<String> tag,
MachineDetectionRequest machineDetection) {
MachineDetectionConfiguration machineDetection) {
this.from = from;
this.to = to;
this.uui = uui;
Expand Down Expand Up @@ -684,10 +684,10 @@ public void setApplicationId(String applicationId) {

/**
* Getter for MachineDetection.
* @return Returns the MachineDetectionRequest
* @return Returns the MachineDetectionConfiguration
*/
@JsonGetter("machineDetection")
public MachineDetectionRequest getMachineDetection() {
public MachineDetectionConfiguration getMachineDetection() {
return machineDetection;
}

Expand All @@ -696,7 +696,7 @@ public MachineDetectionRequest getMachineDetection() {
* @param machineDetection Value for MachineDetectionRequest
*/
@JsonSetter("machineDetection")
public void setMachineDetection(MachineDetectionRequest machineDetection) {
public void setMachineDetection(MachineDetectionConfiguration machineDetection) {
this.machineDetection = machineDetection;
}

Expand Down Expand Up @@ -762,7 +762,7 @@ public static class Builder {
private OptionalNullable<String> disconnectUrl;
private OptionalNullable<DisconnectMethodEnum> disconnectMethod;
private OptionalNullable<String> tag;
private MachineDetectionRequest machineDetection;
private MachineDetectionConfiguration machineDetection;

/**
* Initialization constructor.
Expand Down Expand Up @@ -1073,10 +1073,10 @@ public Builder unsetTag() {

/**
* Setter for machineDetection.
* @param machineDetection MachineDetectionRequest value for machineDetection.
* @param machineDetection MachineDetectionConfiguration value for machineDetection.
* @return Builder
*/
public Builder machineDetection(MachineDetectionRequest machineDetection) {
public Builder machineDetection(MachineDetectionConfiguration machineDetection) {
this.machineDetection = machineDetection;
return this;
}
Expand Down
Loading

0 comments on commit f13cc36

Please sign in to comment.