-
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.
- Loading branch information
1 parent
fa3ae84
commit 8644a10
Showing
13 changed files
with
172 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Info | ||
|
||
This folder is ment to be for creating code camples. This should help to create code samples that are compilable. | ||
This folder is ment to be for creating code samples. This should help to create code samples that are compilable. | ||
|
||
Once the code sample are bing merged here, update also code samples sources => https://github.com/KenticoDocs/kontent-docs-samples/tree/master/net |
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
17 changes: 17 additions & 0 deletions
17
Kontent.Ai.Management/Models/Webhooks/Triggers/ContentType/ContentTypeFiltersModel.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,17 @@ | ||
using Kontent.Ai.Management.Models.Shared; | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
|
||
namespace Kontent.Ai.Management.Models.Webhooks.Triggers.ContentType; | ||
|
||
/// <summary> | ||
/// Represents the content type filters model. | ||
/// </summary> | ||
public class ContentTypeFiltersModel | ||
{ | ||
/// <summary> | ||
/// References to content types | ||
/// </summary> | ||
[JsonProperty("content_types")] | ||
public IEnumerable<Reference> ContentTypes { 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
17 changes: 17 additions & 0 deletions
17
Kontent.Ai.Management/Models/Webhooks/Triggers/Language/LanguageFiltersModel.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,17 @@ | ||
using Kontent.Ai.Management.Models.Shared; | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
|
||
namespace Kontent.Ai.Management.Models.Webhooks.Triggers.Language; | ||
|
||
/// <summary> | ||
/// Represents the language filters model. | ||
/// </summary> | ||
public class LanguageFiltersModel | ||
{ | ||
/// <summary> | ||
/// References to languages | ||
/// </summary> | ||
[JsonProperty("languages")] | ||
public IEnumerable<Reference> Languages { 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
17 changes: 17 additions & 0 deletions
17
Kontent.Ai.Management/Models/Webhooks/Triggers/Taxonomy/TaxonomyFiltersModel.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,17 @@ | ||
using Kontent.Ai.Management.Models.Shared; | ||
using Newtonsoft.Json; | ||
using System.Collections.Generic; | ||
|
||
namespace Kontent.Ai.Management.Models.Webhooks.Triggers.Taxonomy; | ||
|
||
/// <summary> | ||
/// Represents the taxonomy filters model. | ||
/// </summary> | ||
public class TaxonomyFiltersModel | ||
{ | ||
/// <summary> | ||
/// References to taxonomies | ||
/// </summary> | ||
[JsonProperty("taxonomies")] | ||
public IEnumerable<Reference> Taxonomies { 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