-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EN-130 - Add schedules to content item variant
- Loading branch information
1 parent
24e60b5
commit 1110bce
Showing
11 changed files
with
118 additions
and
4 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
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
34 changes: 34 additions & 0 deletions
34
Kontent.Ai.Management/Models/Publishing/ScheduleResponseModel.cs
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
using Newtonsoft.Json; | ||
using System; | ||
|
||
namespace Kontent.Ai.Management.Models.Publishing; | ||
|
||
/// <summary> | ||
/// Represents the schedule model. | ||
/// </summary> | ||
public class ScheduleResponseModel | ||
{ | ||
/// <summary> | ||
/// Gets or sets ISO-8601 formatted date-time for scheduled publishing. | ||
/// </summary> | ||
[JsonProperty("publish_time")] | ||
public DateTime? PublishTime { get; set; } | ||
|
||
/// <summary> | ||
/// IANA time zone name used to display time offset of the scheduled publish date in the UI. | ||
/// </summary> | ||
[JsonProperty("publish_display_timezone")] | ||
public string PublishDisplayTimeZone { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets ISO-8601 formatted date-time for scheduled unpublishing. | ||
/// </summary> | ||
[JsonProperty("unpublish_time")] | ||
public DateTime? UnpublishTime { get; set; } | ||
|
||
/// <summary> | ||
/// IANA time zone name used to display time offset of the scheduled unpublish date in the UI. | ||
/// </summary> | ||
[JsonProperty("unpublish_display_timezone")] | ||
public string UnpublishDisplayTimeZone { get; set; } | ||
} |
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