-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
1,499 additions
and
1,547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/usr/bin/env pwsh | ||
$originalLocation = Get-Location | ||
|
||
function Remove-EntirePath() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
namespace Twilio.AspNet.Common | ||
namespace Twilio.AspNet.Common; | ||
|
||
/// <summary> | ||
/// This class can be used as the parameter on your SMS action. Incoming parameters will be bound here. | ||
/// </summary> | ||
/// <remarks>https://www.twilio.com/docs/messaging/guides/webhook-request</remarks> | ||
public class SmsRequest : TwilioRequest | ||
{ | ||
/// <summary> | ||
/// This class can be used as the parameter on your SMS action. Incoming parameters will be bound here. | ||
/// A 34 character unique identifier for the message. May be used to later retrieve this message from the REST API. | ||
/// </summary> | ||
/// <remarks>https://www.twilio.com/docs/messaging/guides/webhook-request</remarks> | ||
public class SmsRequest : TwilioRequest | ||
{ | ||
/// <summary> | ||
/// A 34 character unique identifier for the message. May be used to later retrieve this message from the REST API. | ||
/// </summary> | ||
public string MessageSid { get; set; } | ||
|
||
/// <summary> | ||
/// Same value as MessageSid. Deprecated and included for backward compatibility. | ||
/// </summary> | ||
public string SmsSid { get; set; } | ||
public string MessageSid { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// Same value as MessageSid. Deprecated and included for backward compatibility. | ||
/// </summary> | ||
[Obsolete("Use MessageSid instead")] | ||
public string SmsSid { get; set; }= null!; | ||
|
||
/// <summary> | ||
/// The text body of the SMS message. Up to 160 characters long | ||
/// </summary> | ||
public string Body { get; set; } | ||
/// <summary> | ||
/// The text body of the SMS message. Up to 160 characters long | ||
/// </summary> | ||
public string Body { get; set; }= null!; | ||
|
||
/// <summary> | ||
/// The status of the message | ||
/// </summary> | ||
public string MessageStatus { get; set; } | ||
/// <summary> | ||
/// The status of the message | ||
/// </summary> | ||
public string MessageStatus { get; set; }= null!; | ||
|
||
/// <summary> | ||
/// The message OptOut type | ||
/// </summary> | ||
public string OptOutType { get; set; } | ||
/// <summary> | ||
/// The message OptOut type | ||
/// </summary> | ||
public string? OptOutType { get; set; } | ||
|
||
/// <summary> | ||
/// A unique identifier of the messaging service | ||
/// </summary> | ||
public string MessagingServiceSid { get; set; } | ||
|
||
/// <summary> | ||
/// The number of media items associated with your message | ||
/// </summary> | ||
public int NumMedia { get; set; } | ||
/// <summary> | ||
/// A unique identifier of the messaging service | ||
/// </summary> | ||
public string? MessagingServiceSid { get; set; } | ||
|
||
/// <summary> | ||
/// The number of media items associated with a "Click to WhatsApp" advertisement. | ||
/// </summary> | ||
public int ReferralNumMedia { get; set; } | ||
/// <summary> | ||
/// The number of media items associated with your message | ||
/// </summary> | ||
public int NumMedia { get; set; } | ||
|
||
/// <summary> | ||
/// The number of media files associated with the Message resource | ||
/// </summary> | ||
public int NumSegments { get; set; } | ||
} | ||
/// <summary> | ||
/// The number of media items associated with a "Click to WhatsApp" advertisement. | ||
/// </summary> | ||
public int ReferralNumMedia { get; set; } | ||
|
||
/// <summary> | ||
/// The number of media files associated with the Message resource | ||
/// </summary> | ||
public int NumSegments { get; set; } | ||
|
||
} |
Oops, something went wrong.