Skip to content

Commit 2c2ba51

Browse files
Generate SDK with OpenAPI Generator Version (#191)
Co-authored-by: DX-Bandwidth <dx@bandwidth.com>
1 parent 0ea8e93 commit 2c2ba51

22 files changed

Lines changed: 88 additions & 65 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", "{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0213CF75-AC44-4279-B991-A8ED63FD9803}"
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-
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{0213CF75-AC44-4279-B991-A8ED63FD9803}.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: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9861,6 +9861,8 @@ components:
98619861
title: RBM Media
98629862
type: object
98639863
rbmCardContent:
9864+
description: "Must contain at least one of title, description, or media to be\
9865+
\ valid."
98649866
properties:
98659867
title:
98669868
description: The title of the card. Must be 200 characters or less.
@@ -9899,7 +9901,6 @@ components:
98999901
required:
99009902
- cardContent
99019903
- orientation
9902-
- thumbnailImageAlignment
99039904
title: Standalone Card
99049905
type: object
99059906
standaloneCardOrientationEnum:
@@ -9909,8 +9910,8 @@ components:
99099910
example: VERTICAL
99109911
type: string
99119912
thumbnailAlignmentEnum:
9912-
description: The alignment of the thumbnail image in the card. Only applicable
9913-
if the card using horizontal orientation.
9913+
description: The alignment of the thumbnail image in the card. Required when
9914+
orientation is HORIZONTAL.
99149915
enum:
99159916
- LEFT
99169917
- RIGHT
@@ -9924,6 +9925,7 @@ components:
99249925
items:
99259926
$ref: '#/components/schemas/rbmCardContent'
99269927
maxItems: 10
9928+
minItems: 2
99279929
type: array
99289930
suggestions:
99299931
description: An array of suggested actions for the recipient.
@@ -9995,7 +9997,9 @@ components:
99959997
type: string
99969998
rbmWebViewEnum:
99979999
description: |-
9998-
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW`
10000+
Defines the layout of the WebView on a mobile device. It must be defined
10001+
when application is set to `WEBVIEW` and must not be set when application
10002+
is set to `BROWSER`.
999910003
- `FULL` WebView takes the full screen.
1000010004
- `HALF` WebView takes half of the screen.
1000110005
- `TALL` WebView takes three-quarters of the screen.
@@ -10063,12 +10067,14 @@ components:
1006310067
- $ref: '#/components/schemas/rbmActionBase'
1006410068
- properties:
1006510069
latitude:
10066-
description: The latitude of the location.
10070+
description: "The latitude of the location. Must be in range [-90.000000,\
10071+
\ 90.000000]."
1006710072
example: "37.7749"
1006810073
format: double
1006910074
type: string
1007010075
longitude:
10071-
description: The longitude of the location.
10076+
description: "The longitude of the location. Must be in range [-180.000000,\
10077+
\ 180.000000]."
1007210078
example: "-122.4194"
1007310079
format: double
1007410080
type: string
@@ -10092,12 +10098,14 @@ components:
1009210098
maxLength: 100
1009310099
type: string
1009410100
startTime:
10095-
description: The start time of the event.
10101+
description: "The start time of the event. Must be a valid RFC-3339 value,\
10102+
\ e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00."
1009610103
example: 2022-09-14T18:20:16Z
1009710104
format: date-time
1009810105
type: string
1009910106
endTime:
10100-
description: The end time of the event.
10107+
description: "The end time of the event. Must be a valid RFC-3339 value,\
10108+
\ e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00."
1010110109
example: 2022-09-14T18:20:16Z
1010210110
format: date-time
1010310111
type: string
@@ -10117,7 +10125,8 @@ components:
1011710125
- $ref: '#/components/schemas/rbmActionBase'
1011810126
- properties:
1011910127
url:
10120-
description: The URL to open in browser.
10128+
description: The URL to open in browser. Must use http:// or https://
10129+
scheme.
1012110130
example: https://dev.bandwidth.com
1012210131
format: uri
1012310132
maxLength: 2048

bandwidth.yml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2436,6 +2436,7 @@ components:
24362436
- media
24372437
rbmCardContent:
24382438
type: object
2439+
description: Must contain at least one of title, description, or media to be valid.
24392440
properties:
24402441
title:
24412442
type: string
@@ -2478,7 +2479,6 @@ components:
24782479
$ref: '#/components/schemas/multiChannelFullActions'
24792480
required:
24802481
- orientation
2481-
- thumbnailImageAlignment
24822482
- cardContent
24832483
standaloneCardOrientationEnum:
24842484
type: string
@@ -2489,8 +2489,8 @@ components:
24892489
thumbnailAlignmentEnum:
24902490
type: string
24912491
description: >-
2492-
The alignment of the thumbnail image in the card. Only applicable if the
2493-
card using horizontal orientation.
2492+
The alignment of the thumbnail image in the card. Required when
2493+
orientation is HORIZONTAL.
24942494
enum:
24952495
- LEFT
24962496
- RIGHT
@@ -2505,6 +2505,7 @@ components:
25052505
type: array
25062506
items:
25072507
$ref: '#/components/schemas/rbmCardContent'
2508+
minItems: 2
25082509
maxItems: 10
25092510
suggestions:
25102511
$ref: '#/components/schemas/multiChannelFullActions'
@@ -2568,7 +2569,11 @@ components:
25682569
type: string
25692570
description: >-
25702571
Defines the layout of the WebView on a mobile device. It must be defined
2571-
when application is set to `WEBVIEW`
2572+
2573+
when application is set to `WEBVIEW` and must not be set when
2574+
application
2575+
2576+
is set to `BROWSER`.
25722577
25732578
- `FULL` WebView takes the full screen.
25742579
@@ -2626,12 +2631,16 @@ components:
26262631
latitude:
26272632
type: string
26282633
format: double
2629-
description: The latitude of the location.
2634+
description: >-
2635+
The latitude of the location. Must be in range [-90.000000,
2636+
90.000000].
26302637
example: '37.7749'
26312638
longitude:
26322639
type: string
26332640
format: double
2634-
description: The longitude of the location.
2641+
description: >-
2642+
The longitude of the location. Must be in range [-180.000000,
2643+
180.000000].
26352644
example: '-122.4194'
26362645
label:
26372646
type: string
@@ -2655,12 +2664,16 @@ components:
26552664
startTime:
26562665
type: string
26572666
format: date-time
2658-
description: The start time of the event.
2667+
description: >-
2668+
The start time of the event. Must be a valid RFC-3339 value,
2669+
e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
26592670
example: 2022-09-14T18:20:16.000Z
26602671
endTime:
26612672
type: string
26622673
format: date-time
2663-
description: The end time of the event.
2674+
description: >-
2675+
The end time of the event. Must be a valid RFC-3339 value, e.g.,
2676+
2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00.
26642677
example: 2022-09-14T18:20:16.000Z
26652678
description:
26662679
type: string
@@ -2680,7 +2693,7 @@ components:
26802693
url:
26812694
type: string
26822695
format: uri
2683-
description: The URL to open in browser.
2696+
description: The URL to open in browser. Must use http:// or https:// scheme.
26842697
example: https://dev.bandwidth.com
26852698
maxLength: 2048
26862699
application:

docs/MultiChannelAction.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
88
**Text** | **string** | Displayed text for user to click |
99
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
1010
**PhoneNumber** | **string** | The phone number to dial. Must be E164 format. |
11-
**Latitude** | **double** | The latitude of the location. |
12-
**Longitude** | **double** | The longitude of the location. |
11+
**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
12+
**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
1313
**Label** | **string** | The label of the location. | [optional]
1414
**Title** | **string** | The title of the event. |
15-
**StartTime** | **DateTime** | The start time of the event. |
16-
**EndTime** | **DateTime** | The end time of the event. |
15+
**StartTime** | **DateTime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
16+
**EndTime** | **DateTime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
1717
**Description** | **string** | The description of the event. | [optional]
18-
**Url** | **string** | The URL to open in browser. |
18+
**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
1919
**Application** | **RbmOpenUrlEnum** | | [optional]
2020
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]
2121

docs/MultiChannelActionCalendarEvent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
88
**Text** | **string** | Displayed text for user to click |
99
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
1010
**Title** | **string** | The title of the event. |
11-
**StartTime** | **DateTime** | The start time of the event. |
12-
**EndTime** | **DateTime** | The end time of the event. |
11+
**StartTime** | **DateTime** | The start time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
12+
**EndTime** | **DateTime** | The end time of the event. Must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. |
1313
**Description** | **string** | The description of the event. | [optional]
1414

1515
[[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/MultiChannelChannelListRBMObjectAllOfContent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
1010
**Media** | [**List&lt;RbmMessageContentFile&gt;**](RbmMessageContentFile.md) | |
1111
**Orientation** | **StandaloneCardOrientationEnum** | |
12-
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
12+
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
1313
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
1414
**CardWidth** | **CardWidthEnum** | |
1515
**CardContents** | [**List&lt;RbmCardContent&gt;**](RbmCardContent.md) | |

docs/RbmActionOpenUrl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**Type** | **RbmActionTypeEnum** | |
88
**Text** | **string** | Displayed text for user to click |
99
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
10-
**Url** | **string** | The URL to open in browser. |
10+
**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
1111
**Application** | **RbmOpenUrlEnum** | | [optional]
1212
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]
1313

docs/RbmActionViewLocation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
77
**Type** | **RbmActionTypeEnum** | |
88
**Text** | **string** | Displayed text for user to click |
99
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
10-
**Latitude** | **double** | The latitude of the location. |
11-
**Longitude** | **double** | The longitude of the location. |
10+
**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
11+
**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
1212
**Label** | **string** | The label of the location. | [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)

docs/RbmCardContent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Bandwidth.Standard.Model.RbmCardContent
2+
Must contain at least one of title, description, or media to be valid.
23

34
## Properties
45

docs/RbmMessageContentRichCard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**Orientation** | **StandaloneCardOrientationEnum** | |
8-
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
8+
**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
99
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
1010
**Suggestions** | [**List&lt;MultiChannelAction&gt;**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
1111
**CardWidth** | **CardWidthEnum** | |

0 commit comments

Comments
 (0)