Skip to content

Commit

Permalink
breaking: Correct video composition date and callback types (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
childish-sambino authored Oct 7, 2019
1 parent ba7c4f9 commit 116d33f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Video/V1/CompositionHookResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ public static CompositionHookResource FromJson(string json)
/// The ISO 8601 date and time in GMT when the resource was last updated
/// </summary>
[JsonProperty("date_updated")]
public string DateUpdated { get; private set; }
public DateTime? DateUpdated { get; private set; }
/// <summary>
/// The unique string that identifies the resource
/// </summary>
Expand Down Expand Up @@ -636,7 +636,7 @@ public static CompositionHookResource FromJson(string json)
/// The URL to send status information to your application
/// </summary>
[JsonProperty("status_callback")]
public string StatusCallback { get; private set; }
public Uri StatusCallback { get; private set; }
/// <summary>
/// The HTTP method we should use to call status_callback
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Video/V1/CompositionResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,12 @@ public static CompositionResource FromJson(string json)
/// Date when the media processing task finished
/// </summary>
[JsonProperty("date_completed")]
public string DateCompleted { get; private set; }
public DateTime? DateCompleted { get; private set; }
/// <summary>
/// The ISO 8601 date and time in GMT when the composition generated media was deleted
/// </summary>
[JsonProperty("date_deleted")]
public string DateDeleted { get; private set; }
public DateTime? DateDeleted { get; private set; }
/// <summary>
/// The unique string that identifies the resource
/// </summary>
Expand Down

0 comments on commit 116d33f

Please sign in to comment.