1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,32 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class NumberReservation |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class NumberReservation extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "number_reservation"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Retrieve; |
|
17 |
- use ApiOperations\Update; |
|
18 |
- |
|
19 |
- /** |
|
20 |
- * @param array|null $params |
|
21 |
- * @param array|string|null $options |
|
22 |
- * |
|
23 |
- * @return List all phone numbers associated with a messaging profile. |
|
24 |
- */ |
|
25 |
- public function actions_extend($params = null, $options = null) |
|
26 |
- { |
|
27 |
- $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
- list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
- $this->refreshFrom($response, $opts); |
|
30 |
- return $this; |
|
31 |
- } |
|
32 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class NumberReservation |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class NumberReservation extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "number_reservation"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Retrieve; |
|
17 |
+ use ApiOperations\Update; |
|
18 |
+ |
|
19 |
+ /** |
|
20 |
+ * @param array|null $params |
|
21 |
+ * @param array|string|null $options |
|
22 |
+ * |
|
23 |
+ * @return List all phone numbers associated with a messaging profile. |
|
24 |
+ */ |
|
25 |
+ public function actions_extend($params = null, $options = null) |
|
26 |
+ { |
|
27 |
+ $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
+ list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
+ $this->refreshFrom($response, $opts); |
|
30 |
+ return $this; |
|
31 |
+ } |
|
32 |
+} |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,32 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class NumberReservation |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class NumberReservation extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "number_reservation"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Retrieve; |
|
17 |
- use ApiOperations\Update; |
|
18 |
- |
|
19 |
- /** |
|
20 |
- * @param array|null $params |
|
21 |
- * @param array|string|null $options |
|
22 |
- * |
|
23 |
- * @return List all phone numbers associated with a messaging profile. |
|
24 |
- */ |
|
25 |
- public function actions_extend($params = null, $options = null) |
|
26 |
- { |
|
27 |
- $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
- list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
- $this->refreshFrom($response, $opts); |
|
30 |
- return $this; |
|
31 |
- } |
|
32 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class NumberReservation |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class NumberReservation extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "number_reservation"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Retrieve; |
|
17 |
+ use ApiOperations\Update; |
|
18 |
+ |
|
19 |
+ /** |
|
20 |
+ * @param array|null $params |
|
21 |
+ * @param array|string|null $options |
|
22 |
+ * |
|
23 |
+ * @return List all phone numbers associated with a messaging profile. |
|
24 |
+ */ |
|
25 |
+ public function actions_extend($params = null, $options = null) |
|
26 |
+ { |
|
27 |
+ $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
+ list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
+ $this->refreshFrom($response, $opts); |
|
30 |
+ return $this; |
|
31 |
+ } |
|
32 |
+} |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,32 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class NumberReservation |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class NumberReservation extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "number_reservation"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Retrieve; |
|
17 |
- use ApiOperations\Update; |
|
18 |
- |
|
19 |
- /** |
|
20 |
- * @param array|null $params |
|
21 |
- * @param array|string|null $options |
|
22 |
- * |
|
23 |
- * @return List all phone numbers associated with a messaging profile. |
|
24 |
- */ |
|
25 |
- public function actions_extend($params = null, $options = null) |
|
26 |
- { |
|
27 |
- $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
- list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
- $this->refreshFrom($response, $opts); |
|
30 |
- return $this; |
|
31 |
- } |
|
32 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,32 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class NumberReservation |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class NumberReservation extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "number_reservation"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Retrieve; |
|
17 |
+ use ApiOperations\Update; |
|
18 |
+ |
|
19 |
+ /** |
|
20 |
+ * @param array|null $params |
|
21 |
+ * @param array|string|null $options |
|
22 |
+ * |
|
23 |
+ * @return List all phone numbers associated with a messaging profile. |
|
24 |
+ */ |
|
25 |
+ public function actions_extend($params = null, $options = null) |
|
26 |
+ { |
|
27 |
+ $url = $this->instanceUrl() . '/actions/extend'; |
|
28 |
+ list($response, $opts) = $this->_request('post', $url, $params, $options); |
|
29 |
+ $this->refreshFrom($response, $opts); |
|
30 |
+ return $this; |
|
31 |
+ } |
|
32 |
+} |