1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,62 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class MessagingProfile |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class MessagingProfile extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "messaging_profile"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Delete; |
|
17 |
- use ApiOperations\Retrieve; |
|
18 |
- use ApiOperations\Update; |
|
19 |
- |
|
20 |
- |
|
21 |
- /** |
|
22 |
- * @param array|null $params |
|
23 |
- * @param array|string|null $options |
|
24 |
- * |
|
25 |
- * @return List all phone numbers associated with a messaging profile. |
|
26 |
- */ |
|
27 |
- public function phone_numbers($params = null, $options = null) |
|
28 |
- { |
|
29 |
- $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
- $this->refreshFrom($response, $opts); |
|
32 |
- return $this; |
|
33 |
- } |
|
34 |
- |
|
35 |
- /** |
|
36 |
- * @param array|null $params |
|
37 |
- * @param array|string|null $options |
|
38 |
- * |
|
39 |
- * @return List all short codes associated with a messaging profile. |
|
40 |
- */ |
|
41 |
- public function short_codes($params = null, $options = null) |
|
42 |
- { |
|
43 |
- $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
- $this->refreshFrom($response, $opts); |
|
46 |
- return $this; |
|
47 |
- } |
|
48 |
- |
|
49 |
- /** |
|
50 |
- * @param array|null $params |
|
51 |
- * @param array|string|null $options |
|
52 |
- * |
|
53 |
- * @return List all sender IDs associated with a messaging profile. |
|
54 |
- */ |
|
55 |
- public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
- { |
|
57 |
- $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
- $this->refreshFrom($response, $opts); |
|
60 |
- return $this; |
|
61 |
- } |
|
62 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,62 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class MessagingProfile |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class MessagingProfile extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "messaging_profile"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Delete; |
|
17 |
+ use ApiOperations\Retrieve; |
|
18 |
+ use ApiOperations\Update; |
|
19 |
+ |
|
20 |
+ |
|
21 |
+ /** |
|
22 |
+ * @param array|null $params |
|
23 |
+ * @param array|string|null $options |
|
24 |
+ * |
|
25 |
+ * @return List all phone numbers associated with a messaging profile. |
|
26 |
+ */ |
|
27 |
+ public function phone_numbers($params = null, $options = null) |
|
28 |
+ { |
|
29 |
+ $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
+ $this->refreshFrom($response, $opts); |
|
32 |
+ return $this; |
|
33 |
+ } |
|
34 |
+ |
|
35 |
+ /** |
|
36 |
+ * @param array|null $params |
|
37 |
+ * @param array|string|null $options |
|
38 |
+ * |
|
39 |
+ * @return List all short codes associated with a messaging profile. |
|
40 |
+ */ |
|
41 |
+ public function short_codes($params = null, $options = null) |
|
42 |
+ { |
|
43 |
+ $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
+ $this->refreshFrom($response, $opts); |
|
46 |
+ return $this; |
|
47 |
+ } |
|
48 |
+ |
|
49 |
+ /** |
|
50 |
+ * @param array|null $params |
|
51 |
+ * @param array|string|null $options |
|
52 |
+ * |
|
53 |
+ * @return List all sender IDs associated with a messaging profile. |
|
54 |
+ */ |
|
55 |
+ public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
+ { |
|
57 |
+ $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
+ $this->refreshFrom($response, $opts); |
|
60 |
+ return $this; |
|
61 |
+ } |
|
62 |
+} |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,62 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class MessagingProfile |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class MessagingProfile extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "messaging_profile"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Delete; |
|
17 |
- use ApiOperations\Retrieve; |
|
18 |
- use ApiOperations\Update; |
|
19 |
- |
|
20 |
- |
|
21 |
- /** |
|
22 |
- * @param array|null $params |
|
23 |
- * @param array|string|null $options |
|
24 |
- * |
|
25 |
- * @return List all phone numbers associated with a messaging profile. |
|
26 |
- */ |
|
27 |
- public function phone_numbers($params = null, $options = null) |
|
28 |
- { |
|
29 |
- $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
- $this->refreshFrom($response, $opts); |
|
32 |
- return $this; |
|
33 |
- } |
|
34 |
- |
|
35 |
- /** |
|
36 |
- * @param array|null $params |
|
37 |
- * @param array|string|null $options |
|
38 |
- * |
|
39 |
- * @return List all short codes associated with a messaging profile. |
|
40 |
- */ |
|
41 |
- public function short_codes($params = null, $options = null) |
|
42 |
- { |
|
43 |
- $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
- $this->refreshFrom($response, $opts); |
|
46 |
- return $this; |
|
47 |
- } |
|
48 |
- |
|
49 |
- /** |
|
50 |
- * @param array|null $params |
|
51 |
- * @param array|string|null $options |
|
52 |
- * |
|
53 |
- * @return List all sender IDs associated with a messaging profile. |
|
54 |
- */ |
|
55 |
- public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
- { |
|
57 |
- $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
- $this->refreshFrom($response, $opts); |
|
60 |
- return $this; |
|
61 |
- } |
|
62 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,62 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class MessagingProfile |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class MessagingProfile extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "messaging_profile"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Delete; |
|
17 |
+ use ApiOperations\Retrieve; |
|
18 |
+ use ApiOperations\Update; |
|
19 |
+ |
|
20 |
+ |
|
21 |
+ /** |
|
22 |
+ * @param array|null $params |
|
23 |
+ * @param array|string|null $options |
|
24 |
+ * |
|
25 |
+ * @return List all phone numbers associated with a messaging profile. |
|
26 |
+ */ |
|
27 |
+ public function phone_numbers($params = null, $options = null) |
|
28 |
+ { |
|
29 |
+ $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
+ $this->refreshFrom($response, $opts); |
|
32 |
+ return $this; |
|
33 |
+ } |
|
34 |
+ |
|
35 |
+ /** |
|
36 |
+ * @param array|null $params |
|
37 |
+ * @param array|string|null $options |
|
38 |
+ * |
|
39 |
+ * @return List all short codes associated with a messaging profile. |
|
40 |
+ */ |
|
41 |
+ public function short_codes($params = null, $options = null) |
|
42 |
+ { |
|
43 |
+ $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
+ $this->refreshFrom($response, $opts); |
|
46 |
+ return $this; |
|
47 |
+ } |
|
48 |
+ |
|
49 |
+ /** |
|
50 |
+ * @param array|null $params |
|
51 |
+ * @param array|string|null $options |
|
52 |
+ * |
|
53 |
+ * @return List all sender IDs associated with a messaging profile. |
|
54 |
+ */ |
|
55 |
+ public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
+ { |
|
57 |
+ $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
+ $this->refreshFrom($response, $opts); |
|
60 |
+ return $this; |
|
61 |
+ } |
|
62 |
+} |
1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,62 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-namespace Telnyx; |
|
4 |
- |
|
5 |
-/** |
|
6 |
- * Class MessagingProfile |
|
7 |
- * |
|
8 |
- * @package Telnyx |
|
9 |
- */ |
|
10 |
-class MessagingProfile extends ApiResource |
|
11 |
-{ |
|
12 |
- const OBJECT_NAME = "messaging_profile"; |
|
13 |
- |
|
14 |
- use ApiOperations\All; |
|
15 |
- use ApiOperations\Create; |
|
16 |
- use ApiOperations\Delete; |
|
17 |
- use ApiOperations\Retrieve; |
|
18 |
- use ApiOperations\Update; |
|
19 |
- |
|
20 |
- |
|
21 |
- /** |
|
22 |
- * @param array|null $params |
|
23 |
- * @param array|string|null $options |
|
24 |
- * |
|
25 |
- * @return List all phone numbers associated with a messaging profile. |
|
26 |
- */ |
|
27 |
- public function phone_numbers($params = null, $options = null) |
|
28 |
- { |
|
29 |
- $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
- $this->refreshFrom($response, $opts); |
|
32 |
- return $this; |
|
33 |
- } |
|
34 |
- |
|
35 |
- /** |
|
36 |
- * @param array|null $params |
|
37 |
- * @param array|string|null $options |
|
38 |
- * |
|
39 |
- * @return List all short codes associated with a messaging profile. |
|
40 |
- */ |
|
41 |
- public function short_codes($params = null, $options = null) |
|
42 |
- { |
|
43 |
- $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
- $this->refreshFrom($response, $opts); |
|
46 |
- return $this; |
|
47 |
- } |
|
48 |
- |
|
49 |
- /** |
|
50 |
- * @param array|null $params |
|
51 |
- * @param array|string|null $options |
|
52 |
- * |
|
53 |
- * @return List all sender IDs associated with a messaging profile. |
|
54 |
- */ |
|
55 |
- public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
- { |
|
57 |
- $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
- list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
- $this->refreshFrom($response, $opts); |
|
60 |
- return $this; |
|
61 |
- } |
|
62 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,62 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+namespace Telnyx; |
|
4 |
+ |
|
5 |
+/** |
|
6 |
+ * Class MessagingProfile |
|
7 |
+ * |
|
8 |
+ * @package Telnyx |
|
9 |
+ */ |
|
10 |
+class MessagingProfile extends ApiResource |
|
11 |
+{ |
|
12 |
+ const OBJECT_NAME = "messaging_profile"; |
|
13 |
+ |
|
14 |
+ use ApiOperations\All; |
|
15 |
+ use ApiOperations\Create; |
|
16 |
+ use ApiOperations\Delete; |
|
17 |
+ use ApiOperations\Retrieve; |
|
18 |
+ use ApiOperations\Update; |
|
19 |
+ |
|
20 |
+ |
|
21 |
+ /** |
|
22 |
+ * @param array|null $params |
|
23 |
+ * @param array|string|null $options |
|
24 |
+ * |
|
25 |
+ * @return List all phone numbers associated with a messaging profile. |
|
26 |
+ */ |
|
27 |
+ public function phone_numbers($params = null, $options = null) |
|
28 |
+ { |
|
29 |
+ $url = $this->instanceUrl() . '/phone_numbers'; |
|
30 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
31 |
+ $this->refreshFrom($response, $opts); |
|
32 |
+ return $this; |
|
33 |
+ } |
|
34 |
+ |
|
35 |
+ /** |
|
36 |
+ * @param array|null $params |
|
37 |
+ * @param array|string|null $options |
|
38 |
+ * |
|
39 |
+ * @return List all short codes associated with a messaging profile. |
|
40 |
+ */ |
|
41 |
+ public function short_codes($params = null, $options = null) |
|
42 |
+ { |
|
43 |
+ $url = $this->instanceUrl() . '/short_codes'; |
|
44 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
45 |
+ $this->refreshFrom($response, $opts); |
|
46 |
+ return $this; |
|
47 |
+ } |
|
48 |
+ |
|
49 |
+ /** |
|
50 |
+ * @param array|null $params |
|
51 |
+ * @param array|string|null $options |
|
52 |
+ * |
|
53 |
+ * @return List all sender IDs associated with a messaging profile. |
|
54 |
+ */ |
|
55 |
+ public function alphanumeric_sender_ids($params = null, $options = null) |
|
56 |
+ { |
|
57 |
+ $url = $this->instanceUrl() . '/alphanumeric_sender_ids'; |
|
58 |
+ list($response, $opts) = $this->_request('get', $url, $params, $options); |
|
59 |
+ $this->refreshFrom($response, $opts); |
|
60 |
+ return $this; |
|
61 |
+ } |
|
62 |
+} |