diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index dab502a..c9aa8a3 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0213CF75-AC44-4279-B991-A8ED63FD9803}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {28C13A04-5CB0-4AAA-B6F3-16A3A8496C30}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 77f3127..6eb2de0 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -9861,6 +9861,8 @@ components:
title: RBM Media
type: object
rbmCardContent:
+ description: "Must contain at least one of title, description, or media to be\
+ \ valid."
properties:
title:
description: The title of the card. Must be 200 characters or less.
@@ -9899,7 +9901,6 @@ components:
required:
- cardContent
- orientation
- - thumbnailImageAlignment
title: Standalone Card
type: object
standaloneCardOrientationEnum:
@@ -9909,8 +9910,8 @@ components:
example: VERTICAL
type: string
thumbnailAlignmentEnum:
- description: The alignment of the thumbnail image in the card. Only applicable
- if the card using horizontal orientation.
+ description: The alignment of the thumbnail image in the card. Required when
+ orientation is HORIZONTAL.
enum:
- LEFT
- RIGHT
@@ -9924,6 +9925,7 @@ components:
items:
$ref: '#/components/schemas/rbmCardContent'
maxItems: 10
+ minItems: 2
type: array
suggestions:
description: An array of suggested actions for the recipient.
@@ -9995,7 +9997,9 @@ components:
type: string
rbmWebViewEnum:
description: |-
- Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW`
+ Defines the layout of the WebView on a mobile device. It must be defined
+ when application is set to `WEBVIEW` and must not be set when application
+ is set to `BROWSER`.
- `FULL` WebView takes the full screen.
- `HALF` WebView takes half of the screen.
- `TALL` WebView takes three-quarters of the screen.
@@ -10063,12 +10067,14 @@ components:
- $ref: '#/components/schemas/rbmActionBase'
- properties:
latitude:
- description: The latitude of the location.
+ description: "The latitude of the location. Must be in range [-90.000000,\
+ \ 90.000000]."
example: "37.7749"
format: double
type: string
longitude:
- description: The longitude of the location.
+ description: "The longitude of the location. Must be in range [-180.000000,\
+ \ 180.000000]."
example: "-122.4194"
format: double
type: string
@@ -10092,12 +10098,14 @@ components:
maxLength: 100
type: string
startTime:
- description: The start time of the event.
+ description: "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."
example: 2022-09-14T18:20:16Z
format: date-time
type: string
endTime:
- description: The end time of the event.
+ description: "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."
example: 2022-09-14T18:20:16Z
format: date-time
type: string
@@ -10117,7 +10125,8 @@ components:
- $ref: '#/components/schemas/rbmActionBase'
- properties:
url:
- description: The URL to open in browser.
+ description: The URL to open in browser. Must use http:// or https://
+ scheme.
example: https://dev.bandwidth.com
format: uri
maxLength: 2048
diff --git a/bandwidth.yml b/bandwidth.yml
index 84e00b3..5927a5e 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -2436,6 +2436,7 @@ components:
- media
rbmCardContent:
type: object
+ description: Must contain at least one of title, description, or media to be valid.
properties:
title:
type: string
@@ -2478,7 +2479,6 @@ components:
$ref: '#/components/schemas/multiChannelFullActions'
required:
- orientation
- - thumbnailImageAlignment
- cardContent
standaloneCardOrientationEnum:
type: string
@@ -2489,8 +2489,8 @@ components:
thumbnailAlignmentEnum:
type: string
description: >-
- The alignment of the thumbnail image in the card. Only applicable if the
- card using horizontal orientation.
+ The alignment of the thumbnail image in the card. Required when
+ orientation is HORIZONTAL.
enum:
- LEFT
- RIGHT
@@ -2505,6 +2505,7 @@ components:
type: array
items:
$ref: '#/components/schemas/rbmCardContent'
+ minItems: 2
maxItems: 10
suggestions:
$ref: '#/components/schemas/multiChannelFullActions'
@@ -2568,7 +2569,11 @@ components:
type: string
description: >-
Defines the layout of the WebView on a mobile device. It must be defined
- when application is set to `WEBVIEW`
+
+ when application is set to `WEBVIEW` and must not be set when
+ application
+
+ is set to `BROWSER`.
- `FULL` WebView takes the full screen.
@@ -2626,12 +2631,16 @@ components:
latitude:
type: string
format: double
- description: The latitude of the location.
+ description: >-
+ The latitude of the location. Must be in range [-90.000000,
+ 90.000000].
example: '37.7749'
longitude:
type: string
format: double
- description: The longitude of the location.
+ description: >-
+ The longitude of the location. Must be in range [-180.000000,
+ 180.000000].
example: '-122.4194'
label:
type: string
@@ -2655,12 +2664,16 @@ components:
startTime:
type: string
format: date-time
- description: The start time of the event.
+ description: >-
+ 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.
example: 2022-09-14T18:20:16.000Z
endTime:
type: string
format: date-time
- description: The end time of the event.
+ description: >-
+ 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.
example: 2022-09-14T18:20:16.000Z
description:
type: string
@@ -2680,7 +2693,7 @@ components:
url:
type: string
format: uri
- description: The URL to open in browser.
+ description: The URL to open in browser. Must use http:// or https:// scheme.
example: https://dev.bandwidth.com
maxLength: 2048
application:
diff --git a/docs/MultiChannelAction.md b/docs/MultiChannelAction.md
index fd6ebbf..83f3b1d 100644
--- a/docs/MultiChannelAction.md
+++ b/docs/MultiChannelAction.md
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**PhoneNumber** | **string** | The phone number to dial. Must be E164 format. |
-**Latitude** | **double** | The latitude of the location. |
-**Longitude** | **double** | The longitude of the location. |
+**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
+**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
**Label** | **string** | The label of the location. | [optional]
**Title** | **string** | The title of the event. |
-**StartTime** | **DateTime** | The start time of the event. |
-**EndTime** | **DateTime** | The end time of the event. |
+**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. |
+**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. |
**Description** | **string** | The description of the event. | [optional]
-**Url** | **string** | The URL to open in browser. |
+**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
**Application** | **RbmOpenUrlEnum** | | [optional]
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]
diff --git a/docs/MultiChannelActionCalendarEvent.md b/docs/MultiChannelActionCalendarEvent.md
index 31b28d1..26d7b33 100644
--- a/docs/MultiChannelActionCalendarEvent.md
+++ b/docs/MultiChannelActionCalendarEvent.md
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
**Title** | **string** | The title of the event. |
-**StartTime** | **DateTime** | The start time of the event. |
-**EndTime** | **DateTime** | The end time of the event. |
+**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. |
+**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. |
**Description** | **string** | The description of the event. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/MultiChannelChannelListRBMObjectAllOfContent.md b/docs/MultiChannelChannelListRBMObjectAllOfContent.md
index 74015b4..c425d83 100644
--- a/docs/MultiChannelChannelListRBMObjectAllOfContent.md
+++ b/docs/MultiChannelChannelListRBMObjectAllOfContent.md
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
**Media** | [**List<RbmMessageContentFile>**](RbmMessageContentFile.md) | |
**Orientation** | **StandaloneCardOrientationEnum** | |
-**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
+**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**CardWidth** | **CardWidthEnum** | |
**CardContents** | [**List<RbmCardContent>**](RbmCardContent.md) | |
diff --git a/docs/RbmActionOpenUrl.md b/docs/RbmActionOpenUrl.md
index 8abc0e3..e201ae7 100644
--- a/docs/RbmActionOpenUrl.md
+++ b/docs/RbmActionOpenUrl.md
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Type** | **RbmActionTypeEnum** | |
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
-**Url** | **string** | The URL to open in browser. |
+**Url** | **string** | The URL to open in browser. Must use http:// or https:// scheme. |
**Application** | **RbmOpenUrlEnum** | | [optional]
**WebviewViewMode** | **RbmWebViewEnum** | | [optional]
diff --git a/docs/RbmActionViewLocation.md b/docs/RbmActionViewLocation.md
index f61ad96..44cb3c3 100644
--- a/docs/RbmActionViewLocation.md
+++ b/docs/RbmActionViewLocation.md
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
**Type** | **RbmActionTypeEnum** | |
**Text** | **string** | Displayed text for user to click |
**PostbackData** | **byte[]** | Base64 payload the customer receives when the reply is clicked. |
-**Latitude** | **double** | The latitude of the location. |
-**Longitude** | **double** | The longitude of the location. |
+**Latitude** | **double** | The latitude of the location. Must be in range [-90.000000, 90.000000]. |
+**Longitude** | **double** | The longitude of the location. Must be in range [-180.000000, 180.000000]. |
**Label** | **string** | The label of the location. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/RbmCardContent.md b/docs/RbmCardContent.md
index aa4980d..6172fee 100644
--- a/docs/RbmCardContent.md
+++ b/docs/RbmCardContent.md
@@ -1,4 +1,5 @@
# Bandwidth.Standard.Model.RbmCardContent
+Must contain at least one of title, description, or media to be valid.
## Properties
diff --git a/docs/RbmMessageContentRichCard.md b/docs/RbmMessageContentRichCard.md
index d0d4e6e..5a86b94 100644
--- a/docs/RbmMessageContentRichCard.md
+++ b/docs/RbmMessageContentRichCard.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Orientation** | **StandaloneCardOrientationEnum** | |
-**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
+**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
**CardWidth** | **CardWidthEnum** | |
diff --git a/docs/RbmStandaloneCard.md b/docs/RbmStandaloneCard.md
index 5a9128c..8e41511 100644
--- a/docs/RbmStandaloneCard.md
+++ b/docs/RbmStandaloneCard.md
@@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Orientation** | **StandaloneCardOrientationEnum** | |
-**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | |
+**ThumbnailImageAlignment** | **ThumbnailAlignmentEnum** | | [optional]
**CardContent** | [**RbmCardContent**](RbmCardContent.md) | |
**Suggestions** | [**List<MultiChannelAction>**](MultiChannelAction.md) | An array of suggested actions for the recipient. | [optional]
diff --git a/docs/RbmWebViewEnum.md b/docs/RbmWebViewEnum.md
index c59b3be..39c23d9 100644
--- a/docs/RbmWebViewEnum.md
+++ b/docs/RbmWebViewEnum.md
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.RbmWebViewEnum
-Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
+Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
## Properties
diff --git a/docs/ThumbnailAlignmentEnum.md b/docs/ThumbnailAlignmentEnum.md
index 7271c90..17d70f4 100644
--- a/docs/ThumbnailAlignmentEnum.md
+++ b/docs/ThumbnailAlignmentEnum.md
@@ -1,5 +1,5 @@
# Bandwidth.Standard.Model.ThumbnailAlignmentEnum
-The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation.
+The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL.
## Properties
diff --git a/src/Bandwidth.Standard/Model/MultiChannelActionCalendarEvent.cs b/src/Bandwidth.Standard/Model/MultiChannelActionCalendarEvent.cs
index 1fc1664..f8ecd05 100644
--- a/src/Bandwidth.Standard/Model/MultiChannelActionCalendarEvent.cs
+++ b/src/Bandwidth.Standard/Model/MultiChannelActionCalendarEvent.cs
@@ -50,8 +50,8 @@ protected MultiChannelActionCalendarEvent() { }
/// Displayed text for user to click (required).
/// Base64 payload the customer receives when the reply is clicked. (required).
/// The title of the event. (required).
- /// The start time of the event. (required).
- /// The end time of the event. (required).
+ /// 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. (required).
+ /// 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. (required).
/// The description of the event..
public MultiChannelActionCalendarEvent(RbmActionTypeEnum type = default(RbmActionTypeEnum), string text = default(string), byte[] postbackData = default(byte[]), string title = default(string), DateTime startTime = default(DateTime), DateTime endTime = default(DateTime), string description = default(string))
{
@@ -104,17 +104,17 @@ protected MultiChannelActionCalendarEvent() { }
public string Title { get; set; }
///
- /// The start time of the event.
+ /// 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.
///
- /// The start time of the event.
+ /// 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.
/// 2022-09-14T18:20:16Z
[DataMember(Name = "startTime", IsRequired = true, EmitDefaultValue = true)]
public DateTime StartTime { get; set; }
///
- /// The end time of the event.
+ /// 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.
///
- /// The end time of the event.
+ /// 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.
/// 2022-09-14T18:20:16Z
[DataMember(Name = "endTime", IsRequired = true, EmitDefaultValue = true)]
public DateTime EndTime { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmActionBase.cs b/src/Bandwidth.Standard/Model/RbmActionBase.cs
index 5c3e89a..f661470 100644
--- a/src/Bandwidth.Standard/Model/RbmActionBase.cs
+++ b/src/Bandwidth.Standard/Model/RbmActionBase.cs
@@ -78,7 +78,7 @@ protected RbmActionBase() { }
/// Base64 payload the customer receives when the reply is clicked.
///
/// Base64 payload the customer receives when the reply is clicked.
- /// [B@6a9ac8b
+ /// [B@18356951
[DataMember(Name = "postbackData", IsRequired = true, EmitDefaultValue = true)]
public byte[] PostbackData { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs b/src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs
index e44a20a..5ec3240 100644
--- a/src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs
+++ b/src/Bandwidth.Standard/Model/RbmActionOpenUrl.cs
@@ -61,7 +61,7 @@ protected RbmActionOpenUrl() { }
/// type (required).
/// Displayed text for user to click (required).
/// Base64 payload the customer receives when the reply is clicked. (required).
- /// The URL to open in browser. (required).
+ /// The URL to open in browser. Must use http:// or https:// scheme. (required).
/// application.
/// webviewViewMode.
public RbmActionOpenUrl(RbmActionTypeEnum type = default(RbmActionTypeEnum), string text = default(string), byte[] postbackData = default(byte[]), string url = default(string), RbmOpenUrlEnum? application = default(RbmOpenUrlEnum?), RbmWebViewEnum? webviewViewMode = default(RbmWebViewEnum?))
@@ -106,9 +106,9 @@ protected RbmActionOpenUrl() { }
public byte[] PostbackData { get; set; }
///
- /// The URL to open in browser.
+ /// The URL to open in browser. Must use http:// or https:// scheme.
///
- /// The URL to open in browser.
+ /// The URL to open in browser. Must use http:// or https:// scheme.
/// https://dev.bandwidth.com
[DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)]
public string Url { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmActionViewLocation.cs b/src/Bandwidth.Standard/Model/RbmActionViewLocation.cs
index 5b59ae7..2904742 100644
--- a/src/Bandwidth.Standard/Model/RbmActionViewLocation.cs
+++ b/src/Bandwidth.Standard/Model/RbmActionViewLocation.cs
@@ -49,8 +49,8 @@ protected RbmActionViewLocation() { }
/// type (required).
/// Displayed text for user to click (required).
/// Base64 payload the customer receives when the reply is clicked. (required).
- /// The latitude of the location. (required).
- /// The longitude of the location. (required).
+ /// The latitude of the location. Must be in range [-90.000000, 90.000000]. (required).
+ /// The longitude of the location. Must be in range [-180.000000, 180.000000]. (required).
/// The label of the location..
public RbmActionViewLocation(RbmActionTypeEnum type = default(RbmActionTypeEnum), string text = default(string), byte[] postbackData = default(byte[]), double latitude = default(double), double longitude = default(double), string label = default(string))
{
@@ -89,17 +89,17 @@ protected RbmActionViewLocation() { }
public byte[] PostbackData { get; set; }
///
- /// The latitude of the location.
+ /// The latitude of the location. Must be in range [-90.000000, 90.000000].
///
- /// The latitude of the location.
+ /// The latitude of the location. Must be in range [-90.000000, 90.000000].
/// 37.7749
[DataMember(Name = "latitude", IsRequired = true, EmitDefaultValue = true)]
public double Latitude { get; set; }
///
- /// The longitude of the location.
+ /// The longitude of the location. Must be in range [-180.000000, 180.000000].
///
- /// The longitude of the location.
+ /// The longitude of the location. Must be in range [-180.000000, 180.000000].
/// -122.4194
[DataMember(Name = "longitude", IsRequired = true, EmitDefaultValue = true)]
public double Longitude { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmCardContent.cs b/src/Bandwidth.Standard/Model/RbmCardContent.cs
index 0faaa5c..9d1e073 100644
--- a/src/Bandwidth.Standard/Model/RbmCardContent.cs
+++ b/src/Bandwidth.Standard/Model/RbmCardContent.cs
@@ -27,7 +27,7 @@
namespace Bandwidth.Standard.Model
{
///
- /// RbmCardContent
+ /// Must contain at least one of title, description, or media to be valid.
///
[DataContract(Name = "rbmCardContent")]
public partial class RbmCardContent : IValidatableObject
diff --git a/src/Bandwidth.Standard/Model/RbmStandaloneCard.cs b/src/Bandwidth.Standard/Model/RbmStandaloneCard.cs
index 0109627..724a5f4 100644
--- a/src/Bandwidth.Standard/Model/RbmStandaloneCard.cs
+++ b/src/Bandwidth.Standard/Model/RbmStandaloneCard.cs
@@ -42,8 +42,8 @@ public partial class RbmStandaloneCard : IValidatableObject
///
/// Gets or Sets ThumbnailImageAlignment
///
- [DataMember(Name = "thumbnailImageAlignment", IsRequired = true, EmitDefaultValue = true)]
- public ThumbnailAlignmentEnum ThumbnailImageAlignment { get; set; }
+ [DataMember(Name = "thumbnailImageAlignment", EmitDefaultValue = false)]
+ public ThumbnailAlignmentEnum? ThumbnailImageAlignment { get; set; }
///
/// Initializes a new instance of the class.
///
@@ -53,19 +53,19 @@ protected RbmStandaloneCard() { }
/// Initializes a new instance of the class.
///
/// orientation (required).
- /// thumbnailImageAlignment (required).
+ /// thumbnailImageAlignment.
/// cardContent (required).
/// An array of suggested actions for the recipient..
- public RbmStandaloneCard(StandaloneCardOrientationEnum orientation = default(StandaloneCardOrientationEnum), ThumbnailAlignmentEnum thumbnailImageAlignment = default(ThumbnailAlignmentEnum), RbmCardContent cardContent = default(RbmCardContent), List suggestions = default(List))
+ public RbmStandaloneCard(StandaloneCardOrientationEnum orientation = default(StandaloneCardOrientationEnum), ThumbnailAlignmentEnum? thumbnailImageAlignment = default(ThumbnailAlignmentEnum?), RbmCardContent cardContent = default(RbmCardContent), List suggestions = default(List))
{
this.Orientation = orientation;
- this.ThumbnailImageAlignment = thumbnailImageAlignment;
// to ensure "cardContent" is required (not null)
if (cardContent == null)
{
throw new ArgumentNullException("cardContent is a required property for RbmStandaloneCard and cannot be null");
}
this.CardContent = cardContent;
+ this.ThumbnailImageAlignment = thumbnailImageAlignment;
this.Suggestions = suggestions;
}
diff --git a/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs b/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
index f6f0a77..b45605a 100644
--- a/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
+++ b/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
@@ -55,7 +55,7 @@ public partial class RbmSuggestionResponse : IValidatableObject
/// Base64 payload the customer receives when the reply is clicked.
///
/// Base64 payload the customer receives when the reply is clicked.
- /// [B@6a9ac8b
+ /// [B@18356951
[DataMember(Name = "postbackData", EmitDefaultValue = false)]
public byte[] PostbackData { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmWebViewEnum.cs b/src/Bandwidth.Standard/Model/RbmWebViewEnum.cs
index e082dd9..04be2ba 100644
--- a/src/Bandwidth.Standard/Model/RbmWebViewEnum.cs
+++ b/src/Bandwidth.Standard/Model/RbmWebViewEnum.cs
@@ -27,9 +27,9 @@
namespace Bandwidth.Standard.Model
{
///
- /// Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
+ /// Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
///
- /// Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
+ /// Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` and must not be set when application is set to `BROWSER`. - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
[JsonConverter(typeof(StringEnumConverter))]
public enum RbmWebViewEnum
{
diff --git a/src/Bandwidth.Standard/Model/ThumbnailAlignmentEnum.cs b/src/Bandwidth.Standard/Model/ThumbnailAlignmentEnum.cs
index 96dfc89..1916bef 100644
--- a/src/Bandwidth.Standard/Model/ThumbnailAlignmentEnum.cs
+++ b/src/Bandwidth.Standard/Model/ThumbnailAlignmentEnum.cs
@@ -27,9 +27,9 @@
namespace Bandwidth.Standard.Model
{
///
- /// The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation.
+ /// The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL.
///
- /// The alignment of the thumbnail image in the card. Only applicable if the card using horizontal orientation.
+ /// The alignment of the thumbnail image in the card. Required when orientation is HORIZONTAL.
[JsonConverter(typeof(StringEnumConverter))]
public enum ThumbnailAlignmentEnum
{