Skip to content

Commit 116d33f

Browse files
author
childish-sambino
authored
breaking: Correct video composition date and callback types (#494)
1 parent ba7c4f9 commit 116d33f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Twilio/Rest/Video/V1/CompositionHookResource.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ public static CompositionHookResource FromJson(string json)
595595
/// The ISO 8601 date and time in GMT when the resource was last updated
596596
/// </summary>
597597
[JsonProperty("date_updated")]
598-
public string DateUpdated { get; private set; }
598+
public DateTime? DateUpdated { get; private set; }
599599
/// <summary>
600600
/// The unique string that identifies the resource
601601
/// </summary>
@@ -636,7 +636,7 @@ public static CompositionHookResource FromJson(string json)
636636
/// The URL to send status information to your application
637637
/// </summary>
638638
[JsonProperty("status_callback")]
639-
public string StatusCallback { get; private set; }
639+
public Uri StatusCallback { get; private set; }
640640
/// <summary>
641641
/// The HTTP method we should use to call status_callback
642642
/// </summary>

src/Twilio/Rest/Video/V1/CompositionResource.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,12 @@ public static CompositionResource FromJson(string json)
481481
/// Date when the media processing task finished
482482
/// </summary>
483483
[JsonProperty("date_completed")]
484-
public string DateCompleted { get; private set; }
484+
public DateTime? DateCompleted { get; private set; }
485485
/// <summary>
486486
/// The ISO 8601 date and time in GMT when the composition generated media was deleted
487487
/// </summary>
488488
[JsonProperty("date_deleted")]
489-
public string DateDeleted { get; private set; }
489+
public DateTime? DateDeleted { get; private set; }
490490
/// <summary>
491491
/// The unique string that identifies the resource
492492
/// </summary>

0 commit comments

Comments
 (0)