// This is an automatically generated code sample. 
// To make this code sample work in your Oracle Cloud tenancy, 
// please replace the values for any parameters whose current values do not fit
// your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and 
// boolean, number, and enum parameters with values not fitting your use case).

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Oci.DataintegrationService;
using Oci.Common;
using Oci.Common.Auth;

namespace Oci.Sdk.DotNet.Example.Dataintegration
{
    public class CreateDataAssetExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var createDataAssetDetails = new Oci.DataintegrationService.Models.CreateDataAssetFromAtp
			{
				ServiceName = "EXAMPLE-serviceName-Value",
				DriverClass = "EXAMPLE-driverClass-Value",
				CredentialFileContent = "EXAMPLE-credentialFileContent-Value",
				WalletSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
				{
					SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
					{
						SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
					},
					Value = "EXAMPLE-value-Value"
				},
				WalletPasswordSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
				{
					SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
					{
						SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
					},
					Value = "EXAMPLE-value-Value"
				},
				RegionId = "ocid1.test.oc1..<unique_ID>EXAMPLE-regionId-Value",
				TenancyId = "ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value",
				CompartmentId = "ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value",
				AutonomousDbId = "ocid1.test.oc1..<unique_ID>EXAMPLE-autonomousDbId-Value",
				DefaultConnection = new Oci.DataintegrationService.Models.CreateConnectionFromAtp
				{
					TnsAlias = "EXAMPLE-tnsAlias-Value",
					TnsNames = new List<string>
					{
						"EXAMPLE--Value"
					},
					Username = "EXAMPLE-username-Value",
					Password = "EXAMPLE-password-Value",
					PasswordSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
					{
						SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
						{
							SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
						},
						Value = "EXAMPLE-value-Value"
					},
					Key = "EXAMPLE-key-Value",
					ModelVersion = "EXAMPLE-modelVersion-Value",
					ParentRef = new Oci.DataintegrationService.Models.ParentReference
					{
						Parent = "EXAMPLE-parent-Value",
						RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
					},
					Name = "EXAMPLE-name-Value",
					Description = "EXAMPLE-description-Value",
					ObjectStatus = 705,
					Identifier = "EXAMPLE-identifier-Value",
					ConnectionProperties = new List<Oci.DataintegrationService.Models.ConnectionProperty>
					{
						new Oci.DataintegrationService.Models.ConnectionProperty
						{
							Name = "EXAMPLE-name-Value",
							Value = "EXAMPLE-value-Value"
						}
					},
					RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
					{
						AggregatorKey = "EXAMPLE-aggregatorKey-Value",
						Labels = new List<string>
						{
							"EXAMPLE--Value"
						},
						RegistryVersion = 640,
						Key = "EXAMPLE-key-Value",
						IsFavorite = true
					}
				},
				StagingDataAsset = new Oci.DataintegrationService.Models.DataAssetFromOraclePeopleSoftDetails
				{
					Host = "EXAMPLE-host-Value",
					Port = "EXAMPLE-port-Value",
					ServiceName = "EXAMPLE-serviceName-Value",
					DriverClass = "EXAMPLE-driverClass-Value",
					Sid = "EXAMPLE-sid-Value",
					WalletSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
					{
						SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
						{
							SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
						},
						Value = "EXAMPLE-value-Value"
					},
					WalletPasswordSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
					{
						SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
						{
							SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
						},
						Value = "EXAMPLE-value-Value"
					},
					DefaultConnection = new Oci.DataintegrationService.Models.ConnectionFromOraclePeopleSoftDetails
					{
						Username = "EXAMPLE-username-Value",
						Password = "EXAMPLE-password-Value",
						PasswordSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
						{
							SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
							{
								SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
							},
							Value = "EXAMPLE-value-Value"
						},
						Key = "EXAMPLE-key-Value",
						ModelVersion = "EXAMPLE-modelVersion-Value",
						ParentRef = new Oci.DataintegrationService.Models.ParentReference
						{
							Parent = "EXAMPLE-parent-Value",
							RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
						},
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value",
						ObjectVersion = 434,
						ObjectStatus = 888,
						Identifier = "EXAMPLE-identifier-Value",
						PrimarySchema = new Oci.DataintegrationService.Models.Schema
						{
							Key = "EXAMPLE-key-Value",
							ModelType = "EXAMPLE-modelType-Value",
							ModelVersion = "EXAMPLE-modelVersion-Value",
							ParentRef = new Oci.DataintegrationService.Models.ParentReference
							{
								Parent = "EXAMPLE-parent-Value",
								RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
							},
							Name = "EXAMPLE-name-Value",
							ResourceName = "EXAMPLE-resourceName-Value",
							Description = "EXAMPLE-description-Value",
							ObjectVersion = 78,
							ExternalKey = "EXAMPLE-externalKey-Value",
							IsHasContainers = true,
							DefaultConnection = "EXAMPLE-defaultConnection-Value",
							ObjectStatus = 851,
							Identifier = "EXAMPLE-identifier-Value",
							Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
							{
								CreatedBy = "EXAMPLE-createdBy-Value",
								CreatedByName = "EXAMPLE-createdByName-Value",
								UpdatedBy = "EXAMPLE-updatedBy-Value",
								UpdatedByName = "EXAMPLE-updatedByName-Value",
								TimeCreated = DateTime.Parse("06/13/2028 12:15:13"),
								TimeUpdated = DateTime.Parse("11/17/2028 22:26:18"),
								AggregatorKey = "EXAMPLE-aggregatorKey-Value",
								Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
								{
									Type = "EXAMPLE-type-Value",
									Key = "EXAMPLE-key-Value",
									Name = "EXAMPLE-name-Value",
									Identifier = "EXAMPLE-identifier-Value",
									Description = "EXAMPLE-description-Value"
								},
								IdentifierPath = "EXAMPLE-identifierPath-Value",
								InfoFields = new Dictionary<string, string>()
								{
									{
										"EXAMPLE_KEY_zK70B", 
										"EXAMPLE_VALUE_ybszQodtaUZH6TIGpg9D"
									}
								},
								RegistryVersion = 328,
								Labels = new List<string>
								{
									"EXAMPLE--Value"
								},
								IsFavorite = true,
								CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
								{
									ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
									{
										new Oci.DataintegrationService.Models.CountStatisticSummary
										{
											ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.Project,
											ObjectCount = 330
										}
									}
								}
							}
						},
						ConnectionProperties = new List<Oci.DataintegrationService.Models.ConnectionProperty>
						{
							new Oci.DataintegrationService.Models.ConnectionProperty
							{
								Name = "EXAMPLE-name-Value",
								Value = "EXAMPLE-value-Value"
							}
						},
						IsDefault = true,
						Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
						{
							CreatedBy = "EXAMPLE-createdBy-Value",
							CreatedByName = "EXAMPLE-createdByName-Value",
							UpdatedBy = "EXAMPLE-updatedBy-Value",
							UpdatedByName = "EXAMPLE-updatedByName-Value",
							TimeCreated = DateTime.Parse("03/20/2025 15:41:11"),
							TimeUpdated = DateTime.Parse("06/22/2007 06:29:27"),
							AggregatorKey = "EXAMPLE-aggregatorKey-Value",
							Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
							{
								Type = "EXAMPLE-type-Value",
								Key = "EXAMPLE-key-Value",
								Name = "EXAMPLE-name-Value",
								Identifier = "EXAMPLE-identifier-Value",
								Description = "EXAMPLE-description-Value"
							},
							IdentifierPath = "EXAMPLE-identifierPath-Value",
							InfoFields = new Dictionary<string, string>()
							{
								{
									"EXAMPLE_KEY_J7qwb", 
									"EXAMPLE_VALUE_DgbYYKzPzvTpRuNmGLTo"
								}
							},
							RegistryVersion = 109,
							Labels = new List<string>
							{
								"EXAMPLE--Value"
							},
							IsFavorite = false,
							CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
							{
								ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
								{
									new Oci.DataintegrationService.Models.CountStatisticSummary
									{
										ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.Folder,
										ObjectCount = 489
									}
								}
							}
						}
					},
					Key = "EXAMPLE-key-Value",
					ModelVersion = "EXAMPLE-modelVersion-Value",
					Name = "EXAMPLE-name-Value",
					Description = "EXAMPLE-description-Value",
					ObjectStatus = 335,
					Identifier = "EXAMPLE-identifier-Value",
					ExternalKey = "EXAMPLE-externalKey-Value",
					AssetProperties = new Dictionary<string, string>()
					{
						{
							"EXAMPLE_KEY_JAsjJ", 
							"EXAMPLE_VALUE_vzLiuJNvkY0nSJRxk380"
						}
					},
					NativeTypeSystem = new Oci.DataintegrationService.Models.TypeSystem
					{
						Key = "EXAMPLE-key-Value",
						ModelType = "EXAMPLE-modelType-Value",
						ModelVersion = "EXAMPLE-modelVersion-Value",
						ParentRef = new Oci.DataintegrationService.Models.ParentReference
						{
							Parent = "EXAMPLE-parent-Value",
							RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
						},
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value",
						ObjectVersion = 285,
						TypeMappingTo = new Dictionary<string, string>()
						{
							{
								"EXAMPLE_KEY_aUm8m", 
								"EXAMPLE_VALUE_Z47x5fiJ1elcImqi9rlK"
							}
						},
						TypeMappingFrom = new Dictionary<string, string>()
						{
							{
								"EXAMPLE_KEY_skYPv", 
								"EXAMPLE_VALUE_nP1kj2vPoGcA0xNriC8h"
							}
						},
						ObjectStatus = 800,
						Identifier = "EXAMPLE-identifier-Value",
						Types = new List<Oci.DataintegrationService.Models.DataType>
						{
							new Oci.DataintegrationService.Models.DataType
							{
								DtType = Oci.DataintegrationService.Models.DataType.DtTypeEnum.Primitive,
								TypeSystemName = "EXAMPLE-typeSystemName-Value",
								ConfigDefinition = new Oci.DataintegrationService.Models.ConfigDefinition
								{
									Key = "EXAMPLE-key-Value",
									ModelType = "EXAMPLE-modelType-Value",
									ModelVersion = "EXAMPLE-modelVersion-Value",
									ParentRef = new Oci.DataintegrationService.Models.ParentReference
									{
										Parent = "EXAMPLE-parent-Value",
										RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
									},
									Name = "EXAMPLE-name-Value",
									IsContained = false,
									ObjectStatus = 94,
									ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
									{
										{
											"EXAMPLE_KEY_fIS1b", 
											new Oci.DataintegrationService.Models.ConfigParameterDefinition
											{
												ParameterType = new Oci.DataintegrationService.Models.ConfiguredType
												{
													WrappedType = "EXAMPLE-wrappedType-Value",
													ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
													{
														ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
														{
															{
																"EXAMPLE_KEY_pm0ti", 
																new Oci.DataintegrationService.Models.ConfigParameterValue
																{
																	StringValue = "EXAMPLE-stringValue-Value",
																	IntValue = 221,
																	ObjectValue = "EXAMPLE-objectValue-Value",
																	RefValue = "EXAMPLE-refValue-Value",
																	ParameterValue = "EXAMPLE-parameterValue-Value",
																	RootObjectValue = "EXAMPLE-rootObjectValue-Value"
																}
															}
														},
														ParentRef = new Oci.DataintegrationService.Models.ParentReference
														{
															Parent = "EXAMPLE-parent-Value",
															RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
														}
													},
													Key = "EXAMPLE-key-Value",
													ModelVersion = "EXAMPLE-modelVersion-Value",
													ParentRef = new Oci.DataintegrationService.Models.ParentReference
													{
														Parent = "EXAMPLE-parent-Value",
														RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
													},
													Name = "EXAMPLE-name-Value",
													ObjectStatus = 73,
													Description = "EXAMPLE-description-Value"
												},
												ParameterName = "EXAMPLE-parameterName-Value",
												Description = "EXAMPLE-description-Value",
												DefaultValue = "EXAMPLE-defaultValue-Value",
												ClassFieldName = "EXAMPLE-classFieldName-Value",
												IsStatic = false,
												IsClassFieldValue = false
											}
										}
									}
								},
								Key = "EXAMPLE-key-Value",
								ModelVersion = "EXAMPLE-modelVersion-Value",
								ParentRef = new Oci.DataintegrationService.Models.ParentReference
								{
									Parent = "EXAMPLE-parent-Value",
									RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
								},
								Name = "EXAMPLE-name-Value",
								ObjectStatus = 45,
								Description = "EXAMPLE-description-Value"
							}
						}
					},
					ObjectVersion = 537,
					ParentRef = new Oci.DataintegrationService.Models.ParentReference
					{
						Parent = "EXAMPLE-parent-Value",
						RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
					},
					Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
					{
						CreatedBy = "EXAMPLE-createdBy-Value",
						CreatedByName = "EXAMPLE-createdByName-Value",
						UpdatedBy = "EXAMPLE-updatedBy-Value",
						UpdatedByName = "EXAMPLE-updatedByName-Value",
						TimeCreated = DateTime.Parse("12/09/2030 08:27:52"),
						TimeUpdated = DateTime.Parse("01/12/2004 05:15:40"),
						AggregatorKey = "EXAMPLE-aggregatorKey-Value",
						Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
						{
							Type = "EXAMPLE-type-Value",
							Key = "EXAMPLE-key-Value",
							Name = "EXAMPLE-name-Value",
							Identifier = "EXAMPLE-identifier-Value",
							Description = "EXAMPLE-description-Value"
						},
						IdentifierPath = "EXAMPLE-identifierPath-Value",
						InfoFields = new Dictionary<string, string>()
						{
							{
								"EXAMPLE_KEY_EZKxu", 
								"EXAMPLE_VALUE_vVju2vY9pd0gI3abpfOc"
							}
						},
						RegistryVersion = 104,
						Labels = new List<string>
						{
							"EXAMPLE--Value"
						},
						IsFavorite = false,
						CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
						{
							ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
							{
								new Oci.DataintegrationService.Models.CountStatisticSummary
								{
									ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.UserDefinedFunction,
									ObjectCount = 846
								}
							}
						}
					},
					KeyMap = new Dictionary<string, string>()
					{
						{
							"EXAMPLE_KEY_aaZtl", 
							"EXAMPLE_VALUE_syc5mXcQakHkNXDyn4qk"
						}
					}
				},
				StagingConnection = new Oci.DataintegrationService.Models.ConnectionFromOAuth2
				{
					AccessTokenUrl = "EXAMPLE-accessTokenUrl-Value",
					ClientId = "ocid1.test.oc1..<unique_ID>EXAMPLE-clientId-Value",
					ClientSecret = new Oci.DataintegrationService.Models.SensitiveAttribute
					{
						SecretConfig = new Oci.DataintegrationService.Models.OciVaultSecretConfig
						{
							SecretId = "ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value"
						},
						Value = "EXAMPLE-value-Value"
					},
					Scope = "EXAMPLE-scope-Value",
					GrantType = Oci.DataintegrationService.Models.ConnectionFromOAuth2.GrantTypeEnum.ClientCredentials,
					Key = "EXAMPLE-key-Value",
					ModelVersion = "EXAMPLE-modelVersion-Value",
					ParentRef = new Oci.DataintegrationService.Models.ParentReference
					{
						Parent = "EXAMPLE-parent-Value",
						RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
					},
					Name = "EXAMPLE-name-Value",
					Description = "EXAMPLE-description-Value",
					ObjectVersion = 388,
					ObjectStatus = 545,
					Identifier = "EXAMPLE-identifier-Value",
					PrimarySchema = new Oci.DataintegrationService.Models.Schema
					{
						Key = "EXAMPLE-key-Value",
						ModelType = "EXAMPLE-modelType-Value",
						ModelVersion = "EXAMPLE-modelVersion-Value",
						ParentRef = new Oci.DataintegrationService.Models.ParentReference
						{
							Parent = "EXAMPLE-parent-Value",
							RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
						},
						Name = "EXAMPLE-name-Value",
						ResourceName = "EXAMPLE-resourceName-Value",
						Description = "EXAMPLE-description-Value",
						ObjectVersion = 876,
						ExternalKey = "EXAMPLE-externalKey-Value",
						IsHasContainers = true,
						DefaultConnection = "EXAMPLE-defaultConnection-Value",
						ObjectStatus = 23,
						Identifier = "EXAMPLE-identifier-Value",
						Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
						{
							CreatedBy = "EXAMPLE-createdBy-Value",
							CreatedByName = "EXAMPLE-createdByName-Value",
							UpdatedBy = "EXAMPLE-updatedBy-Value",
							UpdatedByName = "EXAMPLE-updatedByName-Value",
							TimeCreated = DateTime.Parse("12/23/2030 04:30:33"),
							TimeUpdated = DateTime.Parse("01/19/2025 00:07:37"),
							AggregatorKey = "EXAMPLE-aggregatorKey-Value",
							Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
							{
								Type = "EXAMPLE-type-Value",
								Key = "EXAMPLE-key-Value",
								Name = "EXAMPLE-name-Value",
								Identifier = "EXAMPLE-identifier-Value",
								Description = "EXAMPLE-description-Value"
							},
							IdentifierPath = "EXAMPLE-identifierPath-Value",
							InfoFields = new Dictionary<string, string>()
							{
								{
									"EXAMPLE_KEY_y5Csn", 
									"EXAMPLE_VALUE_5s8CAuF2zn1dPa4ecp6D"
								}
							},
							RegistryVersion = 744,
							Labels = new List<string>
							{
								"EXAMPLE--Value"
							},
							IsFavorite = false,
							CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
							{
								ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
								{
									new Oci.DataintegrationService.Models.CountStatisticSummary
									{
										ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.Task,
										ObjectCount = 570
									}
								}
							}
						}
					},
					ConnectionProperties = new List<Oci.DataintegrationService.Models.ConnectionProperty>
					{
						new Oci.DataintegrationService.Models.ConnectionProperty
						{
							Name = "EXAMPLE-name-Value",
							Value = "EXAMPLE-value-Value"
						}
					},
					IsDefault = false,
					Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
					{
						CreatedBy = "EXAMPLE-createdBy-Value",
						CreatedByName = "EXAMPLE-createdByName-Value",
						UpdatedBy = "EXAMPLE-updatedBy-Value",
						UpdatedByName = "EXAMPLE-updatedByName-Value",
						TimeCreated = DateTime.Parse("10/21/2037 19:50:40"),
						TimeUpdated = DateTime.Parse("10/07/2025 18:48:40"),
						AggregatorKey = "EXAMPLE-aggregatorKey-Value",
						Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
						{
							Type = "EXAMPLE-type-Value",
							Key = "EXAMPLE-key-Value",
							Name = "EXAMPLE-name-Value",
							Identifier = "EXAMPLE-identifier-Value",
							Description = "EXAMPLE-description-Value"
						},
						IdentifierPath = "EXAMPLE-identifierPath-Value",
						InfoFields = new Dictionary<string, string>()
						{
							{
								"EXAMPLE_KEY_SSd26", 
								"EXAMPLE_VALUE_16GOXQ705ca07sihZux5"
							}
						},
						RegistryVersion = 850,
						Labels = new List<string>
						{
							"EXAMPLE--Value"
						},
						IsFavorite = true,
						CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
						{
							ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
							{
								new Oci.DataintegrationService.Models.CountStatisticSummary
								{
									ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.Task,
									ObjectCount = 818
								}
							}
						}
					},
					KeyMap = new Dictionary<string, string>()
					{
						{
							"EXAMPLE_KEY_eMxnB", 
							"EXAMPLE_VALUE_8eU9R2tgrazYD2puNHrc"
						}
					}
				},
				BucketSchema = new Oci.DataintegrationService.Models.Schema
				{
					Key = "EXAMPLE-key-Value",
					ModelType = "EXAMPLE-modelType-Value",
					ModelVersion = "EXAMPLE-modelVersion-Value",
					ParentRef = new Oci.DataintegrationService.Models.ParentReference
					{
						Parent = "EXAMPLE-parent-Value",
						RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
					},
					Name = "EXAMPLE-name-Value",
					ResourceName = "EXAMPLE-resourceName-Value",
					Description = "EXAMPLE-description-Value",
					ObjectVersion = 696,
					ExternalKey = "EXAMPLE-externalKey-Value",
					IsHasContainers = true,
					DefaultConnection = "EXAMPLE-defaultConnection-Value",
					ObjectStatus = 153,
					Identifier = "EXAMPLE-identifier-Value",
					Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
					{
						CreatedBy = "EXAMPLE-createdBy-Value",
						CreatedByName = "EXAMPLE-createdByName-Value",
						UpdatedBy = "EXAMPLE-updatedBy-Value",
						UpdatedByName = "EXAMPLE-updatedByName-Value",
						TimeCreated = DateTime.Parse("11/13/2003 08:20:45"),
						TimeUpdated = DateTime.Parse("04/16/2020 13:27:38"),
						AggregatorKey = "EXAMPLE-aggregatorKey-Value",
						Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
						{
							Type = "EXAMPLE-type-Value",
							Key = "EXAMPLE-key-Value",
							Name = "EXAMPLE-name-Value",
							Identifier = "EXAMPLE-identifier-Value",
							Description = "EXAMPLE-description-Value"
						},
						IdentifierPath = "EXAMPLE-identifierPath-Value",
						InfoFields = new Dictionary<string, string>()
						{
							{
								"EXAMPLE_KEY_8KDrf", 
								"EXAMPLE_VALUE_dCc8SafhkvMv7oB4g69c"
							}
						},
						RegistryVersion = 932,
						Labels = new List<string>
						{
							"EXAMPLE--Value"
						},
						IsFavorite = true,
						CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
						{
							ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
							{
								new Oci.DataintegrationService.Models.CountStatisticSummary
								{
									ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.Task,
									ObjectCount = 25
								}
							}
						}
					}
				},
				Key = "EXAMPLE-key-Value",
				ModelVersion = "EXAMPLE-modelVersion-Value",
				Name = "EXAMPLE-name-Value",
				Description = "EXAMPLE-description-Value",
				ObjectStatus = 445,
				Identifier = "EXAMPLE-identifier-Value",
				ExternalKey = "EXAMPLE-externalKey-Value",
				AssetProperties = new Dictionary<string, string>()
				{
					{
						"EXAMPLE_KEY_rr4iT", 
						"EXAMPLE_VALUE_LbzMnFZcg8ZYKIibAZom"
					}
				},
				RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
				{
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Labels = new List<string>
					{
						"EXAMPLE--Value"
					},
					RegistryVersion = 295,
					Key = "EXAMPLE-key-Value",
					IsFavorite = true
				}
			};
			var createDataAssetRequest = new Oci.DataintegrationService.Requests.CreateDataAssetRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				CreateDataAssetDetails = createDataAssetDetails,
				OpcRequestId = "FRSBPUQZKSDTOGTZESHC<unique_ID>",
				OpcRetryToken = "EXAMPLE-opcRetryToken-Value"
			};

            // Create a default authentication provider that uses the DEFAULT
            // profile in the configuration file.
            // Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file. 
            var provider = new ConfigFileAuthenticationDetailsProvider("DEFAULT");
            try
            {
                // Create a service client and send the request.
				using (var client = new DataIntegrationClient(provider, new ClientConfiguration()))
				{
					var response = await client.CreateDataAsset(createDataAssetRequest);
					// Retrieve value from the response.
					var keyValue = response.DataAsset.Key;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"CreateDataAsset Failed with {e.Message}");
                throw e;
            }
        }

    }
}