diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/Azure.Analytics.Purview.DataMap.sln b/sdk/purview/Azure.Analytics.Purview.DataMap/Azure.Analytics.Purview.DataMap.sln
new file mode 100644
index 0000000000000..0d89c175ed5e1
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/Azure.Analytics.Purview.DataMap.sln
@@ -0,0 +1,56 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29709.97
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Analytics.Purview.DataMap", "src\Azure.Analytics.Purview.DataMap.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Analytics.Purview.DataMap.Tests", "tests\Azure.Analytics.Purview.DataMap.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
+ EndGlobalSection
+EndGlobal
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/CHANGELOG.md b/sdk/purview/Azure.Analytics.Purview.DataMap/CHANGELOG.md
new file mode 100644
index 0000000000000..13dd08af78abe
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Release History
+
+## 1.0.0-beta.1 (Unreleased)
+
+### Features Added
+
+### Breaking Changes
+
+### Bugs Fixed
+
+### Other Changes
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/Directory.Build.props b/sdk/purview/Azure.Analytics.Purview.DataMap/Directory.Build.props
new file mode 100644
index 0000000000000..63bd836ad44b7
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/README.md b/sdk/purview/Azure.Analytics.Purview.DataMap/README.md
new file mode 100644
index 0000000000000..7444377620460
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/README.md
@@ -0,0 +1,86 @@
+# Azure.Analytics.Purview.DataMap client library for .NET
+
+Azure.Analytics.Purview.DataMap is a managed service that helps developers get secret simply and securely.
+
+Use the client library for to:
+
+* [Get secret](https://docs.microsoft.com/azure)
+
+[Source code][source_root] | [Package (NuGet)][package] | [API reference documentation][reference_docs] | [Product documentation][azconfig_docs] | [Samples][source_samples]
+
+ [Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/purview/Azure.Analytics.Purview.DataMap/src) | [Package (NuGet)](https://www.nuget.org/packages) | [API reference documentation](https://azure.github.io/azure-sdk-for-net) | [Product documentation](https://docs.microsoft.com/azure)
+
+## Getting started
+
+This section should include everything a developer needs to do to install and create their first client connection *very quickly*.
+
+### Install the package
+
+First, provide instruction for obtaining and installing the package or library. This section might include only a single line of code, like `dotnet add package package-name`, but should enable a developer to successfully install the package from NuGet, npm, or even cloning a GitHub repository.
+
+Install the client library for .NET with [NuGet](https://www.nuget.org/ ):
+
+```dotnetcli
+dotnet add package Azure.Analytics.Purview.DataMap --prerelease
+```
+
+### Prerequisites
+
+Include a section after the install command that details any requirements that must be satisfied before a developer can [authenticate](#authenticate-the-client) and test all of the snippets in the [Examples](#examples) section. For example, for Cosmos DB:
+
+> You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/) and [Cosmos DB account](https://docs.microsoft.com/azure/cosmos-db/account-overview) (SQL API). In order to take advantage of the C# 8.0 syntax, it is recommended that you compile using the [.NET Core SDK](https://dotnet.microsoft.com/download) 3.0 or higher with a [language version](https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version#override-a-default) of `latest`. It is also possible to compile with the .NET Core SDK 2.1.x using a language version of `preview`.
+
+### Authenticate the client
+
+If your library requires authentication for use, such as for Azure services, include instructions and example code needed for initializing and authenticating.
+
+For example, include details on obtaining an account key and endpoint URI, setting environment variables for each, and initializing the client object.
+
+## Key concepts
+
+The *Key concepts* section should describe the functionality of the main classes. Point out the most important and useful classes in the package (with links to their reference pages) and explain how those classes work together. Feel free to use bulleted lists, tables, code blocks, or even diagrams for clarity.
+
+Include the *Thread safety* and *Additional concepts* sections below at the end of your *Key concepts* section. You may remove or add links depending on what your library makes use of:
+
+### Thread safety
+
+We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
+
+### Additional concepts
+
+[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) |
+[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
+[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) |
+[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) |
+[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) |
+[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#mocking) |
+[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/)
+
+
+## Examples
+
+You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/purview/Azure.Analytics.Purview.DataMap/samples).
+
+## Troubleshooting
+
+Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery.
+
+Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API.
+
+If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code.
+
+## Next steps
+
+* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory.
+* If appropriate, point users to other packages that might be useful.
+* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for.
+
+## Contributing
+
+This is a template, but your SDK readme should include details on how to contribute code to the repo/package.
+
+
+[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization
+[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net/sdk/purview/Azure.Analytics.Purview.DataMap/README.png)
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Azure.Analytics.Purview.DataMap.csproj b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Azure.Analytics.Purview.DataMap.csproj
new file mode 100644
index 0000000000000..77eb5a8b662a7
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Azure.Analytics.Purview.DataMap.csproj
@@ -0,0 +1,20 @@
+
+
+ This is the Azure.Analytics.Purview.DataMap client library for developing .NET applications with rich experience.
+ Azure SDK Code Generation Azure.Analytics.Purview.DataMap for Azure Data Plane
+ 1.0.0-beta.1
+ Azure.Analytics.Purview.DataMap
+ $(RequiredTargetFrameworks)
+ true
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapClientBuilderExtensions.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapClientBuilderExtensions.cs
new file mode 100644
index 0000000000000..2d6f5b66cd410
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapClientBuilderExtensions.cs
@@ -0,0 +1,35 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure.Analytics.Purview.DataMap;
+using Azure.Core.Extensions;
+
+namespace Microsoft.Extensions.Azure
+{
+ /// Extension methods to add to client builder.
+ public static partial class AnalyticsPurviewDataMapClientBuilderExtensions
+ {
+ /// Registers a instance.
+ /// The builder to register with.
+ /// The to use.
+ public static IAzureClientBuilder AddDataMapClient(this TBuilder builder, Uri endpoint)
+ where TBuilder : IAzureClientFactoryBuilderWithCredential
+ {
+ return builder.RegisterClientFactory((options, cred) => new DataMapClient(endpoint, cred, options));
+ }
+
+ /// Registers a instance.
+ /// The builder to register with.
+ /// The configuration values.
+ public static IAzureClientBuilder AddDataMapClient(this TBuilder builder, TConfiguration configuration)
+ where TBuilder : IAzureClientFactoryBuilderWithConfiguration
+ {
+ return builder.RegisterClientFactory(configuration);
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs
new file mode 100644
index 0000000000000..4f46bb3ca3cf4
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs
@@ -0,0 +1,512 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// Model factory for models.
+ public static partial class AnalyticsPurviewDataMapModelFactory
+ {
+ /// Initializes a new instance of .
+ /// The attributes of the struct.
+ /// The name of the type.
+ /// ETag for concurrency control.
+ /// Business attributes.
+ /// An array of classifications.
+ /// The created time of the record.
+ /// The user who created the record.
+ /// Custom Attribute.
+ /// The GUID of the entity.
+ /// The home ID of the entity.
+ /// The collection ID of the entity.
+ /// Whether it is a shell entity.
+ /// labels.
+ /// An array of term assignment headers indicating the meanings of the entity.
+ /// Used to record the provenance of an instance of an entity or relationship.
+ /// Determines if there's a proxy.
+ /// The attributes of relationship.
+ ///
+ /// Status of the entity - can be active or deleted. Deleted entities are not
+ /// removed.
+ ///
+ /// The update time of the record.
+ /// The user who updated the record.
+ /// The version of the entity.
+ /// The dictionary of contacts for entities. Key could be Expert or Owner.
+ /// A new instance for mocking.
+ public static AtlasEntity AtlasEntity(IDictionary attributes = null, string typeName = null, string lastModifiedTS = null, IDictionary businessAttributes = null, IEnumerable classifications = null, long? createTime = null, string createdBy = null, IDictionary customAttributes = null, string guid = null, string homeId = null, string collectionId = null, bool? isIncomplete = null, IEnumerable labels = null, IEnumerable meanings = null, int? provenanceType = null, bool? proxy = null, IDictionary relationshipAttributes = null, EntityStatus? status = null, long? updateTime = null, string updatedBy = null, long? version = null, IDictionary> contacts = null)
+ {
+ attributes ??= new Dictionary();
+ businessAttributes ??= new Dictionary();
+ classifications ??= new List();
+ customAttributes ??= new Dictionary();
+ labels ??= new List();
+ meanings ??= new List();
+ relationshipAttributes ??= new Dictionary();
+ contacts ??= new Dictionary>();
+
+ return new AtlasEntity(attributes, typeName, lastModifiedTS, businessAttributes, classifications?.ToList(), createTime, createdBy, customAttributes, guid, homeId, collectionId, isIncomplete, labels?.ToList(), meanings?.ToList(), provenanceType, proxy, relationshipAttributes, status, updateTime, updatedBy, version, contacts);
+ }
+
+ /// Initializes a new instance of .
+ /// A map of GUID assignments with entities.
+ /// The entity headers of mutated entities.
+ /// An array of entity headers that partially updated.
+ /// A new instance for mocking.
+ public static EntityMutationResult EntityMutationResult(IReadOnlyDictionary guidAssignments = null, IReadOnlyDictionary> mutatedEntities = null, IEnumerable partialUpdatedEntities = null)
+ {
+ guidAssignments ??= new Dictionary();
+ mutatedEntities ??= new Dictionary>();
+ partialUpdatedEntities ??= new List();
+
+ return new EntityMutationResult(guidAssignments, mutatedEntities, partialUpdatedEntities?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// An array of objects.
+ /// The size of the page.
+ /// The sorted by field.
+ /// to specify whether the result should be sorted? If yes, whether asc or desc.
+ /// The start index of the page.
+ /// The total count of items.
+ /// A new instance for mocking.
+ public static AtlasClassifications AtlasClassifications(IEnumerable list = null, int? pageSize = null, string sortBy = null, SortType? sortType = null, int? startIndex = null, int? totalCount = null)
+ {
+ list ??= new List();
+
+ return new AtlasClassifications(list?.ToList(), pageSize, sortBy, sortType, startIndex, totalCount);
+ }
+
+ /// Initializes a new instance of .
+ /// failed importInfoList.
+ /// successful importInfoList.
+ /// A new instance for mocking.
+ public static BulkImportResult BulkImportResult(IEnumerable failedImportInfoList = null, IEnumerable successImportInfoList = null)
+ {
+ failedImportInfoList ??= new List();
+ successImportInfoList ??= new List();
+
+ return new BulkImportResult(failedImportInfoList?.ToList(), successImportInfoList?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// childObjectName.
+ /// importStatus.
+ /// parentObjectName.
+ /// remarks.
+ /// A new instance for mocking.
+ public static ImportInfo ImportInfo(string childObjectName = null, ImportStatus? importStatus = null, string parentObjectName = null, string remarks = null)
+ {
+ return new ImportInfo(childObjectName, importStatus, parentObjectName, remarks);
+ }
+
+ /// Initializes a new instance of .
+ /// The GUID of the object.
+ /// An array of classifications.
+ /// The long version description.
+ /// The name of the glossary object.
+ /// The qualified name of the glossary object.
+ /// The short version of description.
+ /// ETag for concurrency control.
+ /// The created time of the record.
+ /// The user who created the record.
+ /// The update time of the record.
+ /// The user who updated the record.
+ /// An array of categories.
+ /// The language of the glossary.
+ /// An array of related term headers.
+ /// The usage of the glossary.
+ /// The glossary category information.
+ /// The glossary term information.
+ /// A new instance for mocking.
+ public static AtlasGlossaryExtInfo AtlasGlossaryExtInfo(string guid = null, IEnumerable classifications = null, string longDescription = null, string name = null, string qualifiedName = null, string shortDescription = null, string lastModifiedTS = null, long? createTime = null, string createdBy = null, long? updateTime = null, string updatedBy = null, IEnumerable categories = null, string language = null, IEnumerable terms = null, string usage = null, IReadOnlyDictionary categoryInfo = null, IReadOnlyDictionary termInfo = null)
+ {
+ classifications ??= new List();
+ categories ??= new List();
+ terms ??= new List();
+ categoryInfo ??= new Dictionary();
+ termInfo ??= new Dictionary();
+
+ return new AtlasGlossaryExtInfo(guid, classifications?.ToList(), longDescription, name, qualifiedName, shortDescription, lastModifiedTS, createTime, createdBy, updateTime, updatedBy, categories?.ToList(), language, terms?.ToList(), usage, categoryInfo, termInfo);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// The total number of search results (not the number of documents in a single
+ /// page).
+ ///
+ /// 'True' if the '@search.count' is an approximate value and vise versa.
+ /// The token used to get next batch of data. Absent if there's no more data.
+ ///
+ /// A facet list that consists of index fields assetType ,classification,
+ /// contactId, and label. When the facet is specified in the request, the value of
+ /// the facet is returned as an element of @search.facets.
+ ///
+ /// Search result value.
+ /// A new instance for mocking.
+ public static SearchResult SearchResult(int? searchCount = null, bool? searchCountApproximate = null, string continuationToken = null, SearchFacetResultValue searchFacets = null, IEnumerable value = null)
+ {
+ value ??= new List();
+
+ return new SearchResult(searchCount, searchCountApproximate, continuationToken, searchFacets, value?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// Entity type.
+ /// Asset type.
+ /// Classification.
+ /// Term.
+ /// Contact id.
+ /// Contact type.
+ /// Label.
+ /// Glossary type.
+ /// Term status.
+ /// Term template.
+ /// A new instance for mocking.
+ public static SearchFacetResultValue SearchFacetResultValue(IEnumerable entityType = null, IEnumerable assetType = null, IEnumerable classification = null, IEnumerable term = null, IEnumerable contactId = null, IEnumerable contactType = null, IEnumerable label = null, IEnumerable glossaryType = null, IEnumerable termStatus = null, IEnumerable termTemplate = null)
+ {
+ entityType ??= new List();
+ assetType ??= new List();
+ classification ??= new List();
+ term ??= new List();
+ contactId ??= new List();
+ contactType ??= new List();
+ label ??= new List();
+ glossaryType ??= new List();
+ termStatus ??= new List();
+ termTemplate ??= new List();
+
+ return new SearchFacetResultValue(entityType?.ToList(), assetType?.ToList(), classification?.ToList(), term?.ToList(), contactId?.ToList(), contactType?.ToList(), label?.ToList(), glossaryType?.ToList(), termStatus?.ToList(), termTemplate?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The count of the facet item.
+ /// The name of the facet item.
+ /// A new instance for mocking.
+ public static SearchFacetItemValue SearchFacetItemValue(int? count = null, string value = null)
+ {
+ return new SearchFacetItemValue(count, value);
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// The search score calculated by the search engine. The results are ordered by
+ /// search score by default.
+ ///
+ ///
+ /// A highlight list that consists of index fields id ,qualifiedName, name,
+ /// description, entityType. When the keyword appears in those fields, the value of
+ /// the field, attached with emphasis mark, is returned as an element of
+ /// @search.highlights.
+ ///
+ ///
+ /// The object type of the record. Object type is the top-level property to
+ /// distinguish whether a record is an asset or a term.
+ ///
+ /// The create time of the record. The Unix epoch format.
+ /// The last update time of the record. The Unix epoch format.
+ /// The GUID of the record.
+ /// The name of the record.
+ /// The qualified name of the record.
+ /// The type name of the asset.
+ /// The description of the asset.
+ /// The endorsement of the asset.
+ /// The owner of the record.
+ /// The classifications of the record.
+ /// The labels of the asset.
+ /// The terms assigned to the asset.
+ /// The contacts of the asset.
+ /// The asset types of the asset.
+ ///
+ /// The type name of the term. Could be AtlasGlossary, AtlasGlossaryTerm or
+ /// AtlasGlossaryCategory.
+ ///
+ /// The glossary name of the term.
+ /// The status of the term.
+ /// The term template names used by the term.
+ /// The definition of the term.
+ /// A new instance for mocking.
+ public static SearchResultValue SearchResultValue(float? searchScore = null, SearchHighlights searchHighlights = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null)
+ {
+ classification ??= new List();
+ label ??= new List();
+ term ??= new List();
+ contact ??= new List();
+ assetType ??= new List();
+ termTemplate ??= new List();
+
+ return new SearchResultValue(searchScore, searchHighlights, objectType, createTime, updateTime, id, name, qualifiedName, entityType, description, endorsement, owner, classification?.ToList(), label?.ToList(), term?.ToList(), contact?.ToList(), assetType?.ToList(), glossaryType, glossary, termStatus, termTemplate?.ToList(), longDescription);
+ }
+
+ /// Initializes a new instance of .
+ /// Id.
+ /// Qualified name.
+ /// Name.
+ /// Description.
+ /// Entity type.
+ /// A new instance for mocking.
+ public static SearchHighlights SearchHighlights(IEnumerable id = null, IEnumerable qualifiedName = null, IEnumerable name = null, IEnumerable description = null, IEnumerable entityType = null)
+ {
+ id ??= new List();
+ qualifiedName ??= new List();
+ name ??= new List();
+ description ??= new List();
+ entityType ??= new List();
+
+ return new SearchHighlights(id?.ToList(), qualifiedName?.ToList(), name?.ToList(), description?.ToList(), entityType?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The name of the term.
+ /// The name of the glossary which contains the term.
+ /// The GUID of the term.
+ /// A new instance for mocking.
+ public static TermSearchResultValue TermSearchResultValue(string name = null, string glossaryName = null, string guid = null)
+ {
+ return new TermSearchResultValue(name, glossaryName, guid);
+ }
+
+ /// Initializes a new instance of .
+ /// The GUID of the contact.
+ /// The description of the contact.
+ ///
+ /// The type of the contact. It can be Expert or Owner for an entity. It can be
+ /// Expert or Steward for a glossary term.
+ ///
+ /// A new instance for mocking.
+ public static ContactSearchResultValue ContactSearchResultValue(string id = null, string info = null, string contactType = null)
+ {
+ return new ContactSearchResultValue(id, info, contactType);
+ }
+
+ /// Initializes a new instance of .
+ /// The result value.
+ /// A new instance for mocking.
+ public static SuggestResult SuggestResult(IEnumerable value = null)
+ {
+ value ??= new List();
+
+ return new SuggestResult(value?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ ///
+ /// The search score calculated by the search engine. The results are ordered by
+ /// search score by default.
+ ///
+ ///
+ /// The target text that contains the keyword as prefix. The keyword is wrapped
+ /// with emphasis mark.
+ ///
+ ///
+ /// The object type of the record. Object type is the top-level property to
+ /// distinguish whether a record is an asset or a term.
+ ///
+ /// The create time of the record. The Unix epoch format.
+ /// The last update time of the record. The Unix epoch format.
+ /// The GUID of the record.
+ /// The name of the record.
+ /// The qualified name of the record.
+ /// The type name of the asset.
+ /// The description of the asset.
+ /// The endorsement of the asset.
+ /// The owner of the record.
+ /// The classifications of the record.
+ /// The labels of the asset.
+ /// The terms assigned to the asset.
+ /// The contacts of the asset.
+ /// The asset types of the asset.
+ ///
+ /// The type name of the term. Could be AtlasGlossary, AtlasGlossaryTerm or
+ /// AtlasGlossaryCategory.
+ ///
+ /// The glossary name of the term.
+ /// The status of the term.
+ /// The term template names used by the term.
+ /// The definition of the term.
+ /// A new instance for mocking.
+ public static SuggestResultValue SuggestResultValue(float? searchScore = null, string searchText = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null)
+ {
+ classification ??= new List();
+ label ??= new List();
+ term ??= new List();
+ contact ??= new List();
+ assetType ??= new List();
+ termTemplate ??= new List();
+
+ return new SuggestResultValue(searchScore, searchText, objectType, createTime, updateTime, id, name, qualifiedName, entityType, description, endorsement, owner, classification?.ToList(), label?.ToList(), term?.ToList(), contact?.ToList(), assetType?.ToList(), glossaryType, glossary, termStatus, termTemplate?.ToList(), longDescription);
+ }
+
+ /// Initializes a new instance of .
+ /// The result value.
+ /// A new instance for mocking.
+ public static AutoCompleteResult AutoCompleteResult(IEnumerable value = null)
+ {
+ value ??= new List();
+
+ return new AutoCompleteResult(value?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The completed term or phrase.
+ /// The completed search query text.
+ /// A new instance for mocking.
+ public static AutoCompleteResultValue AutoCompleteResultValue(string text = null, string queryPlusText = null)
+ {
+ return new AutoCompleteResultValue(text, queryPlusText);
+ }
+
+ /// Initializes a new instance of .
+ /// The GUID of the base entity.
+ /// The GUID entity map.
+ /// The entity count in specific direction.
+ /// The depth of lineage.
+ /// The width of lineage.
+ /// The number of children node.
+ /// The enum of lineage direction.
+ /// An array of parentRelations relations.
+ /// An array of lineage relations.
+ /// A new instance for mocking.
+ public static AtlasLineageInfo AtlasLineageInfo(string baseEntityGuid = null, IReadOnlyDictionary guidEntityMap = null, IReadOnlyDictionary> widthCounts = null, int? lineageDepth = null, int? lineageWidth = null, int? childrenCount = null, LineageDirection? lineageDirection = null, IEnumerable parentRelations = null, IEnumerable relations = null)
+ {
+ guidEntityMap ??= new Dictionary();
+ widthCounts ??= new Dictionary>();
+ parentRelations ??= new List();
+ relations ??= new List();
+
+ return new AtlasLineageInfo(baseEntityGuid, guidEntityMap, widthCounts, lineageDepth, lineageWidth, childrenCount, lineageDirection, parentRelations?.ToList(), relations?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The GUID of child entity.
+ /// The GUID of relationship.
+ /// The GUID of parent entity.
+ /// A new instance for mocking.
+ public static ParentRelation ParentRelation(string childEntityId = null, string relationshipId = null, string parentEntityId = null)
+ {
+ return new ParentRelation(childEntityId, relationshipId, parentEntityId);
+ }
+
+ /// Initializes a new instance of .
+ /// The GUID of from-entity.
+ /// The GUID of relationship.
+ /// The GUID of to-entity.
+ /// A new instance for mocking.
+ public static LineageRelation LineageRelation(string fromEntityId = null, string relationshipId = null, string toEntityId = null)
+ {
+ return new LineageRelation(fromEntityId, relationshipId, toEntityId);
+ }
+
+ /// Initializes a new instance of .
+ /// The referred entity header.
+ /// Atlas relationship instance.
+ /// A new instance for mocking.
+ public static AtlasRelationshipWithExtInfo AtlasRelationshipWithExtInfo(IReadOnlyDictionary referredEntities = null, AtlasRelationship relationship = null)
+ {
+ referredEntities ??= new Dictionary();
+
+ return new AtlasRelationshipWithExtInfo(referredEntities, relationship);
+ }
+
+ /// Initializes a new instance of .
+ /// The enum of type category.
+ /// The created time of the record.
+ /// The user who created the record.
+ /// The date format.
+ /// The description of the type definition.
+ /// The GUID of the type definition.
+ /// The name of the type definition.
+ /// The options for the type definition.
+ /// The service type.
+ /// The version of the type.
+ /// The update time of the record.
+ /// The user who updated the record.
+ /// The version of the record.
+ /// ETag for concurrency control.
+ ///
+ /// Specifying a list of entityType names in the classificationDef, ensures that
+ /// classifications can
+ /// only be applied to those entityTypes.
+ ///
+ /// Any subtypes of the entity types inherit the restriction.
+ ///
+ /// Any classificationDef subtypes inherit the parents entityTypes restrictions.
+ ///
+ /// Any classificationDef subtypes can further restrict the parents entityTypes
+ /// restrictions by specifying a subset of the entityTypes.
+ ///
+ /// An empty entityTypes list when there are no parent restrictions means there are no
+ /// restrictions.
+ ///
+ /// An empty entityTypes list when there are parent
+ /// restrictions means that the subtype picks up the parents
+ /// restrictions.
+ ///
+ /// If a list of entityTypes are supplied, where one inherits
+ /// from another, this will be rejected. This should encourage cleaner
+ /// classificationsDefs.
+ ///
+ ///
+ /// An array of sub types.
+ /// An array of super types.
+ /// An array of relationship attributes.
+ /// The default value.
+ /// An array of enum element definitions.
+ ///
+ /// The relationshipEndDef represents an end of the relationship. The end of the
+ /// relationship is defined by a type, an
+ /// attribute name, cardinality and whether
+ /// it is the container end of the relationship.
+ ///
+ ///
+ /// The relationshipEndDef represents an end of the relationship. The end of the
+ /// relationship is defined by a type, an
+ /// attribute name, cardinality and whether
+ /// it is the container end of the relationship.
+ ///
+ ///
+ /// The Relationship category determines the style of relationship around
+ /// containment and lifecycle.
+ /// UML terminology is used for the values.
+ ///
+ /// ASSOCIATION is a relationship with no containment.
+ /// COMPOSITION and AGGREGATION are containment relationships.
+ ///
+ /// The difference being in the lifecycles of the container and its children.
+ /// In the COMPOSITION case, the children cannot exist without the container.
+ /// For AGGREGATION, the life cycles of the container and children are totally independent.
+ ///
+ /// The label of the relationship.
+ /// An array of attribute definitions.
+ /// A new instance for mocking.
+ public static AtlasTypeDef AtlasTypeDef(TypeCategory? category = null, long? createTime = null, string createdBy = null, DateFormat dateFormatter = null, string description = null, string guid = null, string name = null, IReadOnlyDictionary options = null, string serviceType = null, string typeVersion = null, long? updateTime = null, string updatedBy = null, long? version = null, string lastModifiedTS = null, IEnumerable entityTypes = null, IEnumerable subTypes = null, IEnumerable superTypes = null, IEnumerable relationshipAttributeDefs = null, string defaultValue = null, IEnumerable elementDefs = null, AtlasRelationshipEndDef endDef1 = null, AtlasRelationshipEndDef endDef2 = null, RelationshipCategory? relationshipCategory = null, string relationshipLabel = null, IEnumerable attributeDefs = null)
+ {
+ options ??= new Dictionary();
+ entityTypes ??= new List();
+ subTypes ??= new List();
+ superTypes ??= new List();
+ relationshipAttributeDefs ??= new List();
+ elementDefs ??= new List();
+ attributeDefs ??= new List();
+
+ return new AtlasTypeDef(category, createTime, createdBy, dateFormatter, description, guid, name, options, serviceType, typeVersion, updateTime, updatedBy, version, lastModifiedTS, entityTypes?.ToList(), subTypes?.ToList(), superTypes?.ToList(), relationshipAttributeDefs?.ToList(), defaultValue, elementDefs?.ToList(), endDef1, endDef2, relationshipCategory, relationshipLabel, attributeDefs?.ToList());
+ }
+
+ /// Initializes a new instance of .
+ /// The enum of type category.
+ /// The GUID of the type definition.
+ /// The name of the type definition.
+ /// A new instance for mocking.
+ public static AtlasTypeDefHeader AtlasTypeDefHeader(TypeCategory? category = null, string guid = null, string name = null)
+ {
+ return new AtlasTypeDefHeader(category, guid, name);
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.Serialization.cs
new file mode 100644
index 0000000000000..6d0250f487471
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.Serialization.cs
@@ -0,0 +1,38 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AndFilter : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ writer.WritePropertyName("and"u8);
+ writer.WriteStartArray();
+ foreach (var item in AndFilters)
+ {
+ writer.WriteObjectValue(item);
+ }
+ writer.WriteEndArray();
+ writer.WritePropertyName("kind"u8);
+ writer.WriteStringValue(Kind);
+ writer.WriteEndObject();
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal override RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.cs
new file mode 100644
index 0000000000000..840f0f746427f
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AndFilter.cs
@@ -0,0 +1,44 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// And filter for search.
+ public partial class AndFilter : SearchFilter
+ {
+ /// Initializes a new instance of .
+ /// List of filters.
+ /// is null.
+ public AndFilter(IEnumerable andFilters)
+ {
+ Argument.AssertNotNull(andFilters, nameof(andFilters));
+
+ Kind = "AndFilter";
+ AndFilters = andFilters.ToList();
+ }
+
+ /// Initializes a new instance of .
+ /// Discriminator.
+ /// List of filters.
+ internal AndFilter(string kind, IList andFilters) : base(kind)
+ {
+ AndFilters = andFilters;
+ }
+
+ ///
+ /// List of filters
+ /// Please note is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes.
+ /// The available derived classes include , , , , , , , , , , , , , , , , , , , , and .
+ ///
+ public IList AndFilters { get; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.Serialization.cs
new file mode 100644
index 0000000000000..6d59f8f97b2b9
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.Serialization.cs
@@ -0,0 +1,33 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Text.Json;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AssetTypeFilter : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ writer.WritePropertyName("assetType"u8);
+ writer.WriteStringValue(AssetType);
+ writer.WritePropertyName("kind"u8);
+ writer.WriteStringValue(Kind);
+ writer.WriteEndObject();
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal override RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.cs
new file mode 100644
index 0000000000000..fa055ef62b7b9
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AssetTypeFilter.cs
@@ -0,0 +1,38 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// Asset type filter for search.
+ public partial class AssetTypeFilter : SearchFilter
+ {
+ /// Initializes a new instance of .
+ /// Asset type name.
+ /// is null.
+ public AssetTypeFilter(string assetType)
+ {
+ Argument.AssertNotNull(assetType, nameof(assetType));
+
+ Kind = "AssetTypeFilter";
+ AssetType = assetType;
+ }
+
+ /// Initializes a new instance of .
+ /// Discriminator.
+ /// Asset type name.
+ internal AssetTypeFilter(string kind, string assetType) : base(kind)
+ {
+ AssetType = assetType;
+ }
+
+ /// Asset type name.
+ public string AssetType { get; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.Serialization.cs
new file mode 100644
index 0000000000000..5e9567608de77
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.Serialization.cs
@@ -0,0 +1,251 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AtlasAttributeDef : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ if (Optional.IsDefined(Cardinality))
+ {
+ writer.WritePropertyName("cardinality"u8);
+ writer.WriteStringValue(Cardinality.Value.ToString());
+ }
+ if (Optional.IsCollectionDefined(Constraints))
+ {
+ writer.WritePropertyName("constraints"u8);
+ writer.WriteStartArray();
+ foreach (var item in Constraints)
+ {
+ writer.WriteObjectValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ if (Optional.IsDefined(DefaultValue))
+ {
+ writer.WritePropertyName("defaultValue"u8);
+ writer.WriteStringValue(DefaultValue);
+ }
+ if (Optional.IsDefined(Description))
+ {
+ writer.WritePropertyName("description"u8);
+ writer.WriteStringValue(Description);
+ }
+ if (Optional.IsDefined(IncludeInNotification))
+ {
+ writer.WritePropertyName("includeInNotification"u8);
+ writer.WriteBooleanValue(IncludeInNotification.Value);
+ }
+ if (Optional.IsDefined(IsIndexable))
+ {
+ writer.WritePropertyName("isIndexable"u8);
+ writer.WriteBooleanValue(IsIndexable.Value);
+ }
+ if (Optional.IsDefined(IsOptional))
+ {
+ writer.WritePropertyName("isOptional"u8);
+ writer.WriteBooleanValue(IsOptional.Value);
+ }
+ if (Optional.IsDefined(IsUnique))
+ {
+ writer.WritePropertyName("isUnique"u8);
+ writer.WriteBooleanValue(IsUnique.Value);
+ }
+ if (Optional.IsDefined(Name))
+ {
+ writer.WritePropertyName("name"u8);
+ writer.WriteStringValue(Name);
+ }
+ if (Optional.IsCollectionDefined(Options))
+ {
+ writer.WritePropertyName("options"u8);
+ writer.WriteStartObject();
+ foreach (var item in Options)
+ {
+ writer.WritePropertyName(item.Key);
+ writer.WriteStringValue(item.Value);
+ }
+ writer.WriteEndObject();
+ }
+ if (Optional.IsDefined(TypeName))
+ {
+ writer.WritePropertyName("typeName"u8);
+ writer.WriteStringValue(TypeName);
+ }
+ if (Optional.IsDefined(ValuesMaxCount))
+ {
+ writer.WritePropertyName("valuesMaxCount"u8);
+ writer.WriteNumberValue(ValuesMaxCount.Value);
+ }
+ if (Optional.IsDefined(ValuesMinCount))
+ {
+ writer.WritePropertyName("valuesMinCount"u8);
+ writer.WriteNumberValue(ValuesMinCount.Value);
+ }
+ writer.WriteEndObject();
+ }
+
+ internal static AtlasAttributeDef DeserializeAtlasAttributeDef(JsonElement element)
+ {
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ Optional cardinality = default;
+ Optional> constraints = default;
+ Optional defaultValue = default;
+ Optional description = default;
+ Optional includeInNotification = default;
+ Optional isIndexable = default;
+ Optional isOptional = default;
+ Optional isUnique = default;
+ Optional name = default;
+ Optional> options = default;
+ Optional typeName = default;
+ Optional valuesMaxCount = default;
+ Optional valuesMinCount = default;
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("cardinality"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ cardinality = new CardinalityValue(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("constraints"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(AtlasConstraintDef.DeserializeAtlasConstraintDef(item));
+ }
+ constraints = array;
+ continue;
+ }
+ if (property.NameEquals("defaultValue"u8))
+ {
+ defaultValue = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("description"u8))
+ {
+ description = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("includeInNotification"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ includeInNotification = property.Value.GetBoolean();
+ continue;
+ }
+ if (property.NameEquals("isIndexable"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ isIndexable = property.Value.GetBoolean();
+ continue;
+ }
+ if (property.NameEquals("isOptional"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ isOptional = property.Value.GetBoolean();
+ continue;
+ }
+ if (property.NameEquals("isUnique"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ isUnique = property.Value.GetBoolean();
+ continue;
+ }
+ if (property.NameEquals("name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("options"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ Dictionary dictionary = new Dictionary();
+ foreach (var property0 in property.Value.EnumerateObject())
+ {
+ dictionary.Add(property0.Name, property0.Value.GetString());
+ }
+ options = dictionary;
+ continue;
+ }
+ if (property.NameEquals("typeName"u8))
+ {
+ typeName = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("valuesMaxCount"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ valuesMaxCount = property.Value.GetInt32();
+ continue;
+ }
+ if (property.NameEquals("valuesMinCount"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ valuesMinCount = property.Value.GetInt32();
+ continue;
+ }
+ }
+ return new AtlasAttributeDef(Optional.ToNullable(cardinality), Optional.ToList(constraints), defaultValue.Value, description.Value, Optional.ToNullable(includeInNotification), Optional.ToNullable(isIndexable), Optional.ToNullable(isOptional), Optional.ToNullable(isUnique), name.Value, Optional.ToDictionary(options), typeName.Value, Optional.ToNullable(valuesMaxCount), Optional.ToNullable(valuesMinCount));
+ }
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AtlasAttributeDef FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content);
+ return DeserializeAtlasAttributeDef(document.RootElement);
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.cs
new file mode 100644
index 0000000000000..919695c4be025
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasAttributeDef.cs
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// class that captures details of a struct-attribute.
+ public partial class AtlasAttributeDef
+ {
+ /// Initializes a new instance of .
+ public AtlasAttributeDef()
+ {
+ Constraints = new ChangeTrackingList();
+ Options = new ChangeTrackingDictionary();
+ }
+
+ /// Initializes a new instance of .
+ /// single-valued attribute or multi-valued attribute.
+ /// An array of constraints.
+ /// The default value of the attribute.
+ /// The description of the attribute.
+ /// Determines if it is included in notification.
+ /// Determines if it is indexable.
+ /// Determines if it is optional.
+ /// Determines if it unique.
+ /// The name of the attribute.
+ /// The options for the attribute.
+ /// The name of the type.
+ /// The maximum count of the values.
+ /// The minimum count of the values.
+ internal AtlasAttributeDef(CardinalityValue? cardinality, IList constraints, string defaultValue, string description, bool? includeInNotification, bool? isIndexable, bool? isOptional, bool? isUnique, string name, IDictionary options, string typeName, int? valuesMaxCount, int? valuesMinCount)
+ {
+ Cardinality = cardinality;
+ Constraints = constraints;
+ DefaultValue = defaultValue;
+ Description = description;
+ IncludeInNotification = includeInNotification;
+ IsIndexable = isIndexable;
+ IsOptional = isOptional;
+ IsUnique = isUnique;
+ Name = name;
+ Options = options;
+ TypeName = typeName;
+ ValuesMaxCount = valuesMaxCount;
+ ValuesMinCount = valuesMinCount;
+ }
+
+ /// single-valued attribute or multi-valued attribute.
+ public CardinalityValue? Cardinality { get; set; }
+ /// An array of constraints.
+ public IList Constraints { get; }
+ /// The default value of the attribute.
+ public string DefaultValue { get; set; }
+ /// The description of the attribute.
+ public string Description { get; set; }
+ /// Determines if it is included in notification.
+ public bool? IncludeInNotification { get; set; }
+ /// Determines if it is indexable.
+ public bool? IsIndexable { get; set; }
+ /// Determines if it is optional.
+ public bool? IsOptional { get; set; }
+ /// Determines if it unique.
+ public bool? IsUnique { get; set; }
+ /// The name of the attribute.
+ public string Name { get; set; }
+ /// The options for the attribute.
+ public IDictionary Options { get; }
+ /// The name of the type.
+ public string TypeName { get; set; }
+ /// The maximum count of the values.
+ public int? ValuesMaxCount { get; set; }
+ /// The minimum count of the values.
+ public int? ValuesMinCount { get; set; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.Serialization.cs
new file mode 100644
index 0000000000000..286d267531744
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.Serialization.cs
@@ -0,0 +1,265 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AtlasBusinessMetadataDef : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ if (Optional.IsDefined(Category))
+ {
+ writer.WritePropertyName("category"u8);
+ writer.WriteStringValue(Category.Value.ToString());
+ }
+ if (Optional.IsDefined(CreateTime))
+ {
+ writer.WritePropertyName("createTime"u8);
+ writer.WriteNumberValue(CreateTime.Value);
+ }
+ if (Optional.IsDefined(CreatedBy))
+ {
+ writer.WritePropertyName("createdBy"u8);
+ writer.WriteStringValue(CreatedBy);
+ }
+ if (Optional.IsDefined(DateFormatter))
+ {
+ writer.WritePropertyName("dateFormatter"u8);
+ writer.WriteObjectValue(DateFormatter);
+ }
+ if (Optional.IsDefined(Description))
+ {
+ writer.WritePropertyName("description"u8);
+ writer.WriteStringValue(Description);
+ }
+ if (Optional.IsDefined(Guid))
+ {
+ writer.WritePropertyName("guid"u8);
+ writer.WriteStringValue(Guid);
+ }
+ if (Optional.IsDefined(Name))
+ {
+ writer.WritePropertyName("name"u8);
+ writer.WriteStringValue(Name);
+ }
+ if (Optional.IsCollectionDefined(Options))
+ {
+ writer.WritePropertyName("options"u8);
+ writer.WriteStartObject();
+ foreach (var item in Options)
+ {
+ writer.WritePropertyName(item.Key);
+ writer.WriteStringValue(item.Value);
+ }
+ writer.WriteEndObject();
+ }
+ if (Optional.IsDefined(ServiceType))
+ {
+ writer.WritePropertyName("serviceType"u8);
+ writer.WriteStringValue(ServiceType);
+ }
+ if (Optional.IsDefined(TypeVersion))
+ {
+ writer.WritePropertyName("typeVersion"u8);
+ writer.WriteStringValue(TypeVersion);
+ }
+ if (Optional.IsDefined(UpdateTime))
+ {
+ writer.WritePropertyName("updateTime"u8);
+ writer.WriteNumberValue(UpdateTime.Value);
+ }
+ if (Optional.IsDefined(UpdatedBy))
+ {
+ writer.WritePropertyName("updatedBy"u8);
+ writer.WriteStringValue(UpdatedBy);
+ }
+ if (Optional.IsDefined(Version))
+ {
+ writer.WritePropertyName("version"u8);
+ writer.WriteNumberValue(Version.Value);
+ }
+ if (Optional.IsDefined(LastModifiedTS))
+ {
+ writer.WritePropertyName("lastModifiedTS"u8);
+ writer.WriteStringValue(LastModifiedTS);
+ }
+ if (Optional.IsCollectionDefined(AttributeDefs))
+ {
+ writer.WritePropertyName("attributeDefs"u8);
+ writer.WriteStartArray();
+ foreach (var item in AttributeDefs)
+ {
+ writer.WriteObjectValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ writer.WriteEndObject();
+ }
+
+ internal static AtlasBusinessMetadataDef DeserializeAtlasBusinessMetadataDef(JsonElement element)
+ {
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ Optional category = default;
+ Optional createTime = default;
+ Optional createdBy = default;
+ Optional dateFormatter = default;
+ Optional description = default;
+ Optional guid = default;
+ Optional name = default;
+ Optional> options = default;
+ Optional serviceType = default;
+ Optional typeVersion = default;
+ Optional updateTime = default;
+ Optional updatedBy = default;
+ Optional version = default;
+ Optional lastModifiedTS = default;
+ Optional> attributeDefs = default;
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("category"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ category = new TypeCategory(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("createTime"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ createTime = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("createdBy"u8))
+ {
+ createdBy = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("dateFormatter"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ dateFormatter = DateFormat.DeserializeDateFormat(property.Value);
+ continue;
+ }
+ if (property.NameEquals("description"u8))
+ {
+ description = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("guid"u8))
+ {
+ guid = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("options"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ Dictionary dictionary = new Dictionary();
+ foreach (var property0 in property.Value.EnumerateObject())
+ {
+ dictionary.Add(property0.Name, property0.Value.GetString());
+ }
+ options = dictionary;
+ continue;
+ }
+ if (property.NameEquals("serviceType"u8))
+ {
+ serviceType = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("typeVersion"u8))
+ {
+ typeVersion = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("updateTime"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ updateTime = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("updatedBy"u8))
+ {
+ updatedBy = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("version"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ version = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("lastModifiedTS"u8))
+ {
+ lastModifiedTS = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("attributeDefs"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(AtlasAttributeDef.DeserializeAtlasAttributeDef(item));
+ }
+ attributeDefs = array;
+ continue;
+ }
+ }
+ return new AtlasBusinessMetadataDef(Optional.ToNullable(category), Optional.ToNullable(createTime), createdBy.Value, dateFormatter.Value, description.Value, guid.Value, name.Value, Optional.ToDictionary(options), serviceType.Value, typeVersion.Value, Optional.ToNullable(updateTime), updatedBy.Value, Optional.ToNullable(version), lastModifiedTS.Value, Optional.ToList(attributeDefs));
+ }
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AtlasBusinessMetadataDef FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content);
+ return DeserializeAtlasBusinessMetadataDef(document.RootElement);
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.cs
new file mode 100644
index 0000000000000..3eb61e443f148
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasBusinessMetadataDef.cs
@@ -0,0 +1,89 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// class that captures details of a struct-type.
+ public partial class AtlasBusinessMetadataDef
+ {
+ /// Initializes a new instance of .
+ public AtlasBusinessMetadataDef()
+ {
+ Options = new ChangeTrackingDictionary();
+ AttributeDefs = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// The enum of type category.
+ /// The created time of the record.
+ /// The user who created the record.
+ /// The date format.
+ /// The description of the type definition.
+ /// The GUID of the type definition.
+ /// The name of the type definition.
+ /// The options for the type definition.
+ /// The service type.
+ /// The version of the type.
+ /// The update time of the record.
+ /// The user who updated the record.
+ /// The version of the record.
+ /// ETag for concurrency control.
+ /// An array of attribute definitions.
+ internal AtlasBusinessMetadataDef(TypeCategory? category, long? createTime, string createdBy, DateFormat dateFormatter, string description, string guid, string name, IDictionary options, string serviceType, string typeVersion, long? updateTime, string updatedBy, long? version, string lastModifiedTS, IList attributeDefs)
+ {
+ Category = category;
+ CreateTime = createTime;
+ CreatedBy = createdBy;
+ DateFormatter = dateFormatter;
+ Description = description;
+ Guid = guid;
+ Name = name;
+ Options = options;
+ ServiceType = serviceType;
+ TypeVersion = typeVersion;
+ UpdateTime = updateTime;
+ UpdatedBy = updatedBy;
+ Version = version;
+ LastModifiedTS = lastModifiedTS;
+ AttributeDefs = attributeDefs;
+ }
+
+ /// The enum of type category.
+ public TypeCategory? Category { get; set; }
+ /// The created time of the record.
+ public long? CreateTime { get; set; }
+ /// The user who created the record.
+ public string CreatedBy { get; set; }
+ /// The date format.
+ public DateFormat DateFormatter { get; set; }
+ /// The description of the type definition.
+ public string Description { get; set; }
+ /// The GUID of the type definition.
+ public string Guid { get; set; }
+ /// The name of the type definition.
+ public string Name { get; set; }
+ /// The options for the type definition.
+ public IDictionary Options { get; }
+ /// The service type.
+ public string ServiceType { get; set; }
+ /// The version of the type.
+ public string TypeVersion { get; set; }
+ /// The update time of the record.
+ public long? UpdateTime { get; set; }
+ /// The user who updated the record.
+ public string UpdatedBy { get; set; }
+ /// The version of the record.
+ public long? Version { get; set; }
+ /// ETag for concurrency control.
+ public string LastModifiedTS { get; set; }
+ /// An array of attribute definitions.
+ public IList AttributeDefs { get; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.Serialization.cs
new file mode 100644
index 0000000000000..7ec521d415604
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.Serialization.cs
@@ -0,0 +1,185 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AtlasClassification : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ if (Optional.IsCollectionDefined(Attributes))
+ {
+ writer.WritePropertyName("attributes"u8);
+ writer.WriteStartObject();
+ foreach (var item in Attributes)
+ {
+ writer.WritePropertyName(item.Key);
+ if (item.Value == null)
+ {
+ writer.WriteNullValue();
+ continue;
+ }
+#if NET6_0_OR_GREATER
+ writer.WriteRawValue(item.Value);
+#else
+ using (JsonDocument document = JsonDocument.Parse(item.Value))
+ {
+ JsonSerializer.Serialize(writer, document.RootElement);
+ }
+#endif
+ }
+ writer.WriteEndObject();
+ }
+ if (Optional.IsDefined(TypeName))
+ {
+ writer.WritePropertyName("typeName"u8);
+ writer.WriteStringValue(TypeName);
+ }
+ if (Optional.IsDefined(LastModifiedTS))
+ {
+ writer.WritePropertyName("lastModifiedTS"u8);
+ writer.WriteStringValue(LastModifiedTS);
+ }
+ if (Optional.IsDefined(EntityGuid))
+ {
+ writer.WritePropertyName("entityGuid"u8);
+ writer.WriteStringValue(EntityGuid);
+ }
+ if (Optional.IsDefined(EntityStatus))
+ {
+ writer.WritePropertyName("entityStatus"u8);
+ writer.WriteStringValue(EntityStatus.Value.ToString());
+ }
+ if (Optional.IsDefined(RemovePropagationsOnEntityDelete))
+ {
+ writer.WritePropertyName("removePropagationsOnEntityDelete"u8);
+ writer.WriteBooleanValue(RemovePropagationsOnEntityDelete.Value);
+ }
+ if (Optional.IsCollectionDefined(ValidityPeriods))
+ {
+ writer.WritePropertyName("validityPeriods"u8);
+ writer.WriteStartArray();
+ foreach (var item in ValidityPeriods)
+ {
+ writer.WriteObjectValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ writer.WriteEndObject();
+ }
+
+ internal static AtlasClassification DeserializeAtlasClassification(JsonElement element)
+ {
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ Optional> attributes = default;
+ Optional typeName = default;
+ Optional lastModifiedTS = default;
+ Optional entityGuid = default;
+ Optional entityStatus = default;
+ Optional removePropagationsOnEntityDelete = default;
+ Optional> validityPeriods = default;
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("attributes"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ Dictionary dictionary = new Dictionary();
+ foreach (var property0 in property.Value.EnumerateObject())
+ {
+ if (property0.Value.ValueKind == JsonValueKind.Null)
+ {
+ dictionary.Add(property0.Name, null);
+ }
+ else
+ {
+ dictionary.Add(property0.Name, BinaryData.FromString(property0.Value.GetRawText()));
+ }
+ }
+ attributes = dictionary;
+ continue;
+ }
+ if (property.NameEquals("typeName"u8))
+ {
+ typeName = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("lastModifiedTS"u8))
+ {
+ lastModifiedTS = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("entityGuid"u8))
+ {
+ entityGuid = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("entityStatus"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ entityStatus = new EntityStatus(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("removePropagationsOnEntityDelete"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ removePropagationsOnEntityDelete = property.Value.GetBoolean();
+ continue;
+ }
+ if (property.NameEquals("validityPeriods"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(TimeBoundary.DeserializeTimeBoundary(item));
+ }
+ validityPeriods = array;
+ continue;
+ }
+ }
+ return new AtlasClassification(Optional.ToDictionary(attributes), typeName.Value, lastModifiedTS.Value, entityGuid.Value, Optional.ToNullable(entityStatus), Optional.ToNullable(removePropagationsOnEntityDelete), Optional.ToList(validityPeriods));
+ }
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AtlasClassification FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content);
+ return DeserializeAtlasClassification(document.RootElement);
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.cs
new file mode 100644
index 0000000000000..9e16531758040
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassification.cs
@@ -0,0 +1,96 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ ///
+ /// An instance of a classification; it doesn't have an identity, this object
+ /// exists only when associated with an entity.
+ ///
+ public partial class AtlasClassification
+ {
+ /// Initializes a new instance of .
+ public AtlasClassification()
+ {
+ Attributes = new ChangeTrackingDictionary();
+ ValidityPeriods = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// The attributes of the struct.
+ /// The name of the type.
+ /// ETag for concurrency control.
+ /// The GUID of the entity.
+ ///
+ /// Status of the entity - can be active or deleted. Deleted entities are not
+ /// removed.
+ ///
+ /// Determines if propagations will be removed on entity deletion.
+ /// An array of time boundaries indicating validity periods.
+ internal AtlasClassification(IDictionary attributes, string typeName, string lastModifiedTS, string entityGuid, EntityStatus? entityStatus, bool? removePropagationsOnEntityDelete, IList validityPeriods)
+ {
+ Attributes = attributes;
+ TypeName = typeName;
+ LastModifiedTS = lastModifiedTS;
+ EntityGuid = entityGuid;
+ EntityStatus = entityStatus;
+ RemovePropagationsOnEntityDelete = removePropagationsOnEntityDelete;
+ ValidityPeriods = validityPeriods;
+ }
+
+ ///
+ /// The attributes of the struct.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ public IDictionary Attributes { get; }
+ /// The name of the type.
+ public string TypeName { get; set; }
+ /// ETag for concurrency control.
+ public string LastModifiedTS { get; set; }
+ /// The GUID of the entity.
+ public string EntityGuid { get; set; }
+ ///
+ /// Status of the entity - can be active or deleted. Deleted entities are not
+ /// removed.
+ ///
+ public EntityStatus? EntityStatus { get; set; }
+ /// Determines if propagations will be removed on entity deletion.
+ public bool? RemovePropagationsOnEntityDelete { get; set; }
+ /// An array of time boundaries indicating validity periods.
+ public IList ValidityPeriods { get; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.Serialization.cs
new file mode 100644
index 0000000000000..8802132173879
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.Serialization.cs
@@ -0,0 +1,340 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AtlasClassificationDef : IUtf8JsonSerializable
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
+ {
+ writer.WriteStartObject();
+ if (Optional.IsDefined(Category))
+ {
+ writer.WritePropertyName("category"u8);
+ writer.WriteStringValue(Category.Value.ToString());
+ }
+ if (Optional.IsDefined(CreateTime))
+ {
+ writer.WritePropertyName("createTime"u8);
+ writer.WriteNumberValue(CreateTime.Value);
+ }
+ if (Optional.IsDefined(CreatedBy))
+ {
+ writer.WritePropertyName("createdBy"u8);
+ writer.WriteStringValue(CreatedBy);
+ }
+ if (Optional.IsDefined(DateFormatter))
+ {
+ writer.WritePropertyName("dateFormatter"u8);
+ writer.WriteObjectValue(DateFormatter);
+ }
+ if (Optional.IsDefined(Description))
+ {
+ writer.WritePropertyName("description"u8);
+ writer.WriteStringValue(Description);
+ }
+ if (Optional.IsDefined(Guid))
+ {
+ writer.WritePropertyName("guid"u8);
+ writer.WriteStringValue(Guid);
+ }
+ if (Optional.IsDefined(Name))
+ {
+ writer.WritePropertyName("name"u8);
+ writer.WriteStringValue(Name);
+ }
+ if (Optional.IsCollectionDefined(Options))
+ {
+ writer.WritePropertyName("options"u8);
+ writer.WriteStartObject();
+ foreach (var item in Options)
+ {
+ writer.WritePropertyName(item.Key);
+ writer.WriteStringValue(item.Value);
+ }
+ writer.WriteEndObject();
+ }
+ if (Optional.IsDefined(ServiceType))
+ {
+ writer.WritePropertyName("serviceType"u8);
+ writer.WriteStringValue(ServiceType);
+ }
+ if (Optional.IsDefined(TypeVersion))
+ {
+ writer.WritePropertyName("typeVersion"u8);
+ writer.WriteStringValue(TypeVersion);
+ }
+ if (Optional.IsDefined(UpdateTime))
+ {
+ writer.WritePropertyName("updateTime"u8);
+ writer.WriteNumberValue(UpdateTime.Value);
+ }
+ if (Optional.IsDefined(UpdatedBy))
+ {
+ writer.WritePropertyName("updatedBy"u8);
+ writer.WriteStringValue(UpdatedBy);
+ }
+ if (Optional.IsDefined(Version))
+ {
+ writer.WritePropertyName("version"u8);
+ writer.WriteNumberValue(Version.Value);
+ }
+ if (Optional.IsDefined(LastModifiedTS))
+ {
+ writer.WritePropertyName("lastModifiedTS"u8);
+ writer.WriteStringValue(LastModifiedTS);
+ }
+ if (Optional.IsCollectionDefined(AttributeDefs))
+ {
+ writer.WritePropertyName("attributeDefs"u8);
+ writer.WriteStartArray();
+ foreach (var item in AttributeDefs)
+ {
+ writer.WriteObjectValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ if (Optional.IsCollectionDefined(EntityTypes))
+ {
+ writer.WritePropertyName("entityTypes"u8);
+ writer.WriteStartArray();
+ foreach (var item in EntityTypes)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ if (Optional.IsCollectionDefined(SubTypes))
+ {
+ writer.WritePropertyName("subTypes"u8);
+ writer.WriteStartArray();
+ foreach (var item in SubTypes)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ if (Optional.IsCollectionDefined(SuperTypes))
+ {
+ writer.WritePropertyName("superTypes"u8);
+ writer.WriteStartArray();
+ foreach (var item in SuperTypes)
+ {
+ writer.WriteStringValue(item);
+ }
+ writer.WriteEndArray();
+ }
+ writer.WriteEndObject();
+ }
+
+ internal static AtlasClassificationDef DeserializeAtlasClassificationDef(JsonElement element)
+ {
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ Optional category = default;
+ Optional createTime = default;
+ Optional createdBy = default;
+ Optional dateFormatter = default;
+ Optional description = default;
+ Optional guid = default;
+ Optional name = default;
+ Optional> options = default;
+ Optional serviceType = default;
+ Optional typeVersion = default;
+ Optional updateTime = default;
+ Optional updatedBy = default;
+ Optional version = default;
+ Optional lastModifiedTS = default;
+ Optional> attributeDefs = default;
+ Optional> entityTypes = default;
+ Optional> subTypes = default;
+ Optional> superTypes = default;
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("category"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ category = new TypeCategory(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("createTime"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ createTime = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("createdBy"u8))
+ {
+ createdBy = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("dateFormatter"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ dateFormatter = DateFormat.DeserializeDateFormat(property.Value);
+ continue;
+ }
+ if (property.NameEquals("description"u8))
+ {
+ description = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("guid"u8))
+ {
+ guid = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("options"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ Dictionary dictionary = new Dictionary();
+ foreach (var property0 in property.Value.EnumerateObject())
+ {
+ dictionary.Add(property0.Name, property0.Value.GetString());
+ }
+ options = dictionary;
+ continue;
+ }
+ if (property.NameEquals("serviceType"u8))
+ {
+ serviceType = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("typeVersion"u8))
+ {
+ typeVersion = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("updateTime"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ updateTime = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("updatedBy"u8))
+ {
+ updatedBy = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("version"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ version = property.Value.GetInt64();
+ continue;
+ }
+ if (property.NameEquals("lastModifiedTS"u8))
+ {
+ lastModifiedTS = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("attributeDefs"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(AtlasAttributeDef.DeserializeAtlasAttributeDef(item));
+ }
+ attributeDefs = array;
+ continue;
+ }
+ if (property.NameEquals("entityTypes"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ entityTypes = array;
+ continue;
+ }
+ if (property.NameEquals("subTypes"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ subTypes = array;
+ continue;
+ }
+ if (property.NameEquals("superTypes"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ array.Add(item.GetString());
+ }
+ superTypes = array;
+ continue;
+ }
+ }
+ return new AtlasClassificationDef(Optional.ToNullable(category), Optional.ToNullable(createTime), createdBy.Value, dateFormatter.Value, description.Value, guid.Value, name.Value, Optional.ToDictionary(options), serviceType.Value, typeVersion.Value, Optional.ToNullable(updateTime), updatedBy.Value, Optional.ToNullable(version), lastModifiedTS.Value, Optional.ToList(attributeDefs), Optional.ToList(entityTypes), Optional.ToList(subTypes), Optional.ToList(superTypes));
+ }
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AtlasClassificationDef FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content);
+ return DeserializeAtlasClassificationDef(document.RootElement);
+ }
+
+ /// Convert into a Utf8JsonRequestContent.
+ internal virtual RequestContent ToRequestContent()
+ {
+ var content = new Utf8JsonRequestContent();
+ content.JsonWriter.WriteObjectValue(this);
+ return content;
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.cs
new file mode 100644
index 0000000000000..1b9264180a6ec
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassificationDef.cs
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Collections.Generic;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// class that captures details of a classification-type.
+ public partial class AtlasClassificationDef
+ {
+ /// Initializes a new instance of .
+ public AtlasClassificationDef()
+ {
+ Options = new ChangeTrackingDictionary();
+ AttributeDefs = new ChangeTrackingList();
+ EntityTypes = new ChangeTrackingList();
+ SubTypes = new ChangeTrackingList();
+ SuperTypes = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// The enum of type category.
+ /// The created time of the record.
+ /// The user who created the record.
+ /// The date format.
+ /// The description of the type definition.
+ /// The GUID of the type definition.
+ /// The name of the type definition.
+ /// The options for the type definition.
+ /// The service type.
+ /// The version of the type.
+ /// The update time of the record.
+ /// The user who updated the record.
+ /// The version of the record.
+ /// ETag for concurrency control.
+ /// An array of attribute definitions.
+ ///
+ /// Specifying a list of entityType names in the classificationDef, ensures that
+ /// classifications can
+ /// only be applied to those entityTypes.
+ ///
+ /// Any subtypes of the entity types inherit the restriction.
+ ///
+ /// Any classificationDef subtypes inherit the parents entityTypes restrictions.
+ ///
+ /// Any classificationDef subtypes can further restrict the parents entityTypes
+ /// restrictions by specifying a subset of the entityTypes.
+ ///
+ /// An empty entityTypes list when there are no parent restrictions means there are no
+ /// restrictions.
+ ///
+ /// An empty entityTypes list when there are parent
+ /// restrictions means that the subtype picks up the parents
+ /// restrictions.
+ ///
+ /// If a list of entityTypes are supplied, where one inherits
+ /// from another, this will be rejected. This should encourage cleaner
+ /// classificationsDefs.
+ ///
+ ///
+ /// An array of sub types.
+ /// An array of super types.
+ internal AtlasClassificationDef(TypeCategory? category, long? createTime, string createdBy, DateFormat dateFormatter, string description, string guid, string name, IDictionary options, string serviceType, string typeVersion, long? updateTime, string updatedBy, long? version, string lastModifiedTS, IList attributeDefs, IList entityTypes, IList subTypes, IList superTypes)
+ {
+ Category = category;
+ CreateTime = createTime;
+ CreatedBy = createdBy;
+ DateFormatter = dateFormatter;
+ Description = description;
+ Guid = guid;
+ Name = name;
+ Options = options;
+ ServiceType = serviceType;
+ TypeVersion = typeVersion;
+ UpdateTime = updateTime;
+ UpdatedBy = updatedBy;
+ Version = version;
+ LastModifiedTS = lastModifiedTS;
+ AttributeDefs = attributeDefs;
+ EntityTypes = entityTypes;
+ SubTypes = subTypes;
+ SuperTypes = superTypes;
+ }
+
+ /// The enum of type category.
+ public TypeCategory? Category { get; set; }
+ /// The created time of the record.
+ public long? CreateTime { get; set; }
+ /// The user who created the record.
+ public string CreatedBy { get; set; }
+ /// The date format.
+ public DateFormat DateFormatter { get; set; }
+ /// The description of the type definition.
+ public string Description { get; set; }
+ /// The GUID of the type definition.
+ public string Guid { get; set; }
+ /// The name of the type definition.
+ public string Name { get; set; }
+ /// The options for the type definition.
+ public IDictionary Options { get; }
+ /// The service type.
+ public string ServiceType { get; set; }
+ /// The version of the type.
+ public string TypeVersion { get; set; }
+ /// The update time of the record.
+ public long? UpdateTime { get; set; }
+ /// The user who updated the record.
+ public string UpdatedBy { get; set; }
+ /// The version of the record.
+ public long? Version { get; set; }
+ /// ETag for concurrency control.
+ public string LastModifiedTS { get; set; }
+ /// An array of attribute definitions.
+ public IList AttributeDefs { get; }
+ ///
+ /// Specifying a list of entityType names in the classificationDef, ensures that
+ /// classifications can
+ /// only be applied to those entityTypes.
+ ///
+ /// Any subtypes of the entity types inherit the restriction.
+ ///
+ /// Any classificationDef subtypes inherit the parents entityTypes restrictions.
+ ///
+ /// Any classificationDef subtypes can further restrict the parents entityTypes
+ /// restrictions by specifying a subset of the entityTypes.
+ ///
+ /// An empty entityTypes list when there are no parent restrictions means there are no
+ /// restrictions.
+ ///
+ /// An empty entityTypes list when there are parent
+ /// restrictions means that the subtype picks up the parents
+ /// restrictions.
+ ///
+ /// If a list of entityTypes are supplied, where one inherits
+ /// from another, this will be rejected. This should encourage cleaner
+ /// classificationsDefs.
+ ///
+ ///
+ public IList EntityTypes { get; }
+ /// An array of sub types.
+ public IList SubTypes { get; }
+ /// An array of super types.
+ public IList SuperTypes { get; }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.Serialization.cs
new file mode 100644
index 0000000000000..823759f38abc5
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.Serialization.cs
@@ -0,0 +1,106 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ public partial class AtlasClassifications
+ {
+ internal static AtlasClassifications DeserializeAtlasClassifications(JsonElement element)
+ {
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ Optional> list = default;
+ Optional pageSize = default;
+ Optional sortBy = default;
+ Optional sortType = default;
+ Optional startIndex = default;
+ Optional totalCount = default;
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("list"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ List array = new List();
+ foreach (var item in property.Value.EnumerateArray())
+ {
+ if (item.ValueKind == JsonValueKind.Null)
+ {
+ array.Add(null);
+ }
+ else
+ {
+ array.Add(BinaryData.FromString(item.GetRawText()));
+ }
+ }
+ list = array;
+ continue;
+ }
+ if (property.NameEquals("pageSize"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ pageSize = property.Value.GetInt32();
+ continue;
+ }
+ if (property.NameEquals("sortBy"u8))
+ {
+ sortBy = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("sortType"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ sortType = new SortType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("startIndex"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ startIndex = property.Value.GetInt32();
+ continue;
+ }
+ if (property.NameEquals("totalCount"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ totalCount = property.Value.GetInt32();
+ continue;
+ }
+ }
+ return new AtlasClassifications(Optional.ToList(list), Optional.ToNullable(pageSize), sortBy.Value, Optional.ToNullable(sortType), Optional.ToNullable(startIndex), Optional.ToNullable(totalCount));
+ }
+
+ /// Deserializes the model from a raw response.
+ /// The response to deserialize the model from.
+ internal static AtlasClassifications FromResponse(Response response)
+ {
+ using var document = JsonDocument.Parse(response.Content);
+ return DeserializeAtlasClassifications(document.RootElement);
+ }
+ }
+}
diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.cs
new file mode 100644
index 0000000000000..6c88d15f62669
--- /dev/null
+++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AtlasClassifications.cs
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using Azure.Core;
+
+namespace Azure.Analytics.Purview.DataMap
+{
+ /// REST serialization friendly list.
+ public partial class AtlasClassifications
+ {
+ /// Initializes a new instance of .
+ internal AtlasClassifications()
+ {
+ List = new ChangeTrackingList();
+ }
+
+ /// Initializes a new instance of .
+ /// An array of objects.
+ /// The size of the page.
+ /// The sorted by field.
+ /// to specify whether the result should be sorted? If yes, whether asc or desc.
+ /// The start index of the page.
+ /// The total count of items.
+ internal AtlasClassifications(IReadOnlyList list, int? pageSize, string sortBy, SortType? sortType, int? startIndex, int? totalCount)
+ {
+ List = list;
+ PageSize = pageSize;
+ SortBy = sortBy;
+ SortType = sortType;
+ StartIndex = startIndex;
+ TotalCount = totalCount;
+ }
+
+ ///
+ /// An array of objects.
+ ///
+ /// To assign an object to the element of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ ///