diff --git a/CHANGELOG.md b/CHANGELOG.md index 72557e9..e367ddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [v0.1.12](https://github.com/contentstack/contentstack-management-dotnet/tree/v0.1.12) + - Fix + - Fix the Delivery Token URL + - Made the Summary More Readable + ## [v0.1.11](https://github.com/contentstack/contentstack-management-dotnet/tree/v0.1.11) - Feat - Add support for custom Http client and IHttpClientFactory diff --git a/Contentstack.Management.ASPNETCore/LICENSE.txt b/Contentstack.Management.ASPNETCore/LICENSE.txt index 3333caa..501f936 100644 --- a/Contentstack.Management.ASPNETCore/LICENSE.txt +++ b/Contentstack.Management.ASPNETCore/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright © 2012-2024 Contentstack. All Rights Reserved +Copyright © 2012-2025 Contentstack. All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Contentstack.Management.ASPNETCore/contentstack.management.aspnetcore.csproj b/Contentstack.Management.ASPNETCore/contentstack.management.aspnetcore.csproj index 1d31ba9..679d686 100644 --- a/Contentstack.Management.ASPNETCore/contentstack.management.aspnetcore.csproj +++ b/Contentstack.Management.ASPNETCore/contentstack.management.aspnetcore.csproj @@ -5,7 +5,7 @@ contentstack.management.aspnetcore $(Version) Contentstack - Copyright © 2012-2024 Contentstack. All Rights Reserved + Copyright © 2012-2025 Contentstack. All Rights Reserved Contentstack https://github.com/contentstack/contentstack-management-dotnet Initial Release @@ -15,7 +15,7 @@ .NET SDK for the Contentstack Content Management API. LICENSE.txt v$(Version) - 0.1.3 + $(Version) Contentstack.Management.ASPNETCore diff --git a/Contentstack.Management.Core.Unit.Tests/Models/DeliveryTokenTest.cs b/Contentstack.Management.Core.Unit.Tests/Models/DeliveryTokenTest.cs new file mode 100644 index 0000000..40dd87c --- /dev/null +++ b/Contentstack.Management.Core.Unit.Tests/Models/DeliveryTokenTest.cs @@ -0,0 +1,133 @@ +using System; +using System.Threading.Tasks; +using AutoFixture; +using Contentstack.Management.Core.Models; +using Contentstack.Management.Core.Models.Token; +using Contentstack.Management.Core.Queryable; +using Contentstack.Management.Core.Unit.Tests.Mokes; +using Microsoft.VisualStudio.TestTools.UnitTesting; + +namespace Contentstack.Management.Core.Unit.Tests.Models +{ + [TestClass] + public class DeliveryTokenTest + { + private Stack _stack; + private readonly IFixture _fixture = new Fixture(); + private ContentstackResponse _contentstackResponse; + + [TestInitialize] + public void initialize() + { + var client = new ContentstackClient(); + _contentstackResponse = MockResponse.CreateContentstackResponse("MockResponse.txt"); + client.ContentstackPipeline.ReplaceHandler(new MockHttpHandler(_contentstackResponse)); + client.contentstackOptions.Authtoken = _fixture.Create(); + _stack = new Stack(client, _fixture.Create()); + } + + [TestMethod] + public void Initialize_DeliveryToken() + { + DeliveryToken token = new DeliveryToken(_stack); + Assert.IsNull(token.Uid); + Assert.AreEqual("stacks/delivery_tokens", token.resourcePath); + Assert.ThrowsException(() => token.Fetch()); + Assert.ThrowsExceptionAsync(() => token.FetchAsync()); + Assert.ThrowsException(() => token.Update(_fixture.Create())); + Assert.ThrowsExceptionAsync(() => token.UpdateAsync(_fixture.Create())); + Assert.ThrowsException(() => token.Delete()); + Assert.ThrowsExceptionAsync(() => token.DeleteAsync()); + Assert.AreEqual(token.Query().GetType(), typeof(Query)); + } + + [TestMethod] + public void Initialize_DeliveryToken_With_Uid() + { + string uid = _fixture.Create(); + DeliveryToken token = new DeliveryToken(_stack, uid); + Assert.AreEqual(uid, token.Uid); + Assert.AreEqual($"stacks/delivery_tokens/{uid}", token.resourcePath); + } + + [TestMethod] + public void Should_Create_DeliveryToken() + { + ContentstackResponse response = _stack.DeliveryToken().Create(_fixture.Create()); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public async Task Should_Create_DeliveryToken_Async() + { + ContentstackResponse response = await _stack.DeliveryToken().CreateAsync(_fixture.Create()); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public void Should_Query_DeliveryToken() + { + ContentstackResponse response = _stack.DeliveryToken().Query().Find(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public async Task Should_Query_DeliveryToken_Async() + { + ContentstackResponse response = await _stack.DeliveryToken().Query().FindAsync(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public void Should_Fetch_DeliveryToken() + { + ContentstackResponse response = _stack.DeliveryToken(_fixture.Create()).Fetch(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public async Task Should_Fetch_DeliveryToken_Async() + { + ContentstackResponse response = await _stack.DeliveryToken(_fixture.Create()).FetchAsync(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public void Should_Update_DeliveryToken() + { + ContentstackResponse response = _stack.DeliveryToken(_fixture.Create()).Update(_fixture.Create()); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public async Task Should_Update_DeliveryToken_Async() + { + ContentstackResponse response = await _stack.DeliveryToken(_fixture.Create()).UpdateAsync(_fixture.Create()); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public void Should_Delete_DeliveryToken() + { + ContentstackResponse response = _stack.DeliveryToken(_fixture.Create()).Delete(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + + [TestMethod] + public async Task Should_Delete_DeliveryToken_Async() + { + ContentstackResponse response = await _stack.DeliveryToken(_fixture.Create()).DeleteAsync(); + Assert.AreEqual(_contentstackResponse.OpenResponse(), response.OpenResponse()); + Assert.AreEqual(_contentstackResponse.OpenJObjectResponse().ToString(), response.OpenJObjectResponse().ToString()); + } + } +} diff --git a/Contentstack.Management.Core/ContentstackClient.cs b/Contentstack.Management.Core/ContentstackClient.cs index 5e4bb42..aac5aae 100644 --- a/Contentstack.Management.Core/ContentstackClient.cs +++ b/Contentstack.Management.Core/ContentstackClient.cs @@ -35,7 +35,7 @@ public class ContentstackClient : IContentstackClient private HttpClient _httpClient; private bool _disposed = false; - private string Version => "0.1.11"; + private string Version => "0.1.12"; private string xUserAgent => $"contentstack-management-dotnet/{Version}"; #endregion @@ -59,10 +59,10 @@ public class ContentstackClient : IContentstackClient ///

         /// var options = new ContentstackClientOptions()
         /// {
-        ///       Host = "<API_HOST>",
-        ///       Authtoken = "<AUTHTOKEN>"
+        ///       Host = "",
+        ///       Authtoken = ""
         /// }
-        /// ContentstackClient client = new ContentstackClient(new OptionsWrapper<ContentstackClientOptions>(options));
+        /// ContentstackClient client = new ContentstackClient(new OptionsWrapper(options));
         /// 
/// public ContentstackClient(IOptions contentstackOptions) @@ -116,7 +116,7 @@ public ContentstackClient(ContentstackClientOptions contentstackOptions) : /// Credentials to use with a proxy. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// 
///
public ContentstackClient( @@ -283,7 +283,7 @@ private void ThrowIfDisposed() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// User user = client.User();
         /// 
///
@@ -300,8 +300,8 @@ public User User() /// Organization uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// 
///
/// The . @@ -318,8 +318,8 @@ public Organization Organization(string uid = null) /// Stack Management token /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack Stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack Stack = client.Stack("");
         /// 
///
/// The . @@ -336,8 +336,8 @@ public Stack Stack(string apiKey = null, string managementToken = null, string b /// The optional 2FA token. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// NetworkCredential credentials = new NetworkCredential("<EMAIL>", "<PASSWORD>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// NetworkCredential credentials = new NetworkCredential("", "");
         /// ContentstackResponse contentstackResponse = client.Login(credentials);
         /// 
///
@@ -357,8 +357,8 @@ public ContentstackResponse Login(ICredentials credentials, string token = null) /// The optional 2FA token. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// NetworkCredential credentials = new NetworkCredential("<EMAIL>", "<PASSWORD>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// NetworkCredential credentials = new NetworkCredential("", "");
         /// ContentstackResponse contentstackResponse = await client.LoginAsync(credentials);
         /// 
///
@@ -398,7 +398,7 @@ internal void ThrowIfNotLoggedIn() /// The optional authroken in case user want to logout. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = client.Logout();
         /// 
///
@@ -416,7 +416,7 @@ public ContentstackResponse Logout(string authtoken = null) /// The optional authroken in case user want to logout. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = await client.LogoutAsync();
         /// 
///
@@ -435,7 +435,7 @@ public Task LogoutAsync(string authtoken = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = client.GetUser();
         /// 
///
@@ -454,7 +454,7 @@ public ContentstackResponse GetUser(ParameterCollection collection = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = await client.GetUserAsync();
         /// 
///
diff --git a/Contentstack.Management.Core/LICENSE.txt b/Contentstack.Management.Core/LICENSE.txt index 3333caa..501f936 100644 --- a/Contentstack.Management.Core/LICENSE.txt +++ b/Contentstack.Management.Core/LICENSE.txt @@ -1,6 +1,6 @@ MIT License -Copyright © 2012-2024 Contentstack. All Rights Reserved +Copyright © 2012-2025 Contentstack. All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Contentstack.Management.Core/Models/Asset.cs b/Contentstack.Management.Core/Models/Asset.cs index f84fb29..b7a0eb0 100644 --- a/Contentstack.Management.Core/Models/Asset.cs +++ b/Contentstack.Management.Core/Models/Asset.cs @@ -26,8 +26,8 @@ internal Asset(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Query().Find();
         /// 
///
/// The @@ -43,8 +43,8 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Folder().Create();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Folder().Create();
         /// 
///
/// The @@ -59,8 +59,8 @@ public Folder Folder(string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Version().GetAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Version().GetAll();
         /// 
///
/// The @@ -76,9 +76,9 @@ public Version Version(int? versionNumber = null) /// Query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Create(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Create(model);
         /// 
///
/// The . @@ -97,9 +97,9 @@ public virtual ContentstackResponse Create(AssetModel model, ParameterCollection /// Query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset().CreateAsync(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset().CreateAsync(model);
         /// 
///
/// The Task. @@ -119,9 +119,9 @@ public virtual Task CreateAsync(AssetModel model, Paramete /// Query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Update(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Update(model);
         /// 
///
/// The . @@ -140,9 +140,9 @@ public virtual ContentstackResponse Update(AssetModel model, ParameterCollection /// Query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").UpdateAsync(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// AssetModel model = new AssetModel("ASSET_NAME", "FILE_PATH", "FILE_CONTENT_TYPE");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").UpdateAsync(model);
         /// 
///
/// The . @@ -161,8 +161,8 @@ public virtual Task UpdateAsync(AssetModel model, Paramete /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Fetch();
         /// 
///
/// The . @@ -181,8 +181,8 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").FetchAsync();
         /// 
///
/// The . @@ -201,8 +201,8 @@ public virtual Task FetchAsync(ParameterCollection collect /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Delete();
         /// 
///
/// The . @@ -221,8 +221,8 @@ public virtual ContentstackResponse Delete() /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").DeleteAsync();
         /// 
///
/// The . @@ -241,8 +241,8 @@ public virtual Task DeleteAsync() /// Publish details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Publish(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Publish(new PublishUnpublishDetails());
         /// 
///
/// The . @@ -261,8 +261,8 @@ public virtual ContentstackResponse Publish(PublishUnpublishDetails details, str /// Publish details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").PublishAsync(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").PublishAsync(new PublishUnpublishDetails());
         /// 
///
/// The . @@ -281,8 +281,8 @@ public virtual Task PublishAsync(PublishUnpublishDetails d /// Publish details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").Unpublish(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").Unpublish(new PublishUnpublishDetails());
         /// 
///
/// The . @@ -301,8 +301,8 @@ public virtual ContentstackResponse Unpublish(PublishUnpublishDetails details, s /// Publish details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").UnpublishAsync(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").UnpublishAsync(new PublishUnpublishDetails());
         /// 
///
/// The . @@ -320,8 +320,8 @@ public virtual Task UnpublishAsync(PublishUnpublishDetails /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset("<ASSET_UID>").References();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset("").References();
         /// 
///
/// The . @@ -339,8 +339,8 @@ public virtual ContentstackResponse References(ParameterCollection collection = /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset("<ASSET_UID>").ReferencesAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset("").ReferencesAsync();
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Models/AuditLog.cs b/Contentstack.Management.Core/Models/AuditLog.cs index b70d46c..9d24b54 100644 --- a/Contentstack.Management.Core/Models/AuditLog.cs +++ b/Contentstack.Management.Core/Models/AuditLog.cs @@ -27,8 +27,8 @@ internal AuditLog(Stack stack, string uid = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").AuditLog().FindAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").AuditLog().FindAll();
         /// 
///
/// The . @@ -47,8 +47,8 @@ public virtual ContentstackResponse FindAll(ParameterCollection collection = nul /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").AuditLog().FindAllAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").AuditLog().FindAllAsync();
         /// 
///
/// The . @@ -67,8 +67,8 @@ public virtual Task FindAllAsync(ParameterCollection colle /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").AuditLog("<AUDITLOG_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").AuditLog("").Fetch();
         /// 
///
/// The . @@ -87,8 +87,8 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").AuditLog("<AUDITLOG_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").AuditLog("").FetchAsync();
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Models/ContentType.cs b/Contentstack.Management.Core/Models/ContentType.cs index 234e0b7..793fc16 100644 --- a/Contentstack.Management.Core/Models/ContentType.cs +++ b/Contentstack.Management.Core/Models/ContentType.cs @@ -16,8 +16,8 @@ internal ContentType(Stack stack, string uid) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType().Query().Find();
         /// 
///
/// The @@ -32,9 +32,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentTypeModel model = new ContentTypeModel(); // Add content type schema or fieldrules 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType().Create(model);
         /// 
///
/// IContentType for updating Content Type. @@ -49,9 +49,9 @@ public override ContentstackResponse Create(ContentModelling model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentTypeModel model = new ContentTypeModel(); // Add content type schema or fieldrules
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType().CreateAsync(model);
         /// 
///
/// IContentType for updating Content Type. @@ -66,9 +66,9 @@ public override Task CreateAsync(ContentModelling model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentTypeModel model = new ContentTypeModel(); // Add content type schema or fieldrules
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Update(model);
         /// 
///
/// IContentType for updating Content Type. @@ -83,9 +83,9 @@ public override ContentstackResponse Update(ContentModelling model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentTypeModel model = new ContentTypeModel(); // Add content type schema or fieldrules
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").UpdateAsync(model);
         /// 
///
/// IContentType for updating Content Type. @@ -100,8 +100,8 @@ public override Task UpdateAsync(ContentModelling model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Fetch();
         /// 
///
/// The . @@ -115,8 +115,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").FetchAsync();
         /// 
///
/// The Task. @@ -130,8 +130,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Delete();
         /// 
///
/// The . @@ -145,8 +145,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").DeleteAsync();
         /// 
///
/// The Task. @@ -160,13 +160,13 @@ public override Task DeleteAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry().Query().Find();
         /// 
/// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Fetch();
         /// 
///
/// Optional entry uid for performing entry specific operation diff --git a/Contentstack.Management.Core/Models/Entry.cs b/Contentstack.Management.Core/Models/Entry.cs index a57cbb3..eb06435 100644 --- a/Contentstack.Management.Core/Models/Entry.cs +++ b/Contentstack.Management.Core/Models/Entry.cs @@ -23,8 +23,8 @@ internal Entry(Stack stack, string contentTyppe, string uid) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry().Query().Find();
         /// 
///
/// The @@ -39,8 +39,8 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry().Version().GetAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry().Version().GetAll();
         /// 
///
/// The @@ -55,9 +55,9 @@ public Version Version(int? versionNumber = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry().Create(model);
         /// 
///
/// IEntry for createing Entry. @@ -72,9 +72,9 @@ public override ContentstackResponse Create(IEntry model, ParameterCollection co /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry().CreateAsync(model);
         /// 
///
/// IEntry for createing Entry. @@ -89,9 +89,9 @@ public override Task CreateAsync(IEntry model, ParameterCo /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Update(model);
         /// 
///
/// IEntry for updating entry. @@ -106,9 +106,9 @@ public override ContentstackResponse Update(IEntry model, ParameterCollection co /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").UpdateAsync(model);
         /// 
///
/// IEntry for updating entry. @@ -123,8 +123,8 @@ public override Task UpdateAsync(IEntry model, ParameterCo /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Fetch();
         /// 
///
/// The . @@ -138,8 +138,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").FetchAsync();
         /// 
///
/// The Task. @@ -153,8 +153,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Delete();
         /// 
///
/// The . @@ -168,8 +168,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").DeleteAsync();
         /// 
///
/// The Task. @@ -183,9 +183,9 @@ public override Task DeleteAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// List<string> locales = new List<string>(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").DeleteMultipleLocal(locales);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// List locales = new List(); 
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").DeleteMultipleLocal(locales);
         /// 
///
/// Enter the code of the language to unlocalize the entry of that particular language. @@ -207,9 +207,9 @@ public ContentstackResponse DeleteMultipleLocal(List locales) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// List<string> locales = new List<string>(); 
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").DeleteMultipleLocalAsync(locales);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// List locales = new List(); 
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").DeleteMultipleLocalAsync(locales);
         /// 
///
/// Enter the code of the language to unlocalize the entry of that particular language. @@ -231,9 +231,9 @@ public Task DeleteMultipleLocalAsync(List locales) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Localize(model, "hi-in");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Localize(model, "hi-in");
         /// 
///
/// Localized IEntry model. @@ -257,9 +257,9 @@ public ContentstackResponse Localize(IEntry model, string locale) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryModel model = new EntryModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").LocalizeAsync(model, "hi-in");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").LocalizeAsync(model, "hi-in");
         /// 
///
/// Localized IEntry model. @@ -283,8 +283,8 @@ public Task LocalizeAsync(IEntry model, string locale) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Unlocalize("hi-in");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Unlocalize("hi-in");
         /// 
///
/// Enter the code of the language to unlocalize the entry of that particular language. @@ -307,8 +307,8 @@ public ContentstackResponse Unlocalize(string locale) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").UnlocalizeAsync("hi-in");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").UnlocalizeAsync("hi-in");
         /// 
///
/// Enter the code of the language to unlocalize the entry of that particular language. @@ -331,8 +331,8 @@ public Task UnlocalizeAsync(string locale) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Locales();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Locales();
         /// 
///
/// The . @@ -350,8 +350,8 @@ public ContentstackResponse Locales() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").LocalesAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").LocalesAsync();
         /// 
///
/// The Task @@ -369,8 +369,8 @@ public Task LocalesAsync() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").References();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").References();
         /// 
///
/// The . @@ -388,8 +388,8 @@ public ContentstackResponse References(ParameterCollection collection = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").ReferencesAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").ReferencesAsync();
         /// 
///
/// The Task @@ -407,8 +407,8 @@ public Task ReferencesAsync(ParameterCollection collection /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Publish(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Publish(new PublishUnpublishDetails());
         /// 
///
/// Publish/Unpublish details. @@ -428,8 +428,8 @@ public virtual ContentstackResponse Publish(PublishUnpublishDetails details, str /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").PublishAsync(new PublishUnpublishDetails(), "en-us");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").PublishAsync(new PublishUnpublishDetails(), "en-us");
         /// 
///
/// Publish/Unpublish details. @@ -449,8 +449,8 @@ public virtual Task PublishAsync(PublishUnpublishDetails d /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Unpublish(new PublishUnpublishDetails());
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Unpublish(new PublishUnpublishDetails());
         /// 
///
/// Publish/Unpublish details. @@ -470,8 +470,8 @@ public virtual ContentstackResponse Unpublish(PublishUnpublishDetails details, s /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").UnpublishAsync(new PublishUnpublishDetails(), "en-us");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").UnpublishAsync(new PublishUnpublishDetails(), "en-us");
         /// 
///
/// Publish/Unpublish details. @@ -492,8 +492,8 @@ public virtual Task UnpublishAsync(PublishUnpublishDetails /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Import("PATH/TO/FILE");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Import("PATH/TO/FILE");
         /// 
///
/// Path to file you want to import @@ -516,8 +516,8 @@ public ContentstackResponse Import(string filePath, ParameterCollection collecti /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").ImportAsync("PATH/TO/FILE");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").ImportAsync("PATH/TO/FILE");
         /// 
///
/// Path to file you want to import @@ -539,8 +539,8 @@ public Task ImportAsync(string filePath, ParameterCollecti /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").Export("PATH/TO/FILE");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").Export("PATH/TO/FILE");
         /// 
///
/// Path to file you want to export entry. @@ -577,9 +577,9 @@ public ContentstackResponse Export(string filePath, ParameterCollection collecti /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryWorkflowStage model = new EntryWorkflowStage();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").SetWorkflow(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").SetWorkflow(model);
         /// 
///
/// object. @@ -602,9 +602,9 @@ public ContentstackResponse SetWorkflow(EntryWorkflowStage model, ParameterColle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryWorkflowStage model = new EntryWorkflowStage();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").SetWorkflowAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").SetWorkflowAsync(model);
         /// 
///
/// object. @@ -627,9 +627,9 @@ public Task SetWorkflowAsync(EntryWorkflowStage model, Par /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryPublishAction model = new EntryPublishAction();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").PublishRequest(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ContentType("").Entry("").PublishRequest(model);
         /// 
///
/// object. @@ -651,9 +651,9 @@ public ContentstackResponse PublishRequest(EntryPublishAction publishAction, Par /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EntryPublishAction model = new EntryPublishAction();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ContentType("<CONTENT_TYPE_UID>").Entry("<ENTRY_UID>").PublishRequestAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ContentType("").Entry("").PublishRequestAsync(model);
         /// 
///
/// object. diff --git a/Contentstack.Management.Core/Models/Environment.cs b/Contentstack.Management.Core/Models/Environment.cs index 36c6c02..df7ceb0 100644 --- a/Contentstack.Management.Core/Models/Environment.cs +++ b/Contentstack.Management.Core/Models/Environment.cs @@ -16,8 +16,8 @@ internal Environment(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Environment().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Environment().Query().Find();
         /// 
///
/// The @@ -32,9 +32,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EnvironmentModel model = new EnvironmentModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Environment().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Environment().Create(model);
         /// 
///
/// Environment Model for creating Environment. @@ -49,9 +49,9 @@ public override ContentstackResponse Create(EnvironmentModel model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EnvironmentModel model = new EnvironmentModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Environment().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Environment().CreateAsync(model);
         /// 
///
/// Environment Model for creating Environment. @@ -66,9 +66,9 @@ public override Task CreateAsync(EnvironmentModel model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EnvironmentModel model = new EnvironmentModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Environment("").Update(model);
         /// 
///
/// Environment Model for creating Environment. @@ -83,9 +83,9 @@ public override ContentstackResponse Update(EnvironmentModel model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// EnvironmentModel model = new EnvironmentModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Environment("").UpdateAsync(model);
         /// 
///
/// Environment Model for creating Environment. @@ -100,8 +100,8 @@ public override Task UpdateAsync(EnvironmentModel model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Environment("").Fetch();
         /// 
///
/// The . @@ -115,8 +115,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Environment("").FetchAsync();
         /// 
///
/// The Task. @@ -130,8 +130,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Environment("").Delete();
         /// 
///
/// The . @@ -145,8 +145,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Environment("<ENVIRONMENT_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Environment("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Extension.cs b/Contentstack.Management.Core/Models/Extension.cs index 249b1bb..d9c51e3 100644 --- a/Contentstack.Management.Core/Models/Extension.cs +++ b/Contentstack.Management.Core/Models/Extension.cs @@ -27,8 +27,8 @@ internal Extension(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension().Query().Find();
         /// 
///
/// The @@ -44,9 +44,9 @@ public Query Query() /// Model with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// CustomField model = new CustomField("FILE_PATH", "FILE_CONTENT_TYPE", "TITLE", "DATA_TYPE");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension().Upload(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// CustomField model = new CustomField("FILE_PATH", "FILE_CONTENT_TYPE", "TITLE", "DATA_TYPE");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension().Upload(model);
         /// 
///
/// The . @@ -64,9 +64,9 @@ public virtual ContentstackResponse Upload(IExtensionInterface model) /// with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// CustomFieldModel model = new CustomFieldModel("FILE_PATH", "FILE_CONTENT_TYPE", "TITLE", "DATA_TYPE");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Extension().UploadAsync(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// CustomFieldModel model = new CustomFieldModel("FILE_PATH", "FILE_CONTENT_TYPE", "TITLE", "DATA_TYPE");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Extension().UploadAsync(model);
         /// 
///
/// The Task. @@ -85,9 +85,9 @@ public virtual Task UploadAsync(IExtensionInterface model) /// with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ExtensionModel model = new ExtensionModel(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension().Create(model);
         /// 
///
/// The . @@ -105,9 +105,9 @@ public virtual ContentstackResponse Create(ExtensionModel model) /// with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ExtensionModel model = new ExtensionModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Extension().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Extension().CreateAsync(model);
         /// 
///
/// The Task. @@ -126,9 +126,9 @@ public virtual Task CreateAsync(ExtensionModel model) /// with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ExtensionModel model = new ExtensionModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension("").Update(model);
         /// 
///
/// The . @@ -146,9 +146,9 @@ public virtual ContentstackResponse Update(ExtensionModel model) /// with details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ExtensionModel model = new ExtensionModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Extension("").UpdateAsync(model);
         /// 
///
/// The . @@ -167,8 +167,8 @@ public virtual Task UpdateAsync(ExtensionModel model, Para /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension("").Fetch();
         /// 
///
/// The . @@ -187,8 +187,8 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Extension("").FetchAsync();
         /// 
///
/// The . @@ -207,8 +207,8 @@ public virtual Task FetchAsync(ParameterCollection collect /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Extension("").Delete();
         /// 
///
/// The . @@ -227,8 +227,8 @@ public virtual ContentstackResponse Delete() /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Extension("<EXTENSION_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Extension("").DeleteAsync();
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Models/Folder.cs b/Contentstack.Management.Core/Models/Folder.cs index 210615e..08de139 100644 --- a/Contentstack.Management.Core/Models/Folder.cs +++ b/Contentstack.Management.Core/Models/Folder.cs @@ -29,8 +29,8 @@ internal Folder(Stack stack, string uid = null) /// Parent Uid for folder to place this folder within another folder /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Folder().Create("<FOLDER_NAME>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Folder().Create("");
         /// 
///
/// The . @@ -49,8 +49,8 @@ public virtual ContentstackResponse Create(string name, string parentUid = null) /// Parent Uid for folder to place this folder within another folder /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset().Folder().CreateAsync("<FOLDER_NAME>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset().Folder().CreateAsync("");
         /// 
///
/// The Task. @@ -70,8 +70,8 @@ public virtual Task CreateAsync(string name, string parent /// Parent Uid for folder to place this folder within another folder /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").Update("<FOLDER_NAME>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Folder("").Update("");
         /// 
///
/// The . @@ -90,8 +90,8 @@ public virtual ContentstackResponse Update(string name, string parentUid = null) /// Parent Uid for folder to place this folder within another folder /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").UpdateAsync("<FOLDER_NAME>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset().Folder("").UpdateAsync("");
         /// 
///
/// The . @@ -110,8 +110,8 @@ public virtual Task UpdateAsync(string name, string parent /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").Fetch(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Folder("").Fetch(model);
         /// 
///
/// The . @@ -130,8 +130,8 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").FetchAsync(model);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset().Folder("").FetchAsync(model);
         /// 
///
/// The . @@ -150,8 +150,8 @@ public virtual Task FetchAsync(ParameterCollection collect /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Asset().Folder("").Delete();
         /// 
///
/// The . @@ -170,8 +170,8 @@ public virtual ContentstackResponse Delete() /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Asset().Folder("<ASSET_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Asset().Folder("").DeleteAsync();
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Models/GlobalField.cs b/Contentstack.Management.Core/Models/GlobalField.cs index 71f4209..f23a8a9 100644 --- a/Contentstack.Management.Core/Models/GlobalField.cs +++ b/Contentstack.Management.Core/Models/GlobalField.cs @@ -16,8 +16,8 @@ internal GlobalField(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").GlobalField().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").GlobalField().Query().Find();
         /// 
///
/// The @@ -32,9 +32,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentModeling model = new ContentModeling() // Add global field schema or field rules 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").GlobalField().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").GlobalField().Create(model);
         /// 
///
/// IGlobalField for updating Content Type. @@ -49,9 +49,9 @@ public override ContentstackResponse Create(ContentModelling model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentModeling model = new ContentModeling() // Add global field schema or field rules
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").GlobalField().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").GlobalField().CreateAsync(model);
         /// 
///
/// IGlobalField for updating Content Type. @@ -66,9 +66,9 @@ public override Task CreateAsync(ContentModelling model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentModeling model = new ContentModeling() // Add global field schema or field rules
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").GlobalField("").Update(model);
         /// 
///
/// IGlobalField for updating Content Type. @@ -83,9 +83,9 @@ public override ContentstackResponse Update(ContentModelling model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentModeling model = new ContentModeling() // Add global field schema or field rules
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").GlobalField("").UpdateAsync(model);
         /// 
///
/// IGlobalField for updating Content Type. @@ -100,8 +100,8 @@ public override Task UpdateAsync(ContentModelling model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").GlobalField("").Fetch();
         /// 
///
/// The . @@ -115,8 +115,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").GlobalField("").FetchAsync();
         /// 
///
/// The Task. @@ -130,8 +130,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").GlobalField("").Delete();
         /// 
///
/// The . @@ -145,8 +145,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").GlobalField("<GLOBAL_FIELD_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").GlobalField("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Label.cs b/Contentstack.Management.Core/Models/Label.cs index 767502e..693846f 100644 --- a/Contentstack.Management.Core/Models/Label.cs +++ b/Contentstack.Management.Core/Models/Label.cs @@ -18,8 +18,8 @@ internal Label(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Label().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Label().Query().Find();
         /// 
///
/// The @@ -34,9 +34,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LabelMode model = new LabelMode();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Label().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Label().Create(model);
         /// 
///
/// LabelModel for creating Label. @@ -51,9 +51,9 @@ public override ContentstackResponse Create(LabelModel model, ParameterCollectio /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LabelMode model = new LabelMode();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Label().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Label().CreateAsync(model);
         /// 
///
/// LabelModel for creating Label. @@ -68,9 +68,9 @@ public override Task CreateAsync(LabelModel model, Paramet /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LabelMode model = new LabelMode();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Label("<LABEL_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Label("").Update(model);
         /// 
///
/// LabelModel for creating Label. @@ -85,9 +85,9 @@ public override ContentstackResponse Update(LabelModel model, ParameterCollectio /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LabelMode model = new LabelMode();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Label("<LABEL_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Label("").UpdateAsync(model);
         /// 
///
/// LabelModel for creating Label. @@ -102,8 +102,8 @@ public override Task UpdateAsync(LabelModel model, Paramet /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Label("<LABEL_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Label("").Fetch();
         /// 
///
/// The . @@ -117,8 +117,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Label("<LABEL_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Label("").FetchAsync();
         /// 
///
/// The Task. @@ -132,8 +132,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Label("<LABEL_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Label("").Delete();
         /// 
///
/// The . @@ -147,8 +147,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Label("<LABEL_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Label("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Locale.cs b/Contentstack.Management.Core/Models/Locale.cs index 926e6b5..3d2abe5 100644 --- a/Contentstack.Management.Core/Models/Locale.cs +++ b/Contentstack.Management.Core/Models/Locale.cs @@ -18,8 +18,8 @@ internal Locale(Stack stack, string code = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Locale().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Locale().Query().Find();
         /// 
///
/// The @@ -34,9 +34,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LocaleModel model = new LocaleModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Locale().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Locale().Create(model);
         /// 
///
/// LocaleModel for createing Locale. @@ -51,9 +51,9 @@ public override ContentstackResponse Create(LocaleModel model, ParameterCollecti /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LocaleModel model = new LocaleModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Locale().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Locale().CreateAsync(model);
         /// 
///
/// LocaleModel for createing Locale. @@ -68,9 +68,9 @@ public override Task CreateAsync(LocaleModel model, Parame /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LocaleModel model = new LocaleModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Locale().Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Locale().Update(model);
         /// 
///
/// LocaleModel for updating locale. @@ -85,9 +85,9 @@ public override ContentstackResponse Update(LocaleModel model, ParameterCollecti /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// LocaleModel model = new LocaleModel(); // Add field values
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Locale().UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Locale().UpdateAsync(model);
         /// 
///
/// LocaleModel for updating locale. @@ -102,8 +102,8 @@ public override Task UpdateAsync(LocaleModel model, Parame /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Locale("<LOCALE_CODE>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Locale("").Fetch();
         /// 
///
/// The . @@ -117,8 +117,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Locale("<LOCALE_CODE>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Locale("").FetchAsync();
         /// 
///
/// The Task. @@ -132,8 +132,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Locale("<LOCALE_CODE>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Locale("").Delete();
         /// 
///
/// The . @@ -147,8 +147,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Locale("<LOCALE_CODE>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Locale("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Organization.cs b/Contentstack.Management.Core/Models/Organization.cs index 8f9cb73..a132db6 100644 --- a/Contentstack.Management.Core/Models/Organization.cs +++ b/Contentstack.Management.Core/Models/Organization.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Threading.Tasks; using Contentstack.Management.Core.Queryable; @@ -28,7 +28,7 @@ public Organization(ContentstackClient contentstackClient, string uid = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Organization organization = client.Organization();
         /// ContentstackResponse contentstackResponse = organization.GetOrganizations();
         /// 
@@ -49,7 +49,7 @@ public ContentstackResponse GetOrganizations(ParameterCollection parameters = nu /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Organization organization = client.Organization();
         /// ContentstackResponse contentstackResponse = await organization.GetOrganizationsAsync();
         /// 
@@ -70,8 +70,8 @@ public Task GetOrganizationsAsync(ParameterCollection para /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = organization.Roles();
         /// 
///
@@ -92,8 +92,8 @@ public ContentstackResponse Roles(ParameterCollection parameters = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = await organization.RolesAsync();
         /// 
///
@@ -115,20 +115,20 @@ public Task RolesAsync(ParameterCollection parameters = nu /// Stack Uid with user invitation details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Email = "<EMAIL>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Email = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
-        /// ContentstackResponse contentstackResponse = organization.AddUser(new System.Collections.Generic.List<UserInvitation>()
+        /// ContentstackResponse contentstackResponse = organization.AddUser(new System.Collections.Generic.List()
         ///     {
         ///         invitation
         ///     },
-        ///  new  Dictionary<string, List<UserInvitation>> ()
+        ///  new  Dictionary> ()
         ///     {
-        ///           "<STACK_UID>"= invitation
+        ///           ""= invitation
         ///     });
         /// 
///
@@ -159,20 +159,20 @@ public ContentstackResponse AddUser(List orgInvite, DictionaryStack Uid with user invitation details. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Email = "<EMAIL>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Email = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
-        /// ContentstackResponse contentstackResponse = await organization.AddUserAsync(new System.Collections.Generic.List<UserInvitation>()
+        /// ContentstackResponse contentstackResponse = await organization.AddUserAsync(new System.Collections.Generic.List()
         ///     {
         ///         invitation
         ///     },
-        ///  new  <string, List<UserInvitation>> ()
+        ///  new  > ()
         ///     {
-        ///           "<STACK_UID>"= invitation
+        ///           ""= invitation
         ///     }
         ///  );
         /// 
@@ -203,9 +203,9 @@ public Task AddUserAsync(List orgInvite, D /// List of emails to be remove from the Organization /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = organization.RemoveUser(new List() { "<EMAIL>" });
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = organization.RemoveUser(new List() { "" });
         /// 
///
/// The @@ -228,9 +228,9 @@ public ContentstackResponse RemoveUser(List emails) /// List of emails to be remove from the Organization /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = await organization.RemoveUserAsync(new List() { "<EMAIL>" });
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = await organization.RemoveUserAsync(new List() { "" });
         /// 
///
/// The Task @@ -254,9 +254,9 @@ public Task RemoveUserAsync(List emails) /// Uid for share invitation send to user. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = organization.ResendInvitation("<SHARE_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = organization.ResendInvitation("");
         /// 
///
/// The @@ -276,9 +276,9 @@ public ContentstackResponse ResendInvitation(string shareUid) /// Uid for share invitation send to user. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = await organization.ResendInvitationAsync("<SHARE_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = await organization.ResendInvitationAsync("");
         /// 
///
/// The Task @@ -297,8 +297,8 @@ public Task ResendInvitationAsync(string shareUid) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = organization.GetInvitations();
         /// 
///
@@ -319,8 +319,8 @@ public ContentstackResponse GetInvitations(ParameterCollection parameter = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = await organization.GetInvitationsAsync();
         /// 
///
@@ -341,9 +341,9 @@ public Task GetInvitationsAsync(ParameterCollection parame /// The email id of user for transfer. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = organization.TransferOwnership("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = organization.TransferOwnership("");
         /// 
///
/// The @@ -363,9 +363,9 @@ public ContentstackResponse TransferOwnership(string email) /// The email id of user for transfer. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
-        /// ContentstackResponse contentstackResponse = await organization.TransferOwnershipAsync("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
+        /// ContentstackResponse contentstackResponse = await organization.TransferOwnershipAsync("");
         /// 
///
/// The Task @@ -384,8 +384,8 @@ public Task TransferOwnershipAsync(string email) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = organization.GetStacks();
         /// 
///
@@ -406,8 +406,8 @@ public ContentstackResponse GetStacks(ParameterCollection parameter = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Organization organization = client.Organization("<ORG_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Organization organization = client.Organization("");
         /// ContentstackResponse contentstackResponse = await organization.GetStacksAsync();
         /// 
///
diff --git a/Contentstack.Management.Core/Models/PublishQueue.cs b/Contentstack.Management.Core/Models/PublishQueue.cs index a4f159b..984950c 100644 --- a/Contentstack.Management.Core/Models/PublishQueue.cs +++ b/Contentstack.Management.Core/Models/PublishQueue.cs @@ -28,8 +28,8 @@ internal PublishQueue(Stack stack, string uid = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").PublishQueue().FindAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").PublishQueue().FindAll();
         /// 
///
/// The . @@ -49,8 +49,8 @@ public virtual ContentstackResponse FindAll(ParameterCollection collection = nul /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").PublishQueue().FindAllAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").PublishQueue().FindAllAsync();
         /// 
///
/// The . @@ -70,8 +70,8 @@ public virtual Task FindAllAsync(ParameterCollection colle /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").PublishQueue("<PUBLISH_QUEUE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").PublishQueue("").Fetch();
         /// 
///
/// The . @@ -91,8 +91,8 @@ public virtual ContentstackResponse Fetch(ParameterCollection collection = null) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").PublishQueue("<PUBLISH_QUEUE_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").PublishQueue("").FetchAsync();
         /// 
///
/// The . @@ -111,8 +111,8 @@ public virtual Task FetchAsync(ParameterCollection collect /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").PublishQueue("<PUBLISH_QUEUE_UID>").Cancel();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").PublishQueue("").Cancel();
         /// 
///
/// The . @@ -131,8 +131,8 @@ public virtual ContentstackResponse Cancel(ParameterCollection collection = null /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").PublishQueue("<PUBLISH_QUEUE_UID>").CancelAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").PublishQueue("").CancelAsync();
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Models/PublishRule.cs b/Contentstack.Management.Core/Models/PublishRule.cs index b1e658d..60dabac 100644 --- a/Contentstack.Management.Core/Models/PublishRule.cs +++ b/Contentstack.Management.Core/Models/PublishRule.cs @@ -18,8 +18,8 @@ internal PublishRule(Stack stack, string uid) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule().FindAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule().FindAll();
         /// 
///
/// The . @@ -38,8 +38,8 @@ public virtual ContentstackResponse FindAll(ParameterCollection collection = nul /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().PublishRule().FindAllAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().PublishRule().FindAllAsync();
         /// 
///
/// The . @@ -57,9 +57,9 @@ public virtual Task FindAllAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// PublishRuleModel model = new PublishRuleModel(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule().Create(model);
         /// 
///
/// PublishRule Model for creating workflow. @@ -74,9 +74,9 @@ public override ContentstackResponse Create(PublishRuleModel model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// PublishRuleModel model = new PublishRuleModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().PublishRule().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().PublishRule().CreateAsync(model);
         /// 
///
/// PublishRule Model for creating workflow. @@ -91,9 +91,9 @@ public override Task CreateAsync(PublishRuleModel model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// PublishRuleModel model = new PublishRuleModel(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule("").Update(model);
         /// 
///
/// PublishRule Model for updating Content Type. @@ -108,9 +108,9 @@ public override ContentstackResponse Update(PublishRuleModel model, ParameterCol /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// PublishRuleModel model = new PublishRuleModel(); 
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().PublishRule("").UpdateAsync(model);
         /// 
///
/// PublishRule Model for updating Content Type. @@ -125,8 +125,8 @@ public override Task UpdateAsync(PublishRuleModel model, P /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule("").Fetch();
         /// 
///
/// The . @@ -140,8 +140,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().PublishRule("").FetchAsync();
         /// 
///
/// The Task. @@ -155,8 +155,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule("").Delete();
         /// 
///
/// The . @@ -170,8 +170,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().PublishRule("<PUBLISH_RULE_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().PublishRule("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Release.cs b/Contentstack.Management.Core/Models/Release.cs index ea38915..03b555f 100644 --- a/Contentstack.Management.Core/Models/Release.cs +++ b/Contentstack.Management.Core/Models/Release.cs @@ -1,5 +1,5 @@ -using System; -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Threading.Tasks; using Contentstack.Management.Core.Queryable; using Contentstack.Management.Core.Services.Models; @@ -19,8 +19,8 @@ internal Release(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release().Query().Find();
         /// 
///
/// The @@ -36,9 +36,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseModel model = new ReleaseModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release().Create(model);
         /// 
///
/// Release Model for creating ReleaseModel. @@ -54,9 +54,9 @@ public override ContentstackResponse Create(ReleaseModel model, ParameterCollect /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseModel model = new ReleaseModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Release().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Release().CreateAsync(model);
         /// 
///
/// Release Model Model for creating ReleaseModel. @@ -71,9 +71,9 @@ public override Task CreateAsync(ReleaseModel model, Param /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseModel model = new ReleaseModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release("<RELEASE_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release("").Update(model);
         /// 
///
/// Release Model for creating ReleaseModel. @@ -88,9 +88,9 @@ public override ContentstackResponse Update(ReleaseModel model, ParameterCollect /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseModel model = new ReleaseModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Release("<RELEASE_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Release("").UpdateAsync(model);
         /// 
///
/// Release Model for creating ReleaseModel. @@ -105,8 +105,8 @@ public override Task UpdateAsync(ReleaseModel model, Param /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release("<RELEASE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release("").Fetch();
         /// 
///
/// The . @@ -120,8 +120,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Release("<RELEASE_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Release("").FetchAsync();
         /// 
///
/// The Task. @@ -135,8 +135,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release("<RELEASE_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release("").Delete();
         /// 
///
/// The . @@ -150,8 +150,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Release("<RELEASE_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Release("").DeleteAsync();
         /// 
///
/// The Task. @@ -165,8 +165,8 @@ public override Task DeleteAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release("<RELEASE_UID>").Item().GetAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release("").Item().GetAll();
         /// 
///
/// Release Item UID @@ -183,9 +183,9 @@ public ReleaseItem Item() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeployModel model = new DeployModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Deploy(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Relase("").Deploy(model);
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -204,9 +204,9 @@ public ContentstackResponse Deploy(DeployModel model) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeployModel model = new DeployModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Relase("<RELEASE_UID>").DeployAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Relase("").DeployAsync(model);
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -226,8 +226,8 @@ public Task DeployAsync(DeployModel model) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Clone("<NAME>", "<DESCRIPTION>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Relase("").Clone("", "");
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -257,8 +257,8 @@ public ContentstackResponse Clone(string name, string description) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Relase("<RELEASE_UID>").CloneAsync("<NAME>", "<DESCRIPTION>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Relase("").CloneAsync("", "");
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. diff --git a/Contentstack.Management.Core/Models/ReleaseItem.cs b/Contentstack.Management.Core/Models/ReleaseItem.cs index 9c7e2d0..eea1654 100644 --- a/Contentstack.Management.Core/Models/ReleaseItem.cs +++ b/Contentstack.Management.Core/Models/ReleaseItem.cs @@ -1,5 +1,5 @@ -using System; -using System.Collections.Generic; +using System; +using System.Collections.Generic; using System.Threading.Tasks; using Contentstack.Management.Core.Queryable; using Contentstack.Management.Core.Services.Models; @@ -25,8 +25,8 @@ internal ReleaseItem(Stack stack, string releaseUID) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack().Relase("<RELEASE_UID>").Item().GetAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack().Relase("").Item().GetAll();
         /// 
///
/// The @@ -46,8 +46,8 @@ public ContentstackResponse GetAll(ParameterCollection parameters = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack().Relase("<RELEASE_UID>").Item().GetAllAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack().Relase("").Item().GetAllAsync();
         /// 
///
/// The Task @@ -67,9 +67,9 @@ public Task GetAllAsync(ParameterCollection parameters = n /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Relase("").Item().Create(model);
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -89,9 +89,9 @@ public ContentstackResponse Create(ReleaseItemModel model, ParameterCollection c /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Relase("").Item().CreateAsync(model);
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -112,13 +112,13 @@ public Task CreateAsync(ReleaseItemModel model, ParameterC /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// List<ReleaseItemModel> models = new List<ReleaseItemModel>()
+        /// List models = new List()
         /// {
         ///     model,
         /// };
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item().CreateMultiple(models);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Relase("").Item().CreateMultiple(models);
         /// 
///
/// ReleaseItem Model for creating ReleaseItem. @@ -138,10 +138,10 @@ public ContentstackResponse CreateMultiple(List models, Parame /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item().CreateMultipleAsync(models);
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Relase("").Item().CreateMultipleAsync(models);
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// List<ReleaseItemModel> models = new List<ReleaseItemModel>()
+        /// List models = new List()
         /// {
         ///     model,
         /// };
@@ -164,14 +164,14 @@ public Task CreateMultipleAsync(List mod
         /// 
         /// 
         /// 

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// List<string> items = new List<string>(){
-        /// "<$all>"
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// List items = new List(){
+        /// "<$all>"
         /// }
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Release("<RELEASE_UID>").Item().UpdateReleaseItem(items);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Release("").Item().UpdateReleaseItem(items);
         /// 
///
- /// Release items to update or "$all" for updating all release items + /// Release items to update or "$all" for updating all release items /// The . public ContentstackResponse UpdateReleaseItem(List items) { @@ -186,14 +186,14 @@ public ContentstackResponse UpdateReleaseItem(List items) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// List<string> items = new List<string>(){
-        /// "<$all>"
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// List items = new List(){
+        /// "<$all>"
         /// }
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Release("<RELEASE_UID>").Item().UpdateReleaseItemAsync(items);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Release("").Item().UpdateReleaseItemAsync(items);
         /// 
///
- /// Release items to update or "$all" for updating all release items + /// Release items to update or "$all" for updating all release items /// The Task. public Task UpdateReleaseItemAsync(List items) { @@ -208,13 +208,13 @@ public Task UpdateReleaseItemAsync(List items) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// List<ReleaseItemModel> models = new List<ReleaseItemModel>()
+        /// List models = new List()
         /// {
         ///     model,
         /// };
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item("<RELEASE_ITEM_UID>").Delete(models);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Relase("").Item("").Delete(models);
         /// 
///
/// The . @@ -232,13 +232,13 @@ public ContentstackResponse Delete(List models, ParameterColle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ReleaseItemModel model = new ReleaseItemModel();
-        /// List<ReleaseItemModel> models = new List<ReleaseItemModel>()
+        /// List models = new List()
         /// {
         ///     model,
         /// };
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Relase("<RELEASE_UID>").Item("<RELEASE_ITEM_UID>").DeleteAsync(models);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Relase("").Item("").DeleteAsync(models);
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Role.cs b/Contentstack.Management.Core/Models/Role.cs index 91abdb8..10de74a 100644 --- a/Contentstack.Management.Core/Models/Role.cs +++ b/Contentstack.Management.Core/Models/Role.cs @@ -16,8 +16,8 @@ internal Role(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Role().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Role().Query().Find();
         /// 
///
/// The @@ -32,9 +32,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// RoleModel model = new RoleModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Role().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Role().Create(model);
         /// 
///
/// Role Model for creating Role. @@ -49,9 +49,9 @@ public override ContentstackResponse Create(RoleModel model, ParameterCollection /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// RoleModel model = new RoleModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Role().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Role().CreateAsync(model);
         /// 
///
/// Role Model for creating Role. @@ -66,9 +66,9 @@ public override Task CreateAsync(RoleModel model, Paramete /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// RoleModel model = new RoleModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Role("<ROLE_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Role("").Update(model);
         /// 
///
/// Role Model for creating Role. @@ -83,9 +83,9 @@ public override ContentstackResponse Update(RoleModel model, ParameterCollection /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// RoleModel model = new RoleModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Role("<ROLE_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Role("").UpdateAsync(model);
         /// 
///
/// Role Model for creating Role. @@ -100,8 +100,8 @@ public override Task UpdateAsync(RoleModel model, Paramete /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Role("<ROLE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Role("").Fetch();
         /// 
///
/// The . @@ -115,8 +115,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Role("<ROLE_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Role("").FetchAsync();
         /// 
///
/// The Task. @@ -130,8 +130,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Role("<ROLE_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Role("").Delete();
         /// 
///
/// The . @@ -145,8 +145,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Role("<ROLE_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Role("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Stack.cs b/Contentstack.Management.Core/Models/Stack.cs index dc908d5..bd461f4 100644 --- a/Contentstack.Management.Core/Models/Stack.cs +++ b/Contentstack.Management.Core/Models/Stack.cs @@ -33,7 +33,7 @@ public Stack(ContentstackClient contentstackClient, string apiKey = null, string /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Stack stack = client.Stack();
         /// ContentstackResponse contentstackResponse = stack.GetAll();
         /// 
@@ -55,7 +55,7 @@ public ContentstackResponse GetAll(ParameterCollection parameters = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Stack stack =  client.Stack();
         /// ContentstackResponse contentstackResponse = await stack.GetAllAsync();
         /// 
@@ -77,8 +77,8 @@ public Task GetAllAsync(ParameterCollection parameters = n /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = stack.Fetch();
         /// 
///
@@ -98,8 +98,8 @@ public ContentstackResponse Fetch(ParameterCollection parameters = null) /// URI query parameters /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = await stack.FetchAsync();
         /// 
///
@@ -120,9 +120,9 @@ public Task FetchAsync(ParameterCollection parameters = nu /// The email id of user for transfer. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.TransferOwnership("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.TransferOwnership("");
         /// 
///
/// The @@ -142,9 +142,9 @@ public ContentstackResponse TransferOwnership(string email) /// The email id of user for transfer. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = await stack.TransferOwnershipAsync("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = await stack.TransferOwnershipAsync("");
         /// 
///
/// The Task @@ -167,9 +167,9 @@ public Task TransferOwnershipAsync(string email) /// The description for the Stack. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Stack stack = client.Stack();
-        /// ContentstackResponse contentstackResponse = stack.Create("<STACK_NAME>", "<LOCALE>", "<ORG_UID>", "<DESCRIPTION>");
+        /// ContentstackResponse contentstackResponse = stack.Create("", "", "", "");
         /// 
///
/// The @@ -195,9 +195,9 @@ public ContentstackResponse Create(string name, string masterLocale, string orga /// The description for the Stack. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// Stack stack = client.Stack();
-        /// ContentstackResponse contentstackResponse = await stack.CreateAsync("<STACK_NAME>", "<LOCALE>", "<ORG_UID>", "<DESCRIPTION>");
+        /// ContentstackResponse contentstackResponse = await stack.CreateAsync("", "", "", "");
         /// 
///
/// The Task @@ -223,9 +223,9 @@ public Task CreateAsync(string name, string masterLocale, /// The description for the Stack. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Update("<STACK_NAME>", "<DESCRIPTION>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Update("", "");
         /// 
///
/// The @@ -249,9 +249,9 @@ public ContentstackResponse Update(string name, string description = null) /// The description for the Stack. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = await stack.UpdateAsync("<STACK_NAME>", "<DESCRIPTION>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = await stack.UpdateAsync("", "");
         /// 
///
/// The Task @@ -272,14 +272,14 @@ public Task UpdateAsync(string name, string description = /// List of users uid and roles to assign users. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Uid = "<USER_ID>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Uid = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
-        /// ContentstackResponse contentstackResponse = stack.UpdateUserRole(new List<UserInvitation>() {
+        /// ContentstackResponse contentstackResponse = stack.UpdateUserRole(new List() {
         ///     invitation
         /// });
         /// 
@@ -301,14 +301,14 @@ public ContentstackResponse UpdateUserRole(List usersRole) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Uid = "<USER_ID>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Uid = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
-        /// ContentstackResponse contentstackResponse = await stack.UpdateUserRoleAsync(new List<UserInvitation>() {
+        /// ContentstackResponse contentstackResponse = await stack.UpdateUserRoleAsync(new List() {
         ///     invitation
         /// });
         /// 
@@ -329,8 +329,8 @@ public Task UpdateUserRoleAsync(List users /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = stack.Settings();
         /// 
///
@@ -350,8 +350,8 @@ public ContentstackResponse Settings() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = await stack.SettingsAsync();
         /// 
///
@@ -371,8 +371,8 @@ public Task SettingsAsync() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = stack.Settings();
         /// 
///
@@ -397,8 +397,8 @@ public ContentstackResponse ResetSettings() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// ContentstackResponse contentstackResponse = await stack.SettingsAsync();
         /// 
///
@@ -423,9 +423,9 @@ public Task ResetSettingsAsync() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Settings("<STACK_SETTINGS>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Settings("");
         /// 
///
/// The @@ -448,9 +448,9 @@ public ContentstackResponse AddSettings(StackSettings settings) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = await stack.SettingsAsync("<STACK_SETTINGS>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = await stack.SettingsAsync("");
         /// 
///
/// The Task @@ -472,12 +472,12 @@ public Task AddSettingsAsync(StackSettings settings) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Email = "<EMAIL>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Email = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
         /// ContentstackResponse contentstackResponse = stack.Share(invitation);
         /// 
@@ -503,12 +503,12 @@ public ContentstackResponse Share(List invitations) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
         /// UserInvitation invitation = new UserInvitation()
         /// {
-        ///         Email = "<EMAIL>",
-        ///         Roles = new System.Collections.Generic.List<string>() { "<ROLE_UID>" }
+        ///         Email = "",
+        ///         Roles = new System.Collections.Generic.List() { "" }
         /// };
         /// ContentstackResponse contentstackResponse = await stack.ShareAsync(invitation);
         /// 
@@ -534,9 +534,9 @@ public Task ShareAsync(List invitations) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.UnShare(("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.UnShare(("");
         /// 
///
/// The @@ -561,9 +561,9 @@ public ContentstackResponse UnShare(string email) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = await stack.UnShareAsync("<EMAIL>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = await stack.UnShareAsync("");
         /// 
///
/// The Task @@ -587,9 +587,9 @@ public Task UnShareAsync(string email) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Locale("<LOCALE_CODE>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Locale("").Fetch();
         /// 
///
/// Locale code fot language @@ -609,9 +609,9 @@ public Locale Locale(string code = null) /// Optional content type uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.ContentType("<CONTENT_TYPE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.ContentType("").Fetch();
         /// 
///
/// The @@ -628,9 +628,9 @@ public ContentType ContentType(string uid = null) /// Optional asset uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Asset("<ASSET_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Asset("").Fetch();
         /// 
///
/// The @@ -649,9 +649,9 @@ public Asset Asset(string uid = null) /// Optional global field uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.GlobalField("<GLOBAL_FIELD_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.GlobalField("").Fetch();
         /// 
///
/// The @@ -669,9 +669,9 @@ public GlobalField GlobalField(string uid = null) /// Optional, extension uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Extension("<EXTENSION_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Extension("").Fetch();
         /// 
///
/// The @@ -689,9 +689,9 @@ public Extension Extension(string uid = null) /// Optional, label uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Label("<LABEL_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Label("").Fetch();
         /// 
///
/// The @@ -709,9 +709,9 @@ public Label Label(string uid = null) /// Optional, environment uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Environment("<ENVIRONMENT_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Environment("").Fetch();
         /// 
///
/// The @@ -729,9 +729,9 @@ public Environment Environment(string uid = null) /// Optional, delivery token uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.DeliveryToken("<TOKEN_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.DeliveryToken("").Fetch();
         /// 
///
/// The @@ -749,9 +749,9 @@ public DeliveryToken DeliveryToken(string uid = null) /// Optional, management token uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.ManagementTokens("<TOKEN_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.ManagementTokens("").Fetch();
         /// 
///
/// The @@ -769,9 +769,9 @@ public ManagementToken ManagementTokens(string uid = null) /// Optional, role uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Role("<ROLE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Role("").Fetch();
         /// 
///
/// The @@ -789,9 +789,9 @@ public Role Role(string uid = null) /// Optional, release uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Release("<RELEASE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Release("").Fetch();
         /// 
///
/// The @@ -810,9 +810,9 @@ public Release Release(string uid = null) /// Optional, workflow uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Workflow("<WORKFLOW_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Workflow("").Fetch();
         /// 
///
/// The @@ -831,9 +831,9 @@ public Workflow Workflow(string uid = null) /// Optional, publish queue uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.PublishQueue("<PUBLISH_QUEUE_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.PublishQueue("").Fetch();
         /// 
///
/// The @@ -850,9 +850,9 @@ public PublishQueue PublishQueue(string uid = null) /// Optional, webhook uid uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.Webhook("<WEBHOOK_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.Webhook("").Fetch();
         /// 
///
/// The @@ -870,9 +870,9 @@ public Webhook Webhook(string uid = null) /// Optional, audit log uid. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// Stack stack = client.Stack("<API_KEY>");
-        /// ContentstackResponse contentstackResponse = stack.AuditLog("<AUDIT_LOG_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// Stack stack = client.Stack("");
+        /// ContentstackResponse contentstackResponse = stack.AuditLog("").Fetch();
         /// 
///
/// The diff --git a/Contentstack.Management.Core/Models/Token/DeliveryToken.cs b/Contentstack.Management.Core/Models/Token/DeliveryToken.cs index cd6ab1d..75396ac 100644 --- a/Contentstack.Management.Core/Models/Token/DeliveryToken.cs +++ b/Contentstack.Management.Core/Models/Token/DeliveryToken.cs @@ -1,5 +1,7 @@ -using System.Threading.Tasks; +using System; +using System.Threading.Tasks; using Contentstack.Management.Core.Queryable; +using Newtonsoft.Json.Linq; namespace Contentstack.Management.Core.Models.Token { @@ -8,7 +10,7 @@ public class DeliveryToken : BaseModel internal DeliveryToken(Stack stack, string uid = null) : base(stack, "token", uid) { - resourcePath = uid == null ? "/delivery_tokens" : $"/delivery_tokens/{uid}"; + resourcePath = uid == null ? "stacks/delivery_tokens" : $"stacks/delivery_tokens/{uid}"; } /// @@ -16,8 +18,8 @@ internal DeliveryToken(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").DeliveryToken().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").DeliveryToken().Query().Find();
         /// 
///
/// The @@ -32,9 +34,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeliveryTokenModel model = new DeliveryTokenModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").DeliveryToken().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").DeliveryToken().Create(model);
         /// 
///
/// DeliveryToken Model for creating DeliveryToken. @@ -49,9 +51,9 @@ public override ContentstackResponse Create(DeliveryTokenModel model, ParameterC /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeliveryTokenModel model = new DeliveryTokenModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").DeliveryToken().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").DeliveryToken().CreateAsync(model);
         /// 
///
/// DeliveryToken Model for creating DeliveryToken. @@ -66,9 +68,9 @@ public override Task CreateAsync(DeliveryTokenModel model, /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeliveryTokenModel model = new DeliveryTokenModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").DeliveryToken("").Update(model);
         /// 
///
/// DeliveryToken Model for creating DeliveryToken. @@ -83,9 +85,9 @@ public override ContentstackResponse Update(DeliveryTokenModel model, ParameterC /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// DeliveryTokenModel model = new DeliveryTokenModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").DeliveryToken("").UpdateAsync(model);
         /// 
///
/// DeliveryToken Model for creating DeliveryToken. @@ -100,8 +102,8 @@ public override Task UpdateAsync(DeliveryTokenModel model, /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").DeliveryToken("").Fetch();
         /// 
///
/// The . @@ -115,8 +117,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").DeliveryToken("").FetchAsync();
         /// 
///
/// The Task. @@ -130,8 +132,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").DeliveryToken("").Delete();
         /// 
///
/// The . @@ -145,8 +147,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").DeliveryToken("<DELIVERY_TOKEN_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").DeliveryToken("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Token/ManagementToken.cs b/Contentstack.Management.Core/Models/Token/ManagementToken.cs index eaee8fd..f05a9b6 100644 --- a/Contentstack.Management.Core/Models/Token/ManagementToken.cs +++ b/Contentstack.Management.Core/Models/Token/ManagementToken.cs @@ -16,8 +16,8 @@ internal ManagementToken(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ManagementToken().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ManagementToken().Query().Find();
         /// 
///
/// The @@ -33,9 +33,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ManagementTokenModel model = new ManagementTokenModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ManagementToken().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ManagementToken().Create(model);
         /// 
///
/// ManagementToken Model for creating ManagementToken. @@ -51,9 +51,9 @@ public override ContentstackResponse Create(ManagementTokenModel model, Paramete /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ManagementTokenModel model = new ManagementTokenModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ManagementToken().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ManagementToken().CreateAsync(model);
         /// 
///
/// ManagementToken Model for creating ManagementToken. @@ -71,9 +71,9 @@ public override Task CreateAsync(ManagementTokenModel mode /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ManagementTokenModel model = new ManagementTokenModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").ManagementToken("").Update(model);
         /// 
///
/// ManagementToken Model for creating ManagementToken. @@ -91,9 +91,9 @@ public override ContentstackResponse Update(ManagementTokenModel model, Paramete /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ManagementTokenModel model = new ManagementTokenModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ManagementToken("").UpdateAsync(model);
         /// 
///
/// ManagementToken Model for creating ManagementToken. @@ -108,8 +108,8 @@ public override Task UpdateAsync(ManagementTokenModel mode /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ManagementToken("").Fetch();
         /// 
///
/// The . @@ -123,8 +123,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ManagementToken("").FetchAsync();
         /// 
///
/// The Task. @@ -138,8 +138,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").ManagementToken("").Delete();
         /// 
///
/// The . @@ -153,8 +153,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").ManagementToken("<MANAGEMENT_TOKEN_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").ManagementToken("").DeleteAsync();
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/User.cs b/Contentstack.Management.Core/Models/User.cs index 6a31cf3..111ac29 100644 --- a/Contentstack.Management.Core/Models/User.cs +++ b/Contentstack.Management.Core/Models/User.cs @@ -26,9 +26,9 @@ internal User(ContentstackClient contentstackClient) /// The email for the account that user has forgotten the login password /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// User user = client.User();
-        /// ContentstackResponse contentstackResponse = client.ForgotPassword("<EMAIL>");
+        /// ContentstackResponse contentstackResponse = client.ForgotPassword("");
         /// 
///
/// The . @@ -47,9 +47,9 @@ public ContentstackResponse ForgotPassword(string email) /// The email for the account that user has forgotten the login password /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// User user = client.User();
-        /// ContentstackResponse contentstackResponse = await client.ForgotPasswordAsync("<EMAIL>");
+        /// ContentstackResponse contentstackResponse = await client.ForgotPasswordAsync("");
         /// 
///
/// The Task. @@ -70,9 +70,9 @@ public Task ForgotPasswordAsync(string email) /// The confirm password for the account. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// User user = client.User();
-        /// ContentstackResponse contentstackResponse = client.ResetPassword("<REST_TOKEN>", "<PASSWORD>", "<CONFIRM_PASSWORD>");
+        /// ContentstackResponse contentstackResponse = client.ResetPassword("", "", "");
         /// 
///
/// The @@ -93,9 +93,9 @@ public ContentstackResponse ResetPassword(string resetToken, string password, st /// The confirm password for the account. /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// User user = client.User();
-        /// ContentstackResponse contentstackResponse = await client.ResetPasswordAsync("<REST_TOKEN>", "<PASSWORD>", "<CONFIRM_PASSWORD>");
+        /// ContentstackResponse contentstackResponse = await client.ResetPasswordAsync("", "", "");
         /// 
///
/// The Task. diff --git a/Contentstack.Management.Core/Models/Webhook.cs b/Contentstack.Management.Core/Models/Webhook.cs index 7f80233..6c579ae 100644 --- a/Contentstack.Management.Core/Models/Webhook.cs +++ b/Contentstack.Management.Core/Models/Webhook.cs @@ -17,8 +17,8 @@ internal Webhook(Stack stack, string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook().Query().Find();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook().Query().Find();
         /// 
///
/// The @@ -33,9 +33,9 @@ public Query Query() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WebhookModel model = new WebhookModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook().Create(model);
         /// 
///
/// Webhook Model for creating Webhook. @@ -50,9 +50,9 @@ public override ContentstackResponse Create(WebhookModel model, ParameterCollect /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WebhookModel model = new WebhookModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook().CreateAsync(model);
         /// 
///
/// Webhook Model for creating Webhook. @@ -67,9 +67,9 @@ public override Task CreateAsync(WebhookModel model, Param /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WebhookModel model = new WebhookModel();
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Update(model);
         /// 
///
/// Webhook Model for creating Webhook. @@ -84,9 +84,9 @@ public override ContentstackResponse Update(WebhookModel model, ParameterCollect /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WebhookModel model = new WebhookModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").UpdateAsync(model);
         /// 
///
/// Webhook Model for creating Webhook. @@ -101,8 +101,8 @@ public override Task UpdateAsync(WebhookModel model, Param /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Fetch();
         /// 
///
/// The . @@ -116,8 +116,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").FetchAsync();
         /// 
///
/// The Task. @@ -131,8 +131,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Delete();
         /// 
///
/// The . @@ -146,8 +146,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").DeleteAsync();
         /// 
///
/// The Task. @@ -161,8 +161,8 @@ public override Task DeleteAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Executions();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Executions();
         /// 
///
/// The . @@ -180,8 +180,8 @@ public ContentstackResponse Executions(ParameterCollection collection = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").ExecutionsAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").ExecutionsAsync();
         /// 
///
/// The Task. @@ -200,8 +200,8 @@ public Task ExecutionsAsync(ParameterCollection collection /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Retry("<EXECUTION_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Retry("");
         /// 
///
/// execution UID that you receive when you execute the 'Get executions of webhooks' call. @@ -220,8 +220,8 @@ public ContentstackResponse Retry(string executionUid) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").RetryAsync("<EXECUTION_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").RetryAsync("");
         /// 
///
/// execution UID that you receive when you execute the 'Get executions of webhooks' call. @@ -241,8 +241,8 @@ public Task RetryAsync(string executionUid) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").Logs("<EXECUTION_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Webhook("").Logs("");
         /// 
///
/// execution UID that you receive when you execute the 'Get executions of webhooks' call. @@ -261,8 +261,8 @@ public ContentstackResponse Logs(string executionUid) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Webhook("<WEBHOOK_UID>").LogsAsync("<EXECUTION_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Webhook("").LogsAsync("");
         /// 
///
/// execution UID that you receive when you execute the 'Get executions of webhooks' call. diff --git a/Contentstack.Management.Core/Models/Workflow.cs b/Contentstack.Management.Core/Models/Workflow.cs index daf5ff5..c9cd182 100644 --- a/Contentstack.Management.Core/Models/Workflow.cs +++ b/Contentstack.Management.Core/Models/Workflow.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using Contentstack.Management.Core.Queryable; using Contentstack.Management.Core.Services.Models; @@ -19,8 +19,8 @@ internal Workflow(Stack stack, string uid) /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().FindAll();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().FindAll();
         /// 
///
/// The . @@ -39,8 +39,8 @@ public virtual ContentstackResponse FindAll(ParameterCollection collection = nul /// Query parameter /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().FindAllAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().FindAllAsync();
         /// 
///
/// The . @@ -58,9 +58,9 @@ public virtual Task FindAllAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WorkflowModel model = new WorkflowModel(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().Create(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().Create(model);
         /// 
///
/// Workflow Model for creating workflow. @@ -75,9 +75,9 @@ public override ContentstackResponse Create(WorkflowModel model, ParameterCollec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WorkflowModel model = new WorkflowModel();
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow().CreateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow().CreateAsync(model);
         /// 
///
/// Workflow Model for creating workflow. @@ -92,9 +92,9 @@ public override Task CreateAsync(WorkflowModel model, Para /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WorkflowModel model = new WorkflowModel(); 
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").Update(model);
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").Update(model);
         /// 
///
/// Workflow Model for updating Content Type. @@ -109,9 +109,9 @@ public override ContentstackResponse Update(WorkflowModel model, ParameterCollec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// WorkflowModel model = new WorkflowModel(); 
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").UpdateAsync(model);
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").UpdateAsync(model);
         /// 
///
/// Workflow Model for updating Content Type. @@ -126,8 +126,8 @@ public override Task UpdateAsync(WorkflowModel model, Para /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").Fetch();
         /// 
///
/// The . @@ -141,8 +141,8 @@ public override ContentstackResponse Fetch(ParameterCollection collection = null /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").FetchAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").FetchAsync();
         /// 
///
/// The Task. @@ -156,8 +156,8 @@ public override Task FetchAsync(ParameterCollection collec /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").Delete();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").Delete();
         /// 
///
/// The . @@ -171,8 +171,8 @@ public override ContentstackResponse Delete(ParameterCollection collection = nul /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").DeleteAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").DeleteAsync();
         /// 
///
/// The Task. @@ -186,8 +186,8 @@ public override Task DeleteAsync(ParameterCollection colle /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").Disable();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").Disable();
         /// 
///
/// The . @@ -205,8 +205,8 @@ public virtual ContentstackResponse Disable() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").DisableAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").DisableAsync();
         /// 
///
/// The . @@ -224,8 +224,8 @@ public virtual Task DisableAsync() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").Enable();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").Enable();
         /// 
///
/// The . @@ -243,8 +243,8 @@ public virtual ContentstackResponse Enable() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").EnableAsync();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").EnableAsync();
         /// 
///
/// The . @@ -262,8 +262,8 @@ public virtual Task EnableAsync() /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow().PublishRule("<ENTRY_UID>").Fetch();
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow().PublishRule("").Fetch();
         /// 
///
/// Optional Publish rule uid for performing rule specific operation @@ -278,8 +278,8 @@ public PublishRule PublishRule(string uid = null) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").GetPublishRule("<CONTENT_TYPE_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = client.Stack("").Workflow("").GetPublishRule("");
         /// 
///
/// The . @@ -300,8 +300,8 @@ public virtual ContentstackResponse GetPublishRule(string contentType, Parameter /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
-        /// ContentstackResponse contentstackResponse = await client.Stack("<API_KEY>").Workflow("<WORKFLOW_UID>").GetPublishRuleAsync("<CONTENT_TYPE_UID>");
+        /// ContentstackClient client = new ContentstackClient("", "");
+        /// ContentstackResponse contentstackResponse = await client.Stack("").Workflow("").GetPublishRuleAsync("");
         /// 
///
/// The . diff --git a/Contentstack.Management.Core/Queryable/Query.cs b/Contentstack.Management.Core/Queryable/Query.cs index 8e5f26a..56ab212 100644 --- a/Contentstack.Management.Core/Queryable/Query.cs +++ b/Contentstack.Management.Core/Queryable/Query.cs @@ -32,7 +32,7 @@ internal Query(Stack stack, string resourcePath) /// Number of object in limit /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = client.Stack().Query().Limit(5).Find();
         /// 
///
@@ -49,7 +49,7 @@ public Query Limit(double value) /// Number of object to skip /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = client.Stack().Query().Skip(5).Find();
         /// 
///
@@ -65,7 +65,7 @@ public Query Skip(double value) /// /// ///

-        /// ContentstackClient client = new ContentstackClient("<AUTHTOKEN>", "<API_HOST>");
+        /// ContentstackClient client = new ContentstackClient("", "");
         /// ContentstackResponse contentstackResponse = client.Stack().Query().IncludeCount().Find();
         /// 
///
diff --git a/Contentstack.Management.Core/contentstack.management.core.csproj b/Contentstack.Management.Core/contentstack.management.core.csproj index f1f29bc..1fd8f92 100644 --- a/Contentstack.Management.Core/contentstack.management.core.csproj +++ b/Contentstack.Management.Core/contentstack.management.core.csproj @@ -4,7 +4,7 @@ netstandard2.0;net471;net472; Contentstack Management Contentstack - Copyright © 2012-2024 Contentstack. All Rights Reserved + Copyright © 2012-2025 Contentstack. All Rights Reserved .NET SDK for the Contentstack Content Management API. Contentstack contentstack.management.csharp diff --git a/Directory.Build.props b/Directory.Build.props index b5e0738..e346ee5 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - 0.1.11 + 0.1.12 diff --git a/Scripts/run-test-case.sh b/Scripts/run-test-case.sh index 871d404..7550df9 100644 --- a/Scripts/run-test-case.sh +++ b/Scripts/run-test-case.sh @@ -4,7 +4,7 @@ # Contentstack # # Created by Uttam Ukkoji on 12/04/21. -# Copyright © 2024 Contentstack. All rights reserved. +# Copyright © 2025 Contentstack. All rights reserved. echo "Removing files" diff --git a/Scripts/run-unit-test-case.sh b/Scripts/run-unit-test-case.sh index d1f34fd..ff14bdc 100644 --- a/Scripts/run-unit-test-case.sh +++ b/Scripts/run-unit-test-case.sh @@ -4,7 +4,7 @@ # Contentstack # # Created by Uttam Ukkoji on 30/03/2023. -# Copyright © 2024 Contentstack. All rights reserved. +# Copyright © 2025 Contentstack. All rights reserved. echo "Removing files" rm -rf "./Contentstack.Management.Core.Unit.Tests/TestResults"