-
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-199 Add options for selecting entities to copy when cloning enviro…
…nment
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 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
21 changes: 21 additions & 0 deletions
21
Kontent.Ai.Management/Models/Environments/CopyDataOptions.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,21 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace Kontent.Ai.Management.Models.Environments; | ||
|
||
/// <summary> | ||
/// Represents options for copying entities | ||
/// </summary> | ||
public class CopyDataOptions | ||
{ | ||
/// <summary> | ||
/// Gets or sets an option to copy content items and assets. | ||
/// </summary> | ||
[JsonProperty("content_items_assets")] | ||
public bool ContentItemsAssets { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets an option to copy version history of content items. | ||
/// </summary> | ||
[JsonProperty("content_item_version_history")] | ||
public bool ContentItemVersionHistory { 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