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,28 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+/**
6
+ * Class Address
7
+ *
8
+ * @package Telnyx
9
+ */
10
+class Address extends ApiResource
11
+{
12
+    const OBJECT_NAME = "address";
13
+
14
+    use ApiOperations\All;
15
+    use ApiOperations\Create;
16
+    use ApiOperations\Delete;
17
+    use ApiOperations\Retrieve;
18
+    
19
+    /**
20
+     * @return string The endpoint associated with this singleton class.
21
+     */
22
+    public static function classUrl()
23
+    {
24
+        // Use a custom URL for this resource
25
+        // NOTE: This endpoint is special because object name is "address" and endpoint is "addresses"
26
+        return "/v2/addresses";
27
+    }
28
+}