Skip to content

Commit 7c84341

Browse files
committed
Generate SDK with OpenAPI Generator Version
1 parent 4a82e51 commit 7c84341

20 files changed

Lines changed: 110 additions & 50 deletions

Bandwidth.Standard.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0549B4D2-AA34-4364-B222-071E3996A3CD}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{6DAF1944-8E94-4139-A4F9-405EAA999A79}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{0549B4D2-AA34-4364-B222-071E3996A3CD}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{6DAF1944-8E94-4139-A4F9-405EAA999A79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{6DAF1944-8E94-4139-A4F9-405EAA999A79}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{6DAF1944-8E94-4139-A4F9-405EAA999A79}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{6DAF1944-8E94-4139-A4F9-405EAA999A79}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

api/openapi.yaml

Lines changed: 43 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,10 @@ paths:
389389
url: https://messaging.bandwidth.com/api/v2
390390
/users/{accountId}/messages:
391391
get:
392-
description: Returns a list of messages based on query parameters.
392+
description: |
393+
Returns a list of messages based on query parameters.
394+
395+
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
393396
operationId: listMessages
394397
parameters:
395398
- description: Your Bandwidth Account ID.
@@ -699,6 +702,12 @@ paths:
699702
schema:
700703
$ref: '#/components/schemas/messagingRequestError'
701704
description: Not Found
705+
"405":
706+
content:
707+
application/json:
708+
schema:
709+
$ref: '#/components/schemas/messagingRequestError'
710+
description: Method Not Allowed
702711
"415":
703712
content:
704713
application/json:
@@ -708,9 +717,21 @@ paths:
708717
"429":
709718
content:
710719
application/json:
720+
example:
721+
type: rate_limit_exceeded
722+
description: Rate limit exceeded. Wait for Retry-After time before
723+
sending another request.
711724
schema:
712725
$ref: '#/components/schemas/messagingRequestError'
713726
description: Too Many Requests
727+
headers:
728+
Retry-After:
729+
description: The number of seconds to wait before retrying the request.
730+
explode: false
731+
schema:
732+
example: 300
733+
type: integer
734+
style: simple
714735
"500":
715736
content:
716737
application/json:
@@ -7409,6 +7430,24 @@ components:
74097430
schema:
74107431
$ref: '#/components/schemas/multiChannelError'
74117432
description: Internal Server Error
7433+
listMessagesTooManyRequestsError:
7434+
content:
7435+
application/json:
7436+
example:
7437+
type: rate_limit_exceeded
7438+
description: Rate limit exceeded. Wait for Retry-After time before sending
7439+
another request.
7440+
schema:
7441+
$ref: '#/components/schemas/messagingRequestError'
7442+
description: Too Many Requests
7443+
headers:
7444+
Retry-After:
7445+
description: The number of seconds to wait before retrying the request.
7446+
explode: false
7447+
schema:
7448+
example: 300
7449+
type: integer
7450+
style: simple
74127451
createCallResponse:
74137452
content:
74147453
application/json:
@@ -8735,7 +8774,9 @@ components:
87358774
rbmMessageMedia:
87368775
properties:
87378776
media:
8738-
$ref: '#/components/schemas/rbmMessageContentFile'
8777+
items:
8778+
$ref: '#/components/schemas/rbmMessageContentFile'
8779+
type: array
87398780
suggestions:
87408781
description: An array of suggested actions for the recipient.
87418782
items:
@@ -13623,13 +13664,11 @@ components:
1362313664
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
1362413665
the verification status of a toll-free number - included in all webhook payloads.
1362513666
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13626-
format: uuid
1362713667
type: string
1362813668
internalTicketNumberForWebhook:
1362913669
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
1363013670
the verification status of a toll-free number.
1363113671
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13632-
format: uuid
1363313672
type: string
1363413673
businessContactPhoneNumber:
1363513674
description: Contact telephone number
@@ -13929,7 +13968,6 @@ components:
1392913968
description: Unique identifier (UUID) generated by Bandwidth to assist in
1393013969
tracking the verification status of a toll-free number.
1393113970
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13932-
format: uuid
1393313971
type: string
1393413972
type: object
1393513973
verificationDenialWebhook:
@@ -13965,7 +14003,6 @@ components:
1396514003
description: Unique identifier (UUID) generated by Bandwidth to assist in
1396614004
tracking the verification status of a toll-free number.
1396714005
example: acde070d-8c4c-4f0d-9d8a-162843c10333
13968-
format: uuid
1396914006
type: string
1397014007
phoneNumber:
1397114008
description: Toll-free telephone number in E.164 format.
@@ -14015,7 +14052,6 @@ components:
1401514052
description: Unique identifier (UUID) generated by Bandwidth to assist in
1401614053
tracking the verification status of a toll-free number.
1401714054
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14018-
format: uuid
1401914055
type: string
1402014056
type: object
1402114057
blockedWebhook:
@@ -14038,7 +14074,6 @@ components:
1403814074
description: Unique identifier (UUID) generated by Bandwidth to assist in
1403914075
tracking the verification status of a toll-free number.
1404014076
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14041-
format: uuid
1404214077
type: string
1404314078
blocked:
1404414079
description: Whether a Toll-Free Verification is blocked. This attribute
@@ -14522,7 +14557,6 @@ components:
1452214557
tracking the verification status of a toll-free number - included in all
1452314558
webhook payloads.
1452414559
example: acde070d-8c4c-4f0d-9d8a-162843c10333
14525-
format: uuid
1452614560
type: string
1452714561
declineReasonDescription:
1452814562
description: Explanation for why a verification request was declined.

bandwidth.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,13 @@ paths:
163163
/users/{accountId}/messages:
164164
get:
165165
summary: List Messages
166-
description: Returns a list of messages based on query parameters.
166+
description: >
167+
Returns a list of messages based on query parameters.
168+
169+
170+
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5
171+
minutes per Source IP address. Exceeding the limit returns HTTP 429 with
172+
a `Retry-After` header.
167173
operationId: listMessages
168174
tags:
169175
- Messages
@@ -207,10 +213,12 @@ paths:
207213
$ref: '#/components/responses/messagingForbiddenError'
208214
'404':
209215
$ref: '#/components/responses/messagingNotFoundError'
216+
'405':
217+
$ref: '#/components/responses/messagingMethodNotAllowedError'
210218
'415':
211219
$ref: '#/components/responses/messagingInvalidMediaTypeError'
212220
'429':
213-
$ref: '#/components/responses/messagingTooManyRequestsError'
221+
$ref: '#/components/responses/listMessagesTooManyRequestsError'
214222
'500':
215223
$ref: '#/components/responses/messagingInternalServerError'
216224
post:
@@ -2257,7 +2265,9 @@ components:
22572265
type: object
22582266
properties:
22592267
media:
2260-
$ref: '#/components/schemas/rbmMessageContentFile'
2268+
type: array
2269+
items:
2270+
$ref: '#/components/schemas/rbmMessageContentFile'
22612271
suggestions:
22622272
$ref: '#/components/schemas/multiChannelFullActions'
22632273
required:
@@ -5875,15 +5885,13 @@ components:
58755885
type: object
58765886
internalTicketNumber:
58775887
type: string
5878-
format: uuid
58795888
description: >-
58805889
Unique identifier (UUID) generated by Bandwidth to assist in tracking
58815890
the verification status of a toll-free number - included in all webhook
58825891
payloads.
58835892
example: acde070d-8c4c-4f0d-9d8a-162843c10333
58845893
internalTicketNumberForWebhook:
58855894
type: string
5886-
format: uuid
58875895
description: >-
58885896
Unique identifier (UUID) generated by Bandwidth to assist in tracking
58895897
the verification status of a toll-free number.
@@ -6752,6 +6760,23 @@ components:
67526760
- type: internal-server-error
67536761
description: Internal server error. No further information available
67546762
source: {}
6763+
listMessagesTooManyRequestsError:
6764+
description: Too Many Requests
6765+
headers:
6766+
Retry-After:
6767+
description: The number of seconds to wait before retrying the request.
6768+
schema:
6769+
type: integer
6770+
example: 300
6771+
content:
6772+
application/json:
6773+
schema:
6774+
$ref: '#/components/schemas/messagingRequestError'
6775+
example:
6776+
type: rate_limit_exceeded
6777+
description: >-
6778+
Rate limit exceeded. Wait for Retry-After time before sending
6779+
another request.
67556780
createCallResponse:
67566781
description: Created
67576782
headers:

docs/BlockedWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**AccountId** | **string** | User's account ID. | [optional]
88
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
99
**Status** | **TfvCallbackStatusEnum** | | [optional]
10-
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
10+
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
1111
**Blocked** | **bool** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
1212
**BlockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
1313

docs/FailureWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**ErrorCode** | **string** | An error code indicating what error was encountered. This code can be interpreted as an HTTP status code in regards to the error that was encountered. | [optional]
1010
**ErrorMessage** | **string** | A description of the error that was encountered. | [optional]
1111
**Errors** | **List<string>** | Details of the errors that were encountered when processing the request. | [optional]
12-
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
12+
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
1313

1414
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1515

docs/MessagesApi.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ catch (ApiException e)
121121
122122
List Messages
123123

124-
Returns a list of messages based on query parameters.
124+
Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
125125

126126
### Example
127127
```csharp
@@ -267,8 +267,9 @@ catch (ApiException e)
267267
| **401** | Unauthorized | - |
268268
| **403** | Forbidden | - |
269269
| **404** | Not Found | - |
270+
| **405** | Method Not Allowed | - |
270271
| **415** | Unsupported Media Type | - |
271-
| **429** | Too Many Requests | - |
272+
| **429** | Too Many Requests | * Retry-After - The number of seconds to wait before retrying the request. <br> |
272273
| **500** | Internal Server Error | - |
273274

274275
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

docs/MultiChannelChannelListRBMObjectAllOfContent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**Text** | **string** | The text associated with the message. Must be 3270 characters or less |
99
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
10-
**Media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | |
10+
**Media** | [**List&lt;RbmMessageContentFile&gt;**](RbmMessageContentFile.md) | |
1111
**Orientation** | **StandaloneCardOrientationEnum** | |
1212
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
1313
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |

docs/RbmMessageMedia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**Media** | [**RbmMessageContentFile**](RbmMessageContentFile.md) | |
7+
**Media** | [**List&lt;RbmMessageContentFile&gt;**](RbmMessageContentFile.md) | |
88
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/TfvStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
88
**Status** | **TfvStatusEnum** | | [optional]
9-
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional]
9+
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional]
1010
**DeclineReasonDescription** | **string** | Explanation for why a verification request was declined. | [optional]
1111
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
1212
**CreatedDateTime** | **DateTime** | Date and time the verification request was created. | [optional]

docs/VerificationDenialWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**AdditionalDenialReasons** | [**List&lt;AdditionalDenialReason&gt;**](AdditionalDenialReason.md) | An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. | [optional]
99
**DeclineReasonDescription** | **string** | Explanation for why a verification request was declined. | [optional]
1010
**DenialStatusCode** | **int** | Reason code for denial. | [optional]
11-
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
11+
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
1212
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
1313
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
1414
**Status** | **string** | | [optional] [default to "UNVERIFIED"]

0 commit comments

Comments
 (0)