Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,7 @@ components:
messageLength:
type: integer
description: The length of the message content.
nullable: true
example: 18
attachmentCount:
type: integer
Expand Down
2 changes: 1 addition & 1 deletion docs/ListMessageItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions src/Bandwidth.Standard/Model/ListMessageItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public partial class ListMessageItem : IValidatableObject
/// <param name="calledNumberCountryA3">The A3 country code of the called number..</param>
/// <param name="product">The messaging product associated with the message..</param>
/// <param name="location">The location ID associated with this message..</param>
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;
Expand Down Expand Up @@ -180,8 +180,8 @@ public partial class ListMessageItem : IValidatableObject
/// </summary>
/// <value>The length of the message content.</value>
/// <example>18</example>
[DataMember(Name = "messageLength", EmitDefaultValue = false)]
public int MessageLength { get; set; }
[DataMember(Name = "messageLength", EmitDefaultValue = true)]
public int? MessageLength { get; set; }

/// <summary>
/// The number of attachments the message has.
Expand Down
Loading