Skip to content

Commit

Permalink
EN-125 Fix naming of DueDateResponseModel
Browse files Browse the repository at this point in the history
  • Loading branch information
František Záhora authored and pokornyd committed Apr 8, 2024
1 parent 2422546 commit 12e7d1e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private static List<LanguageVariantModel<ComplexTestModel>> GetExpectedComplexTe
UnpublishDisplayTimeZone = "Europe/Prague"
};

private static DueDateResponseModel GetExpectedDueDateModel() =>
private static DueDateModel GetExpectedDueDateModel() =>
new() { Value = DateTimeOffset.Parse("2092-01-07T06:04:00.7069564Z").UtcDateTime };

private class CombinationOfIdentifiersAndUrl : IEnumerable<object[]>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Kontent.Ai.Management.Models.LanguageVariants;
/// <summary>
/// Represents due date model.
/// </summary>
public class DueDateResponseModel
public class DueDateModel
{
/// <summary>
/// Gets or sets ISO-8601 formatted date-time for due date.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ public sealed class LanguageVariantModel
/// Gets or sets due date.
/// </summary>
[JsonProperty("due_date")]
public DueDateResponseModel DueDate { get; set; }
public DueDateModel DueDate { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ namespace Kontent.Ai.Management.Models.StronglyTyped;
/// Gets or sets due date.
/// </summary>
[JsonProperty("due_date")]
public DueDateResponseModel DueDate { get; set; }
public DueDateModel DueDate { get; set; }
}

0 comments on commit 12e7d1e

Please sign in to comment.