Skip to content

Commit

Permalink
fix: ignore TimeToLive during serialization when default
Browse files Browse the repository at this point in the history
  • Loading branch information
Tr00d committed Aug 7, 2024
1 parent 5848ec8 commit f206f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Vonage/Messages/Sms/SmsMessageRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class SmsRequest : MessageRequestBase
/// </summary>
[JsonPropertyName("ttl")]
[JsonPropertyOrder(8)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public int TimeToLive { get; set; }

/// <summary>
Expand Down

0 comments on commit f206f50

Please sign in to comment.