Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
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
+}