Browse code

removed Telnyx Plivo Twilio Flowroute appinfo/info.xml appinfo/signature.json README.md lib/Controller/AuthorApiController.php

DoubleBastionAdmin authored on 20/08/2022 16:26:33
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,46 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx\ApiOperations;
4
-
5
-/**
6
- * Trait for updatable resources. Adds an `update()` static method and a
7
- * `save()` method to the class.
8
- *
9
- * This trait should only be applied to classes that derive from TelnyxObject.
10
- */
11
-trait Update
12
-{
13
-    /**
14
-     * @param string $id The ID of the resource to update.
15
-     * @param array|null $params
16
-     * @param array|string|null $opts
17
-     *
18
-     * @return \Telnyx\ApiResource The updated resource.
19
-     */
20
-    public static function update($id, $params = null, $opts = null)
21
-    {
22
-        self::_validateParams($params);
23
-        $url = static::resourceUrl($id);
24
-
25
-        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
-        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
-        $obj->setLastResponse($response);
28
-        return $obj;
29
-    }
30
-
31
-    /**
32
-     * @param array|string|null $opts
33
-     *
34
-     * @return \Telnyx\ApiResource The saved resource.
35
-     */
36
-    public function save($opts = null)
37
-    {
38
-        $params = $this->serializeParameters();
39
-        if (count($params) > 0) {
40
-            $url = $this->instanceUrl();
41
-            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
-            $this->refreshFrom($response, $opts);
43
-        }
44
-        return $this;
45
-    }
46
-}
Browse code

added appinfo/signature.json Telnyx Twilio Flowroute

DoubleBastionAdmin authored on 19/08/2022 13:10:24
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,46 @@
1
+<?php
2
+
3
+namespace Telnyx\ApiOperations;
4
+
5
+/**
6
+ * Trait for updatable resources. Adds an `update()` static method and a
7
+ * `save()` method to the class.
8
+ *
9
+ * This trait should only be applied to classes that derive from TelnyxObject.
10
+ */
11
+trait Update
12
+{
13
+    /**
14
+     * @param string $id The ID of the resource to update.
15
+     * @param array|null $params
16
+     * @param array|string|null $opts
17
+     *
18
+     * @return \Telnyx\ApiResource The updated resource.
19
+     */
20
+    public static function update($id, $params = null, $opts = null)
21
+    {
22
+        self::_validateParams($params);
23
+        $url = static::resourceUrl($id);
24
+
25
+        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
+        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
+        $obj->setLastResponse($response);
28
+        return $obj;
29
+    }
30
+
31
+    /**
32
+     * @param array|string|null $opts
33
+     *
34
+     * @return \Telnyx\ApiResource The saved resource.
35
+     */
36
+    public function save($opts = null)
37
+    {
38
+        $params = $this->serializeParameters();
39
+        if (count($params) > 0) {
40
+            $url = $this->instanceUrl();
41
+            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
+            $this->refreshFrom($response, $opts);
43
+        }
44
+        return $this;
45
+    }
46
+}
Browse code

removed appinfo/signature.json and Telnyx

DoubleBastionAdmin authored on 19/08/2022 12:45:59
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,46 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx\ApiOperations;
4
-
5
-/**
6
- * Trait for updatable resources. Adds an `update()` static method and a
7
- * `save()` method to the class.
8
- *
9
- * This trait should only be applied to classes that derive from TelnyxObject.
10
- */
11
-trait Update
12
-{
13
-    /**
14
-     * @param string $id The ID of the resource to update.
15
-     * @param array|null $params
16
-     * @param array|string|null $opts
17
-     *
18
-     * @return \Telnyx\ApiResource The updated resource.
19
-     */
20
-    public static function update($id, $params = null, $opts = null)
21
-    {
22
-        self::_validateParams($params);
23
-        $url = static::resourceUrl($id);
24
-
25
-        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
-        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
-        $obj->setLastResponse($response);
28
-        return $obj;
29
-    }
30
-
31
-    /**
32
-     * @param array|string|null $opts
33
-     *
34
-     * @return \Telnyx\ApiResource The saved resource.
35
-     */
36
-    public function save($opts = null)
37
-    {
38
-        $params = $this->serializeParameters();
39
-        if (count($params) > 0) {
40
-            $url = $this->instanceUrl();
41
-            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
-            $this->refreshFrom($response, $opts);
43
-        }
44
-        return $this;
45
-    }
46
-}
Browse code

