Skip to content

Commit 579d5f5

Browse files
Generate SDK with OpenAPI Generator Version (#193)
Co-authored-by: DX-Bandwidth <dx@bandwidth.com>
1 parent 0bab9d5 commit 579d5f5

9 files changed

Lines changed: 17 additions & 15 deletions

bandwidth.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ paths:
14841484
$ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
14851485
responses:
14861486
'202':
1487-
description: Accepted
1487+
$ref: '#/components/responses/verifyPutResponse'
14881488
'400':
14891489
$ref: '#/components/responses/tfvPostBadRequestResponse'
14901490
'401':
@@ -5965,7 +5965,7 @@ components:
59655965
ageGatedContent:
59665966
$ref: '#/components/schemas/ageGatedContent'
59675967
cvToken:
5968-
$ref: '#/components/schemas/cvToken'
5968+
$ref: '#/components/schemas/cvTokenNullable'
59695969
verificationUpdateRequest:
59705970
type: object
59715971
required:
@@ -6016,7 +6016,7 @@ components:
60166016
ageGatedContent:
60176017
$ref: '#/components/schemas/ageGatedContent'
60186018
cvToken:
6019-
$ref: '#/components/schemas/cvToken'
6019+
$ref: '#/components/schemas/cvTokenNullable'
60206020
tfvBasicAuthentication:
60216021
type: object
60226022
properties:
@@ -6469,7 +6469,7 @@ components:
64696469
blockedReason:
64706470
$ref: '#/components/schemas/blockedReason'
64716471
cvToken:
6472-
$ref: '#/components/schemas/cvToken'
6472+
$ref: '#/components/schemas/cvTokenNullable'
64736473
tfvSubmissionInfo:
64746474
type: object
64756475
properties:
@@ -6534,13 +6534,13 @@ components:
65346534
nullable: true
65356535
pattern: ^[ -~]{16,64}$
65366536
type: string
6537-
cvToken:
6537+
cvTokenNullable:
65386538
type: string
65396539
description: >-
65406540
The token provided by Campaign Verify to validate your political use
65416541
case. Only required for 527 political organizations. If you are not a
6542-
527 political organization, this field should be omitted. If you pass an
6543-
empty string, it will be passed along and potentially rejected.
6542+
527 political organization, this field should be omitted. Supplying an
6543+
empty string will likely result in rejection.
65446544
minLength: 0
65456545
maxLength: 500
65466546
nullable: true
@@ -7214,6 +7214,8 @@ components:
72147214
example:
72157215
description: Service Unavailable Error.
72167216
type: Service Unavailable
7217+
verifyPutResponse:
7218+
description: Accepted
72177219
parameters:
72187220
accountId:
72197221
in: path

docs/RbmActionBase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require 'bandwidth-sdk'
1616
instance = Bandwidth::RbmActionBase.new(
1717
type: null,
1818
text: Hello world,
19-
postback_data: [B@cc7909f
19+
postback_data: [B@768d27e8
2020
)
2121
```
2222

docs/RbmSuggestionResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require 'bandwidth-sdk'
1414

1515
instance = Bandwidth::RbmSuggestionResponse.new(
1616
text: Yes, I would like to proceed,
17-
postback_data: [B@cc7909f
17+
postback_data: [B@768d27e8
1818
)
1919
```
2020

docs/TfvStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| **submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] |
1515
| **blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
1616
| **blocked_reason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] |
17-
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] |
17+
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] |
1818

1919
## Example
2020

docs/VerificationRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
| **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] |
2323
| **help_message_response** | **String** | A message that gets sent to users requesting help. | [optional] |
2424
| **age_gated_content** | **Boolean** | Indicates whether the content is age-gated. | [optional] |
25-
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] |
25+
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] |
2626

2727
## Example
2828

docs/VerificationUpdateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
| **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] |
2222
| **help_message_response** | **String** | A message that gets sent to users requesting help. | [optional] |
2323
| **age_gated_content** | **Boolean** | Indicates whether the content is age-gated. | [optional] |
24-
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] |
24+
| **cv_token** | **String** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] |
2525

2626
## Example
2727

lib/bandwidth-sdk/models/tfv_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TfvStatus < ApiModelBase
4343
# The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
4444
attr_accessor :blocked_reason
4545

46-
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
46+
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
4747
attr_accessor :cv_token
4848

4949
class EnumAttributeValidator

lib/bandwidth-sdk/models/verification_request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class VerificationRequest < ApiModelBase
6363
# Indicates whether the content is age-gated.
6464
attr_accessor :age_gated_content
6565

66-
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
66+
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
6767
attr_accessor :cv_token
6868

6969
class EnumAttributeValidator

lib/bandwidth-sdk/models/verification_update_request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class VerificationUpdateRequest < ApiModelBase
6161
# Indicates whether the content is age-gated.
6262
attr_accessor :age_gated_content
6363

64-
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
64+
# The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
6565
attr_accessor :cv_token
6666

6767
class EnumAttributeValidator

0 commit comments

Comments
 (0)