bandwidth-sdk 18.0.0 → 18.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +28 -1
  4. data/bandwidth.yml +944 -19
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +784 -152
  7. data/coverage/index.html +21650 -14800
  8. data/docs/BrtcError.md +26 -0
  9. data/docs/BrtcErrorResponse.md +22 -0
  10. data/docs/BrtcErrorSource.md +24 -0
  11. data/docs/BrtcLink.md +22 -0
  12. data/docs/CreateCall.md +2 -2
  13. data/docs/CreateEndpointRequestBase.md +26 -0
  14. data/docs/CreateEndpointResponse.md +22 -0
  15. data/docs/CreateEndpointResponseData.md +32 -0
  16. data/docs/CreateWebRtcConnectionRequest.md +28 -0
  17. data/docs/Device.md +24 -0
  18. data/docs/DeviceStatusEnum.md +15 -0
  19. data/docs/Endpoint.md +30 -0
  20. data/docs/EndpointDirectionEnum.md +15 -0
  21. data/docs/EndpointEvent.md +34 -0
  22. data/docs/EndpointEventTypeEnum.md +15 -0
  23. data/docs/EndpointResponse.md +22 -0
  24. data/docs/EndpointStatusEnum.md +15 -0
  25. data/docs/EndpointTypeEnum.md +15 -0
  26. data/docs/Endpoints.md +28 -0
  27. data/docs/EndpointsApi.md +395 -0
  28. data/docs/InboundCallback.md +2 -2
  29. data/docs/ListEndpointsResponse.md +24 -0
  30. data/docs/LookupResult.md +1 -1
  31. data/docs/MachineDetectionConfiguration.md +1 -1
  32. data/docs/MessageRequest.md +1 -1
  33. data/docs/Page.md +24 -0
  34. data/docs/RbmActionBase.md +1 -1
  35. data/docs/RbmSuggestionResponse.md +1 -1
  36. data/docs/SipConnectionMetadata.md +24 -0
  37. data/docs/SipCredentials.md +20 -0
  38. data/docs/StatusCallback.md +1 -1
  39. data/docs/SyncLookupRequest.md +3 -1
  40. data/docs/UpdateCall.md +1 -1
  41. data/docs/WebhookSubscriptionError.md +22 -0
  42. data/docs/WebhookSubscriptionsListBody.md +1 -1
  43. data/lib/bandwidth-sdk/api/endpoints_api.rb +397 -0
  44. data/lib/bandwidth-sdk/configuration.rb +30 -0
  45. data/lib/bandwidth-sdk/models/brtc_error.rb +219 -0
  46. data/lib/bandwidth-sdk/models/brtc_error_response.rb +204 -0
  47. data/lib/bandwidth-sdk/models/brtc_error_source.rb +176 -0
  48. data/lib/bandwidth-sdk/models/brtc_link.rb +166 -0
  49. data/lib/bandwidth-sdk/models/create_call.rb +7 -7
  50. data/lib/bandwidth-sdk/models/create_endpoint_request_base.rb +250 -0
  51. data/lib/bandwidth-sdk/models/create_endpoint_response.rb +218 -0
  52. data/lib/bandwidth-sdk/models/create_endpoint_response_data.rb +356 -0
  53. data/lib/bandwidth-sdk/models/create_web_rtc_connection_request.rb +266 -0
  54. data/lib/bandwidth-sdk/models/device.rb +258 -0
  55. data/lib/bandwidth-sdk/models/device_status_enum.rb +40 -0
  56. data/lib/bandwidth-sdk/models/endpoint.rb +329 -0
  57. data/lib/bandwidth-sdk/models/endpoint_direction_enum.rb +41 -0
  58. data/lib/bandwidth-sdk/models/endpoint_event.rb +381 -0
  59. data/lib/bandwidth-sdk/models/endpoint_event_type_enum.rb +40 -0
  60. data/lib/bandwidth-sdk/models/endpoint_response.rb +218 -0
  61. data/lib/bandwidth-sdk/models/endpoint_status_enum.rb +40 -0
  62. data/lib/bandwidth-sdk/models/endpoint_type_enum.rb +39 -0
  63. data/lib/bandwidth-sdk/models/endpoints.rb +311 -0
  64. data/lib/bandwidth-sdk/models/inbound_callback.rb +2 -2
  65. data/lib/bandwidth-sdk/models/list_endpoints_response.rb +229 -0
  66. data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
  67. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  68. data/lib/bandwidth-sdk/models/message_request.rb +1 -1
  69. data/lib/bandwidth-sdk/models/page.rb +259 -0
  70. data/lib/bandwidth-sdk/models/sip_connection_metadata.rb +175 -0
  71. data/lib/bandwidth-sdk/models/sip_credentials.rb +156 -0
  72. data/lib/bandwidth-sdk/models/status_callback.rb +1 -1
  73. data/lib/bandwidth-sdk/models/sync_lookup_request.rb +35 -4
  74. data/lib/bandwidth-sdk/models/update_call.rb +6 -6
  75. data/lib/bandwidth-sdk/models/webhook_subscription_error.rb +165 -0
  76. data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +1 -1
  77. data/lib/bandwidth-sdk/version.rb +1 -1
  78. data/lib/bandwidth-sdk.rb +24 -1
  79. data/spec/smoke/endpoints_api_spec.rb +148 -0
  80. data/spec/unit/api/endpoints_api_spec.rb +172 -0
  81. data/spec/unit/api/phone_number_lookup_api_spec.rb +2 -0
  82. metadata +104 -52
