Skip to content

Commit 80c2844

Browse files
authored
Merge pull request #34 from Bandwidth/task/update-machine-detection-name
DX-2243 Update Machine Detection Model Name
2 parents a66d5b1 + 5b25f98 commit 80c2844

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
name: Validate SDK
10+
name: Validate SDK
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
@@ -24,7 +24,7 @@ jobs:
2424
USER_NUMBER: ${{ secrets.USER_NUMBER }}
2525
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
2626
- uses: Bandwidth/build-notify-slack-action@v1.0.0
27-
if: always()
27+
if: failure() && !github.event.pull_request.draft
2828
with:
2929
job-status: ${{ job.status }}
3030
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}

src/Voice/Models/CreateCallRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class CreateCallRequest implements \JsonSerializable
123123

124124
/**
125125
* @todo Write general description for this property
126-
* @var \BandwidthLib\Voice\Models\MachineDetectionRequest|null $machineDetection public property
126+
* @var \BandwidthLib\Voice\Models\MachineDetectionConfiguration|null $machineDetection public property
127127
*/
128128
public $machineDetection;
129129

src/Voice/Models/MachineDetectionRequest.php renamed to src/Voice/Models/MachineDetectionConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* @todo Write general description for this model
1212
*/
13-
class MachineDetectionRequest implements \JsonSerializable
13+
class MachineDetectionConfiguration implements \JsonSerializable
1414
{
1515
/**
1616
* The machine detection mode. If set to 'async', the detection result will be sent in a

tests/ApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function testCreateCallAndGetCallState() {
9090

9191
public function testCreateCallWithAmdAndGetCallState() {
9292
$body = new BandwidthLib\Voice\Models\CreateCallRequest();
93-
$machineDetection = new BandwidthLib\Voice\Models\MachineDetectionRequest();
93+
$machineDetection = new BandwidthLib\Voice\Models\MachineDetectionConfiguration();
9494

9595
$machineDetection->mode = BandwidthLib\Voice\Models\ModeEnum::ASYNC;
9696
$machineDetection->detectionTimeout = 5.0;

0 commit comments

Comments
 (0)