diff --git a/api/openapi.yaml b/api/openapi.yaml
index 5f8c70d..d28cd44 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -9322,6 +9322,7 @@ components:
messageLength:
description: The length of the message content.
example: 18
+ nullable: true
type: integer
attachmentCount:
description: The number of attachments the message has.
diff --git a/bandwidth.yml b/bandwidth.yml
index 350b621..d7cebd2 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -2031,6 +2031,7 @@ components:
messageLength:
type: integer
description: The length of the message content.
+ nullable: true
example: 18
attachmentCount:
type: integer
diff --git a/docs/ListMessageItem.md b/docs/ListMessageItem.md
index ae9ae8f..1577cc8 100644
--- a/docs/ListMessageItem.md
+++ b/docs/ListMessageItem.md
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
**ReceiveTime** | **DateTime** | The ISO 8601 datetime of the message. | [optional]
**CarrierName** | **string** | The name of the carrier. Not currently supported for MMS coming soon. | [optional]
**MessageSize** | **int?** | The size of the message including message content and headers. | [optional]
-**MessageLength** | **int** | The length of the message content. | [optional]
+**MessageLength** | **int?** | The length of the message content. | [optional]
**AttachmentCount** | **int?** | The number of attachments the message has. | [optional]
**RecipientCount** | **int?** | The number of recipients the message has. | [optional]
**CampaignClass** | **string** | The campaign class of the message if it has one. | [optional]
diff --git a/src/Bandwidth.Standard/Model/ListMessageItem.cs b/src/Bandwidth.Standard/Model/ListMessageItem.cs
index 21fedf0..010d242 100644
--- a/src/Bandwidth.Standard/Model/ListMessageItem.cs
+++ b/src/Bandwidth.Standard/Model/ListMessageItem.cs
@@ -76,7 +76,7 @@ public partial class ListMessageItem : IValidatableObject
/// The A3 country code of the called number..
/// The messaging product associated with the message..
/// The location ID associated with this message..
- public ListMessageItem(string messageId = default(string), string accountId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), MessageTypeEnum? messageType = default(MessageTypeEnum?), int segmentCount = default(int), int errorCode = default(int), DateTime receiveTime = default(DateTime), string carrierName = default(string), int? messageSize = default(int?), int messageLength = default(int), int? attachmentCount = default(int?), int? recipientCount = default(int?), string campaignClass = default(string), string campaignId = default(string), int? bwLatency = default(int?), int? carrierLatency = default(int?), string callingNumberCountryA3 = default(string), string calledNumberCountryA3 = default(string), string product = default(string), string location = default(string))
+ public ListMessageItem(string messageId = default(string), string accountId = default(string), string sourceTn = default(string), string destinationTn = default(string), MessageStatusEnum? messageStatus = default(MessageStatusEnum?), ListMessageDirectionEnum? messageDirection = default(ListMessageDirectionEnum?), MessageTypeEnum? messageType = default(MessageTypeEnum?), int segmentCount = default(int), int errorCode = default(int), DateTime receiveTime = default(DateTime), string carrierName = default(string), int? messageSize = default(int?), int? messageLength = default(int?), int? attachmentCount = default(int?), int? recipientCount = default(int?), string campaignClass = default(string), string campaignId = default(string), int? bwLatency = default(int?), int? carrierLatency = default(int?), string callingNumberCountryA3 = default(string), string calledNumberCountryA3 = default(string), string product = default(string), string location = default(string))
{
this.MessageId = messageId;
this.AccountId = accountId;
@@ -180,8 +180,8 @@ public partial class ListMessageItem : IValidatableObject
///
/// The length of the message content.
/// 18
- [DataMember(Name = "messageLength", EmitDefaultValue = false)]
- public int MessageLength { get; set; }
+ [DataMember(Name = "messageLength", EmitDefaultValue = true)]
+ public int? MessageLength { get; set; }
///
/// The number of attachments the message has.