Skip to content

Commit 867e14c

Browse files
committed
Add href to the objects
1 parent 4fdbbcb commit 867e14c

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

src/MessageBird/Objects/Hlr.php

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class Hlr extends Base
1616
const STATUS_FAILED = 'failed';
1717

1818
protected $id;
19+
protected $href;
1920

2021
public $msisdn;
2122
public $network;

src/MessageBird/Objects/Message.php

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ class Message extends Base
2424
*/
2525
protected $id;
2626

27+
/**
28+
* The URL of the created object.
29+
*
30+
* @var string
31+
*/
32+
protected $href;
33+
2734
/**
2835
* Tells you if the message is sent or received.
2936
* mt: mobile terminated (sent to mobile)

src/MessageBird/Objects/VoiceMessage.php

+7
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ class VoiceMessage extends Base
1717
*/
1818
protected $id;
1919

20+
/**
21+
* The URL of the created object.
22+
*
23+
* @var string
24+
*/
25+
protected $href;
26+
2027
/**
2128
* The body of the voice message.
2229
*

0 commit comments

Comments
 (0)