Skip to content

Commit

Permalink
Merge pull request #34 from Bandwidth/task/update-machine-detection-name
Browse files Browse the repository at this point in the history
DX-2243 Update Machine Detection Model Name
  • Loading branch information
ajrice6713 authored Sep 27, 2021
2 parents a66d5b1 + 5b25f98 commit 80c2844
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
name: Validate SDK
name: Validate SDK
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -24,7 +24,7 @@ jobs:
USER_NUMBER: ${{ secrets.USER_NUMBER }}
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
- 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
2 changes: 1 addition & 1 deletion src/Voice/Models/CreateCallRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class CreateCallRequest implements \JsonSerializable

/**
* @todo Write general description for this property
* @var \BandwidthLib\Voice\Models\MachineDetectionRequest|null $machineDetection public property
* @var \BandwidthLib\Voice\Models\MachineDetectionConfiguration|null $machineDetection public property
*/
public $machineDetection;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @todo Write general description for this model
*/
class MachineDetectionRequest implements \JsonSerializable
class MachineDetectionConfiguration implements \JsonSerializable
{
/**
* The machine detection mode. If set to 'async', the detection result will be sent in a
Expand Down
2 changes: 1 addition & 1 deletion tests/ApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function testCreateCallAndGetCallState() {

public function testCreateCallWithAmdAndGetCallState() {
$body = new BandwidthLib\Voice\Models\CreateCallRequest();
$machineDetection = new BandwidthLib\Voice\Models\MachineDetectionRequest();
$machineDetection = new BandwidthLib\Voice\Models\MachineDetectionConfiguration();

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

0 comments on commit 80c2844

Please sign in to comment.