added appinfo/signature.json and Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:38:54
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,46 @@
1
+<?php
2
+
3
+namespace Telnyx\ApiOperations;
4
+
5
+/**
6
+ * Trait for updatable resources. Adds an `update()` static method and a
7
+ * `save()` method to the class.
8
+ *
9
+ * This trait should only be applied to classes that derive from TelnyxObject.
10
+ */
11
+trait Update
12
+{
13
+    /**
14
+     * @param string $id The ID of the resource to update.
15
+     * @param array|null $params
16
+     * @param array|string|null $opts
17
+     *
18
+     * @return \Telnyx\ApiResource The updated resource.
19
+     */
20
+    public static function update($id, $params = null, $opts = null)
21
+    {
22
+        self::_validateParams($params);
23
+        $url = static::resourceUrl($id);
24
+
25
+        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
+        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
+        $obj->setLastResponse($response);
28
+        return $obj;
29
+    }
30
+
31
+    /**
32
+     * @param array|string|null $opts
33
+     *
34
+     * @return \Telnyx\ApiResource The saved resource.
35
+     */
36
+    public function save($opts = null)
37
+    {
38
+        $params = $this->serializeParameters();
39
+        if (count($params) > 0) {
40
+            $url = $this->instanceUrl();
41
+            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
+            $this->refreshFrom($response, $opts);
43
+        }
44
+        return $this;
45
+    }
46
+}
Browse code

removed Telnyx directory

DoubleBastionAdmin authored on 19/08/2022 11:12:03
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,46 +0,0 @@
1
-<?php
2
-
3
-namespace Telnyx\ApiOperations;
4
-
5
-/**
6
- * Trait for updatable resources. Adds an `update()` static method and a
7
- * `save()` method to the class.
8
- *
9
- * This trait should only be applied to classes that derive from TelnyxObject.
10
- */
11
-trait Update
12
-{
13
-    /**
14
-     * @param string $id The ID of the resource to update.
15
-     * @param array|null $params
16
-     * @param array|string|null $opts
17
-     *
18
-     * @return \Telnyx\ApiResource The updated resource.
19
-     */
20
-    public static function update($id, $params = null, $opts = null)
21
-    {
22
-        self::_validateParams($params);
23
-        $url = static::resourceUrl($id);
24
-
25
-        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
-        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
-        $obj->setLastResponse($response);
28
-        return $obj;
29
-    }
30
-
31
-    /**
32
-     * @param array|string|null $opts
33
-     *
34
-     * @return \Telnyx\ApiResource The saved resource.
35
-     */
36
-    public function save($opts = null)
37
-    {
38
-        $params = $this->serializeParameters();
39
-        if (count($params) > 0) {
40
-            $url = $this->instanceUrl();
41
-            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
-            $this->refreshFrom($response, $opts);
43
-        }
44
-        return $this;
45
-    }
46
-}
Browse code

Created repository.

DoubleBastionAdmin authored on 01/03/2022 23:47:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,46 @@
1
+<?php
2
+
3
+namespace Telnyx\ApiOperations;
4
+
5
+/**
6
+ * Trait for updatable resources. Adds an `update()` static method and a
7
+ * `save()` method to the class.
8
+ *
9
+ * This trait should only be applied to classes that derive from TelnyxObject.
10
+ */
11
+trait Update
12
+{
13
+    /**
14
+     * @param string $id The ID of the resource to update.
15
+     * @param array|null $params
16
+     * @param array|string|null $opts
17
+     *
18
+     * @return \Telnyx\ApiResource The updated resource.
19
+     */
20
+    public static function update($id, $params = null, $opts = null)
21
+    {
22
+        self::_validateParams($params);
23
+        $url = static::resourceUrl($id);
24
+
25
+        list($response, $opts) = static::_staticRequest('patch', $url, $params, $opts);
26
+        $obj = \Telnyx\Util\Util::convertToTelnyxObject($response->json, $opts);
27
+        $obj->setLastResponse($response);
28
+        return $obj;
29
+    }
30
+
31
+    /**
32
+     * @param array|string|null $opts
33
+     *
34
+     * @return \Telnyx\ApiResource The saved resource.
35
+     */
36
+    public function save($opts = null)
37
+    {
38
+        $params = $this->serializeParameters();
39
+        if (count($params) > 0) {
40
+            $url = $this->instanceUrl();
41
+            list($response, $opts) = $this->_request('post', $url, $params, $opts);
42
+            $this->refreshFrom($response, $opts);
43
+        }
44
+        return $this;
45
+    }
46
+}