data/docs/BrtcError.md ADDED
@@ -0,0 +1,26 @@
1
+ # Bandwidth::BrtcError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | A unique identifier for the error. | [optional] |
8
+ | **type** | **String** | The type of error. | |
9
+ | **description** | **String** | A description of the error. | |
10
+ | **code** | **String** | A code that uniquely identifies the error. | [optional] |
11
+ | **source** | [**BrtcErrorSource**](BrtcErrorSource.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'bandwidth-sdk'
17
+
18
+ instance = Bandwidth::BrtcError.new(
19
+ id: 59512d87-7a92-4040-8e4a-78fb772019b9,
20
+ type: resource.not_found,
21
+ description: The requested resource was not found.,
22
+ code: 404,
23
+ source: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # Bandwidth::BrtcErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **links** | [**Array<BrtcLink>**](BrtcLink.md) | | |
8
+ | **data** | **Object** | | |
9
+ | **errors** | [**Array<BrtcError>**](BrtcError.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'bandwidth-sdk'
15
+
16
+ instance = Bandwidth::BrtcErrorResponse.new(
17
+ links: null,
18
+ data: null,
19
+ errors: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # Bandwidth::BrtcErrorSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **parameter** | **String** | The URI parameter that caused the error. | [optional] |
8
+ | **field** | **String** | The request body field that caused the error. | [optional] |
9
+ | **header** | **String** | The header that caused the error. | [optional] |
10
+ | **reference** | **String** | The resource ID or path to the resource (or non-existent resource) causing the error. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'bandwidth-sdk'
16
+
17
+ instance = Bandwidth::BrtcErrorSource.new(
18
+ parameter: accountId,
19
+ field: accountId,
20
+ header: Authorization,
21
+ reference: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
22
+ )
23
+ ```
24
+
data/docs/BrtcLink.md ADDED
@@ -0,0 +1,22 @@
1
+ # Bandwidth::BrtcLink
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **href** | **String** | The full URL of the link. | [optional] |
8
+ | **rel** | **String** | The relationship of the link to the current resource. | [optional] |
9
+ | **method** | **String** | The HTTP method to use when making the request. | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'bandwidth-sdk'
15
+
16
+ instance = Bandwidth::BrtcLink.new(
17
+ href: https://api.bandwidth.com/v2/accounts/5500123/endpoints/e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
18
+ rel: self,
19
+ method: GET
20
+ )
21
+ ```
22
+
data/docs/CreateCall.md CHANGED
@@ -7,7 +7,7 @@
7
7
  | **to** | **String** | The destination to call (must be an E.164 formatted number (e.g. `+15555551212`) or a SIP URI (e.g. `sip:user@server.example`)). | |
8
8
  | **from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true. | |
9
9
  | **privacy** | **Boolean** | Hide the calling number. The `displayName` field can be used to customize the displayed name. | [optional] |
10
- | **display_name** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional] |
10
+ | **display_name** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional] |
11
11
  | **uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] |
12
12
  | **application_id** | **String** | The id of the application associated with the `from` number. | |
13
13
  | **answer_url** | **String** | The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`. | |
@@ -24,7 +24,7 @@
24
24
  | **callback_timeout** | **Float** | This is the timeout (in seconds) to use when delivering webhooks for the call. Can be any numeric value (including decimals) between 1 and 25. | [optional][default to 15] |
25
25
  | **machine_detection** | [**MachineDetectionConfiguration**](MachineDetectionConfiguration.md) | | [optional] |
26
26
  | **priority** | **Integer** | The priority of this call over other calls from your account. For example, if during a call your application needs to place a new call and bridge it with the current call, you might want to create the call with priority 1 so that it will be the next call picked off your queue, ahead of other less time sensitive calls. A lower value means higher priority, so a priority 1 call takes precedence over a priority 2 call. | [optional][default to 5] |
27
- | **tag** | **String** | A custom string that will be sent with all webhooks for this call unless overwritten by a future <a href='/docs/voice/bxml/tag'>`<Tag>`</a> verb or `tag` attribute on another verb, or cleared. May be cleared by setting `tag=\"\"` Max length 256 characters. | [optional] |
27
+ | **tag** | **String** | A custom string that will be sent with all webhooks for this call unless overwritten by a future <a href='/docs/voice/bxml/tag'>`<Tag>`</a> verb or `tag` attribute on another verb, or cleared. May be cleared by setting `tag=\"\"` Max length 4096 characters. | [optional] |
28
28
 
29
29
  ## Example
30
30
 
@@ -0,0 +1,26 @@
1
+ # Bandwidth::CreateEndpointRequestBase
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
8
+ | **direction** | [**EndpointDirectionEnum**](EndpointDirectionEnum.md) | | |
9
+ | **event_callback_url** | **String** | The URL to send event callbacks to. | [optional] |
10
+ | **event_fallback_url** | **String** | The URL to send event fallbacks to. | [optional] |
11
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'bandwidth-sdk'
17
+
18
+ instance = Bandwidth::CreateEndpointRequestBase.new(
19
+ type: null,
20
+ direction: null,
21
+ event_callback_url: https://myapp.com/callback,
22
+ event_fallback_url: https://fallback.myapp.com/callback,
23
+ tag: my-tag
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # Bandwidth::CreateEndpointResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **links** | [**Array<BrtcLink>**](BrtcLink.md) | | |
8
+ | **data** | [**CreateEndpointResponseData**](CreateEndpointResponseData.md) | | |
9
+ | **errors** | [**Array<BrtcError>**](BrtcError.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'bandwidth-sdk'
15
+
16
+ instance = Bandwidth::CreateEndpointResponse.new(
17
+ links: null,
18
+ data: null,
19
+ errors: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,32 @@
1
+ # Bandwidth::CreateEndpointResponseData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **endpoint_id** | **String** | The unique ID of the endpoint. | |
8
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
9
+ | **status** | [**EndpointStatusEnum**](EndpointStatusEnum.md) | | |
10
+ | **creation_timestamp** | **Time** | The time the endpoint was created. In ISO-8601 format. | |
11
+ | **expiration_timestamp** | **Time** | The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours. | |
12
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
13
+ | **devices** | [**Array<Device>**](Device.md) | | [optional] |
14
+ | **token** | **String** | The json web token specific to the endpoint. Used to authenticate the client with the media gateway. | |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'bandwidth-sdk'
20
+
21
+ instance = Bandwidth::CreateEndpointResponseData.new(
22
+ endpoint_id: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
23
+ type: null,
24
+ status: null,
25
+ creation_timestamp: 2021-01-01T00:00Z,
26
+ expiration_timestamp: 2021-01-02T00:00Z,
27
+ tag: my-tag,
28
+ devices: null,
29
+ token: xxxxx.yyyyy.zzzzz
30
+ )
31
+ ```
32
+
@@ -0,0 +1,28 @@
1
+ # Bandwidth::CreateWebRtcConnectionRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
8
+ | **direction** | [**EndpointDirectionEnum**](EndpointDirectionEnum.md) | | |
9
+ | **event_callback_url** | **String** | The URL to send event callbacks to. | [optional] |
10
+ | **event_fallback_url** | **String** | The URL to send event fallbacks to. | [optional] |
11
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
12
+ | **connection_metadata** | **Object** | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'bandwidth-sdk'
18
+
19
+ instance = Bandwidth::CreateWebRtcConnectionRequest.new(
20
+ type: null,
21
+ direction: null,
22
+ event_callback_url: https://myapp.com/callback,
23
+ event_fallback_url: https://fallback.myapp.com/callback,
24
+ tag: my-tag,
25
+ connection_metadata: null
26
+ )
27
+ ```
28
+
data/docs/Device.md ADDED
@@ -0,0 +1,24 @@
1
+ # Bandwidth::Device
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **device_id** | **String** | The unique ID of the device. | |
8
+ | **device_name** | **String** | The name of the device. | [optional] |
9
+ | **status** | [**DeviceStatusEnum**](DeviceStatusEnum.md) | | |
10
+ | **creation_timestamp** | **Time** | The time the device was created. In ISO-8601 format. | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'bandwidth-sdk'
16
+
17
+ instance = Bandwidth::Device.new(
18
+ device_id: d-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
19
+ device_name: David's iPhone,
20
+ status: null,
21
+ creation_timestamp: 2021-01-01T00:00Z
22
+ )
23
+ ```
24
+
@@ -0,0 +1,15 @@
1
+ # Bandwidth::DeviceStatusEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::DeviceStatusEnum.new()
14
+ ```
15
+
data/docs/Endpoint.md ADDED
@@ -0,0 +1,30 @@
1
+ # Bandwidth::Endpoint
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **endpoint_id** | **String** | The unique ID of the endpoint. | |
8
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
9
+ | **status** | [**EndpointStatusEnum**](EndpointStatusEnum.md) | | |
10
+ | **creation_timestamp** | **Time** | The time the endpoint was created. In ISO-8601 format. | |
11
+ | **expiration_timestamp** | **Time** | The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours. | |
12
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
13
+ | **devices** | [**Array<Device>**](Device.md) | | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'bandwidth-sdk'
19
+
20
+ instance = Bandwidth::Endpoint.new(
21
+ endpoint_id: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
22
+ type: null,
23
+ status: null,
24
+ creation_timestamp: 2021-01-01T00:00Z,
25
+ expiration_timestamp: 2021-01-02T00:00Z,
26
+ tag: my-tag,
27
+ devices: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,15 @@
1
+ # Bandwidth::EndpointDirectionEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::EndpointDirectionEnum.new()
14
+ ```
15
+
@@ -0,0 +1,34 @@
1
+ # Bandwidth::EndpointEvent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **endpoint_id** | **String** | The unique ID of the endpoint. | |
8
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
9
+ | **status** | [**EndpointStatusEnum**](EndpointStatusEnum.md) | | |
10
+ | **creation_timestamp** | **Time** | The time the endpoint was created. In ISO-8601 format. | |
11
+ | **expiration_timestamp** | **Time** | The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours. | |
12
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
13
+ | **event_time** | **Time** | The time the event occurred. In ISO-8601 format. | |
14
+ | **event_type** | [**EndpointEventTypeEnum**](EndpointEventTypeEnum.md) | | |
15
+ | **device** | [**Device**](Device.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'bandwidth-sdk'
21
+
22
+ instance = Bandwidth::EndpointEvent.new(
23
+ endpoint_id: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
24
+ type: null,
25
+ status: null,
26
+ creation_timestamp: 2021-01-01T00:00Z,
27
+ expiration_timestamp: 2021-01-02T00:00Z,
28
+ tag: my-tag,
29
+ event_time: 2021-01-01T00:00Z,
30
+ event_type: null,
31
+ device: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,15 @@
1
+ # Bandwidth::EndpointEventTypeEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::EndpointEventTypeEnum.new()
14
+ ```
15
+
@@ -0,0 +1,22 @@
1
+ # Bandwidth::EndpointResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **links** | [**Array<BrtcLink>**](BrtcLink.md) | | |
8
+ | **data** | [**Endpoint**](Endpoint.md) | | |
9
+ | **errors** | [**Array<BrtcError>**](BrtcError.md) | | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'bandwidth-sdk'
15
+
16
+ instance = Bandwidth::EndpointResponse.new(
17
+ links: null,
18
+ data: null,
19
+ errors: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,15 @@
1
+ # Bandwidth::EndpointStatusEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::EndpointStatusEnum.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # Bandwidth::EndpointTypeEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::EndpointTypeEnum.new()
14
+ ```
15
+
data/docs/Endpoints.md ADDED
@@ -0,0 +1,28 @@
1
+ # Bandwidth::Endpoints
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **endpoint_id** | **String** | The unique ID of the endpoint. | |
8
+ | **type** | [**EndpointTypeEnum**](EndpointTypeEnum.md) | | |
9
+ | **status** | [**EndpointStatusEnum**](EndpointStatusEnum.md) | | |
10
+ | **creation_timestamp** | **Time** | The time the endpoint was created. In ISO-8601 format. | |
11
+ | **expiration_timestamp** | **Time** | The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours. | |
12
+ | **tag** | **String** | A tag for the endpoint. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'bandwidth-sdk'
18
+
19
+ instance = Bandwidth::Endpoints.new(
20
+ endpoint_id: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
21
+ type: null,
22
+ status: null,
23
+ creation_timestamp: 2021-01-01T00:00Z,
24
+ expiration_timestamp: 2021-01-02T00:00Z,
25
+ tag: my-tag
26
+ )
27
+ ```
28
+