diff --git a/java/get-content/getting_content_filter_items.java b/java/get-content/getting_content_filter_items.java index 64c9490a..87172463 100644 --- a/java/get-content/getting_content_filter_items.java +++ b/java/get-content/getting_content_filter_items.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types // Registers the model class for articles client.registerType(Article.class); diff --git a/java/get-content/getting_content_order_items.java b/java/get-content/getting_content_order_items.java index 0435e49c..af6efd64 100644 --- a/java/get-content/getting_content_order_items.java +++ b/java/get-content/getting_content_order_items.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types // Registers the model class for articles client.registerType(Article.class); diff --git a/java/get-localized-content/getting_localized_content_language.java b/java/get-localized-content/getting_localized_content_language.java index a98c1abe..c7334f1c 100644 --- a/java/get-localized-content/getting_localized_content_language.java +++ b/java/get-localized-content/getting_localized_content_language.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types // Registers the model class for articles client.registerType(Article.class); diff --git a/java/get-localized-content/getting_localized_content_url_slug.java b/java/get-localized-content/getting_localized_content_url_slug.java index 163c8bfe..09923a22 100644 --- a/java/get-localized-content/getting_localized_content_url_slug.java +++ b/java/get-localized-content/getting_localized_content_url_slug.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types // Registers the model class for articles client.registerType(Article.class); diff --git a/java/preview-content/preview_content_get_article.java b/java/preview-content/preview_content_get_article.java index 983d5145..81b4f681 100644 --- a/java/preview-content/preview_content_get_article.java +++ b/java/preview-content/preview_content_get_article.java @@ -10,7 +10,7 @@ .build(); ); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models // Registers the model class for articles client.registerType(Article.class); diff --git a/java/retrieve-linked-content/linked_content_author_model.java b/java/retrieve-linked-content/linked_content_author_model.java index daaa4c63..1c209ca1 100644 --- a/java/retrieve-linked-content/linked_content_author_model.java +++ b/java/retrieve-linked-content/linked_content_author_model.java @@ -1,4 +1,4 @@ -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models import java.lang.String; import java.util.List; diff --git a/java/retrieve-linked-content/linked_content_get_article_with_author.java b/java/retrieve-linked-content/linked_content_get_article_with_author.java index d17e41ac..47537c73 100644 --- a/java/retrieve-linked-content/linked_content_get_article_with_author.java +++ b/java/retrieve-linked-content/linked_content_get_article_with_author.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models // Registers the model class for simple articles client.registerType(SimpleArticle.class); diff --git a/java/retrieve-linked-content/linked_content_get_page_with_subpages.java b/java/retrieve-linked-content/linked_content_get_page_with_subpages.java index 97e43b28..ca8e70ad 100644 --- a/java/retrieve-linked-content/linked_content_get_page_with_subpages.java +++ b/java/retrieve-linked-content/linked_content_get_page_with_subpages.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient(""); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models // Registers the model class for articles client.registerType(Page.class); diff --git a/java/retrieve-linked-content/linked_content_simple_article_model.java b/java/retrieve-linked-content/linked_content_simple_article_model.java index e1a76030..d0054f44 100644 --- a/java/retrieve-linked-content/linked_content_simple_article_model.java +++ b/java/retrieve-linked-content/linked_content_simple_article_model.java @@ -1,4 +1,4 @@ -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models import java.lang.String; import java.util.List; diff --git a/java/strongly-typed-models/strongly_typed_models_retrieve.java b/java/strongly-typed-models/strongly_typed_models_retrieve.java index d543158b..e31ea337 100644 --- a/java/strongly-typed-models/strongly_typed_models_retrieve.java +++ b/java/strongly-typed-models/strongly_typed_models_retrieve.java @@ -4,7 +4,7 @@ // Initializes a DeliveryClient DeliveryClient client = new DeliveryClient("8d20758c-d74c-4f59-ae04-ee928c0816b7"); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models // Registers the model class for navigation items client.registerType(Homepage.class); diff --git a/net/delivery-api/delivery_api_get_item.cs b/net/delivery-api/delivery_api_get_item.cs index b3248365..284860fa 100644 --- a/net/delivery-api/delivery_api_get_item.cs +++ b/net/delivery-api/delivery_api_get_item.cs @@ -7,7 +7,7 @@ .Build(); // Gets specific elements of an article -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse
response = await client.GetItemAsync
("my_article"); Article item = response.Item; diff --git a/net/get-content/getting_content_filter_items.cs b/net/get-content/getting_content_filter_items.cs index a7691670..44524d97 100644 --- a/net/get-content/getting_content_filter_items.cs +++ b/net/get-content/getting_content_filter_items.cs @@ -7,7 +7,7 @@ .Build(); // Gets all articles -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemListingResponse
response = await client.GetItemsAsync
( new EqualsFilter("system.type", "article") ); diff --git a/net/get-content/getting_content_order_items.cs b/net/get-content/getting_content_order_items.cs index bd218a43..0b2257d7 100644 --- a/net/get-content/getting_content_order_items.cs +++ b/net/get-content/getting_content_order_items.cs @@ -7,7 +7,7 @@ .Build(); // Gets the 3 latest articles ordered by their last modified time -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemListingResponse
response = await client.GetItemsAsync
( new EqualsFilter("system.type", "article"), new LimitParameter(3), diff --git a/net/preview-content/preview_content_get_article.cs b/net/preview-content/preview_content_get_article.cs index 46e8fb29..71824db3 100644 --- a/net/preview-content/preview_content_get_article.cs +++ b/net/preview-content/preview_content_get_article.cs @@ -10,7 +10,7 @@ .Build(); // Gets the latest version of a content item -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse
response = await client.GetItemAsync
("my_article"); Article item = response.Item; diff --git a/net/retrieve-linked-content/linked_content_author_model.cs b/net/retrieve-linked-content/linked_content_author_model.cs index 538de069..ddf2d8fd 100644 --- a/net/retrieve-linked-content/linked_content_author_model.cs +++ b/net/retrieve-linked-content/linked_content_author_model.cs @@ -1,4 +1,4 @@ -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types using System; using System.Collections.Generic; diff --git a/net/retrieve-linked-content/linked_content_get_article_with_author.cs b/net/retrieve-linked-content/linked_content_get_article_with_author.cs index 78491d2a..b4b87947 100644 --- a/net/retrieve-linked-content/linked_content_get_article_with_author.cs +++ b/net/retrieve-linked-content/linked_content_get_article_with_author.cs @@ -7,7 +7,7 @@ .Build(); // Gets a specific article and its linked items -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse response = await client.GetItemAsync("the_origin_of_coffee", new DepthParameter(1) ); diff --git a/net/retrieve-linked-content/linked_content_get_page_with_subpages.cs b/net/retrieve-linked-content/linked_content_get_page_with_subpages.cs index 6ef09ed2..838dcf5b 100644 --- a/net/retrieve-linked-content/linked_content_get_page_with_subpages.cs +++ b/net/retrieve-linked-content/linked_content_get_page_with_subpages.cs @@ -7,7 +7,7 @@ .Build(); // Gets a specific page, its subpages, and linked items -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse response = await client.GetItemAsync("insurance_listing", new DepthParameter(1) ); diff --git a/net/retrieve-linked-content/linked_content_simple_article_model.cs b/net/retrieve-linked-content/linked_content_simple_article_model.cs index 245b34ff..f94a5a80 100644 --- a/net/retrieve-linked-content/linked_content_simple_article_model.cs +++ b/net/retrieve-linked-content/linked_content_simple_article_model.cs @@ -1,4 +1,4 @@ -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types using System; using System.Collections.Generic; diff --git a/net/secure-public-access/securing_public_access_get_article.cs b/net/secure-public-access/securing_public_access_get_article.cs index acd271fa..bad80270 100644 --- a/net/secure-public-access/securing_public_access_get_article.cs +++ b/net/secure-public-access/securing_public_access_get_article.cs @@ -10,7 +10,7 @@ .Build(); // Gets a specific content item -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse
response = await client.GetItemAsync
("my_article"); Article item = response.Item; diff --git a/net/using-webhooks/using_webhooks_get_latest_content.cs b/net/using-webhooks/using_webhooks_get_latest_content.cs index 16c8b2a2..f1a0640c 100644 --- a/net/using-webhooks/using_webhooks_get_latest_content.cs +++ b/net/using-webhooks/using_webhooks_get_latest_content.cs @@ -11,7 +11,7 @@ .Build(); // Gets a content item -// Create strongly typed models according to https://kontent.ai/learn/net-strong-types +// Tip: Create strongly typed models according to https://kontent.ai/learn/net-strong-types IDeliveryItemResponse
response = await client.GetItemAsync
("my_article"); Article item = response.Item; diff --git a/ts/delivery-api/delivery_api_get_item.ts b/ts/delivery-api/delivery_api_get_item.ts index 8e50783e..c01241ec 100644 --- a/ts/delivery-api/delivery_api_get_item.ts +++ b/ts/delivery-api/delivery_api_get_item.ts @@ -13,6 +13,6 @@ export type Article = IContentItem<{ related_articles: Article[]; }>; -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models const response = await deliveryClient.item
('my_article') .toPromise(); diff --git a/ts/delivery-api/delivery_api_get_item_preview.ts b/ts/delivery-api/delivery_api_get_item_preview.ts index 33f1c80e..e6145f1d 100644 --- a/ts/delivery-api/delivery_api_get_item_preview.ts +++ b/ts/delivery-api/delivery_api_get_item_preview.ts @@ -1,7 +1,7 @@ // Tip: Find more about JS/TS SDKs at https://kontent.ai/learn/javascript import { IContentItem, createDeliveryClient, Elements } from '@kontent-ai/delivery-sdk'; -// Create strongly typed models according to https://kontent.ai/learn/tutorials/develop-apps/get-content/using-strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/tutorials/develop-apps/get-content/using-strongly-typed-models export type Article = IContentItem<{ title: Elements.TextElement; summary: Elements.RichTextElement; diff --git a/ts/retrieve-linked-content/linked_content_author_model.ts b/ts/retrieve-linked-content/linked_content_author_model.ts index 54247175..e3c4ddad 100644 --- a/ts/retrieve-linked-content/linked_content_author_model.ts +++ b/ts/retrieve-linked-content/linked_content_author_model.ts @@ -1,4 +1,4 @@ -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models import { IContentItem, Elements } from '@kontent-ai/delivery-sdk'; export type Author = IContentItem<{ diff --git a/ts/retrieve-linked-content/linked_content_simple_article_model.ts b/ts/retrieve-linked-content/linked_content_simple_article_model.ts index f8082c30..243887f3 100644 --- a/ts/retrieve-linked-content/linked_content_simple_article_model.ts +++ b/ts/retrieve-linked-content/linked_content_simple_article_model.ts @@ -2,7 +2,7 @@ import { IContentItem, Elements } from '@kontent-ai/delivery-sdk'; import { Author } from './models/author'; -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models export type SimpleArticle = IContentItem<{ title: Elements.TextElement; body: Elements.RichTextElement; diff --git a/ts/secure-public-access/securing_public_access_get_article.ts b/ts/secure-public-access/securing_public_access_get_article.ts index cf81a246..875791e7 100644 --- a/ts/secure-public-access/securing_public_access_get_article.ts +++ b/ts/secure-public-access/securing_public_access_get_article.ts @@ -1,7 +1,7 @@ // Tip: Find more about JS/TS SDKs at https://kontent.ai/learn/javascript import { IContentItem, createDeliveryClient, Elements } from '@kontent-ai/delivery-sdk'; -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models export type Article = IContentItem<{ title: Elements.TextElement; summary: Elements.TextElement; diff --git a/ts/structure-in-rte/structure_in_rte_resolve_links_to_items.ts b/ts/structure-in-rte/structure_in_rte_resolve_links_to_items.ts index 975a244c..de185ed7 100644 --- a/ts/structure-in-rte/structure_in_rte_resolve_links_to_items.ts +++ b/ts/structure-in-rte/structure_in_rte_resolve_links_to_items.ts @@ -6,7 +6,7 @@ const deliveryClient = createDeliveryClient({ environmentId: '' }); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models export type Article = IContentItem<{ title: Elements.TextElement; body: Elements.RichTextElement; diff --git a/ts/structure-in-rte/structure_in_rte_resolve_tweet.ts b/ts/structure-in-rte/structure_in_rte_resolve_tweet.ts index 2caa0b11..6521d1c0 100644 --- a/ts/structure-in-rte/structure_in_rte_resolve_tweet.ts +++ b/ts/structure-in-rte/structure_in_rte_resolve_tweet.ts @@ -5,7 +5,7 @@ const deliveryClient = createDeliveryClient({ environmentId: '' }); -// Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models +// Tip: Create strongly typed models according to https://kontent.ai/learn/strongly-typed-models export type Article = IContentItem<{ title: Elements.TextElement; body: Elements.RichTextElement;