// 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 CreateEntityShapeExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var createEntityShapeDetails = new Oci.DataintegrationService.Models.CreateEntityShapeFromObject
			{
				Key = "EXAMPLE-key-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",
				ExternalKey = "EXAMPLE-externalKey-Value",
				Shape = new Oci.DataintegrationService.Models.Shape
				{
					Type = new Oci.DataintegrationService.Models.ArrayType
					{
						ElementType = "EXAMPLE-elementType-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 = 907,
						Description = "EXAMPLE-description-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"
					},
					ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
					{
						ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
						{
							{
								"EXAMPLE_KEY_cPW0V", 
								new Oci.DataintegrationService.Models.ConfigParameterValue
								{
									StringValue = "EXAMPLE-stringValue-Value",
									IntValue = 32,
									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"
						}
					},
					ObjectStatus = 970,
					Name = "EXAMPLE-name-Value",
					Description = "EXAMPLE-description-Value"
				},
				ShapeId = "ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value",
				EntityType = Oci.DataintegrationService.Models.CreateEntityShapeFromObject.EntityTypeEnum.Object,
				OtherTypeLabel = "EXAMPLE-otherTypeLabel-Value",
				UniqueKeys = new List<Oci.DataintegrationService.Models.UniqueKey>
				{
					new Oci.DataintegrationService.Models.UniqueDataKey
					{
						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",
						AttributeRefs = new List<Oci.DataintegrationService.Models.KeyAttribute>
						{
							new Oci.DataintegrationService.Models.KeyAttribute
							{
								Position = 681,
								ShapeField = new Oci.DataintegrationService.Models.ShapeField
								{
									Type = "EXAMPLE-type-Value",
									Labels = new List<string>
									{
										"EXAMPLE--Value"
									},
									NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
									{
										Name = "EXAMPLE-name-Value",
										ModelType = "EXAMPLE-modelType-Value",
										Type = "EXAMPLE-type-Value",
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_lQCbC", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 184,
														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"
											}
										},
										Position = 198,
										DefaultValueString = "EXAMPLE-defaultValueString-Value",
										IsMandatory = true
									},
									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"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_MBgyH", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 226,
													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"
										}
									},
									ObjectStatus = 434,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								},
								Attribute = new Oci.DataintegrationService.Models.ShapeField
								{
									Type = "EXAMPLE-type-Value",
									Labels = new List<string>
									{
										"EXAMPLE--Value"
									},
									NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
									{
										Name = "EXAMPLE-name-Value",
										ModelType = "EXAMPLE-modelType-Value",
										Type = "EXAMPLE-type-Value",
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_4gIz7", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 959,
														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"
											}
										},
										Position = 646,
										DefaultValueString = "EXAMPLE-defaultValueString-Value",
										IsMandatory = true
									},
									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"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_ZhH8s", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 536,
													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"
										}
									},
									ObjectStatus = 594,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							}
						},
						ObjectStatus = 54
					}
				},
				ForeignKeys = new List<Oci.DataintegrationService.Models.ForeignKey>
				{
					new Oci.DataintegrationService.Models.ForeignKey
					{
						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",
						AttributeRefs = new List<Oci.DataintegrationService.Models.KeyAttribute>
						{
							new Oci.DataintegrationService.Models.KeyAttribute
							{
								Position = 740,
								ShapeField = new Oci.DataintegrationService.Models.ShapeField
								{
									Type = "EXAMPLE-type-Value",
									Labels = new List<string>
									{
										"EXAMPLE--Value"
									},
									NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
									{
										Name = "EXAMPLE-name-Value",
										ModelType = "EXAMPLE-modelType-Value",
										Type = "EXAMPLE-type-Value",
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_lWPmN", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 495,
														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"
											}
										},
										Position = 374,
										DefaultValueString = "EXAMPLE-defaultValueString-Value",
										IsMandatory = 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"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_njzW1", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 325,
													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"
										}
									},
									ObjectStatus = 922,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								},
								Attribute = new Oci.DataintegrationService.Models.ShapeField
								{
									Type = "EXAMPLE-type-Value",
									Labels = new List<string>
									{
										"EXAMPLE--Value"
									},
									NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
									{
										Name = "EXAMPLE-name-Value",
										ModelType = "EXAMPLE-modelType-Value",
										Type = "EXAMPLE-type-Value",
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_R6nnd", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 657,
														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"
											}
										},
										Position = 347,
										DefaultValueString = "EXAMPLE-defaultValueString-Value",
										IsMandatory = 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"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_4ckuP", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 50,
													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"
										}
									},
									ObjectStatus = 131,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							}
						},
						UpdateRule = 358,
						DeleteRule = 297,
						ReferenceUniqueKey = new Oci.DataintegrationService.Models.UniqueDataKey
						{
							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",
							AttributeRefs = new List<Oci.DataintegrationService.Models.KeyAttribute>
							{
								new Oci.DataintegrationService.Models.KeyAttribute
								{
									Position = 69,
									ShapeField = new Oci.DataintegrationService.Models.ShapeField
									{
										Type = "EXAMPLE-type-Value",
										Labels = new List<string>
										{
											"EXAMPLE--Value"
										},
										NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
										{
											Name = "EXAMPLE-name-Value",
											ModelType = "EXAMPLE-modelType-Value",
											Type = "EXAMPLE-type-Value",
											ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
											{
												ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
												{
													{
														"EXAMPLE_KEY_hbJyh", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 996,
															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"
												}
											},
											Position = 657,
											DefaultValueString = "EXAMPLE-defaultValueString-Value",
											IsMandatory = 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"
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_fPfS9", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 122,
														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"
											}
										},
										ObjectStatus = 316,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									},
									Attribute = new Oci.DataintegrationService.Models.ShapeField
									{
										Type = "EXAMPLE-type-Value",
										Labels = new List<string>
										{
											"EXAMPLE--Value"
										},
										NativeShapeField = new Oci.DataintegrationService.Models.NativeShapeField
										{
											Name = "EXAMPLE-name-Value",
											ModelType = "EXAMPLE-modelType-Value",
											Type = "EXAMPLE-type-Value",
											ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
											{
												ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
												{
													{
														"EXAMPLE_KEY_0NjC8", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 527,
															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"
												}
											},
											Position = 235,
											DefaultValueString = "EXAMPLE-defaultValueString-Value",
											IsMandatory = true
										},
										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"
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_P2Hjg", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 534,
														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"
											}
										},
										ObjectStatus = 672,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								}
							},
							ObjectStatus = 195
						},
						ObjectStatus = 533
					}
				},
				ResourceName = "EXAMPLE-resourceName-Value",
				DataFormat = new Oci.DataintegrationService.Models.DataFormat
				{
					FormatAttribute = new Oci.DataintegrationService.Models.CsvFormatAttribute
					{
						Encoding = "EXAMPLE-encoding-Value",
						EscapeCharacter = "EXAMPLE-escapeCharacter-Value",
						Delimiter = "EXAMPLE-delimiter-Value",
						QuoteCharacter = "EXAMPLE-quoteCharacter-Value",
						HasHeader = false,
						TimestampFormat = "EXAMPLE-timestampFormat-Value",
						IsFilePattern = true
					},
					Type = Oci.DataintegrationService.Models.DataFormat.TypeEnum.Avro,
					CompressionConfig = new Oci.DataintegrationService.Models.Compression
					{
						Codec = Oci.DataintegrationService.Models.Compression.CodecEnum.Lz4
					}
				},
				Identifier = "EXAMPLE-identifier-Value"
			};
			var createEntityShapeRequest = new Oci.DataintegrationService.Requests.CreateEntityShapeRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				ConnectionKey = "EXAMPLE-connectionKey-Value",
				SchemaResourceName = "EXAMPLE-schemaResourceName-Value",
				CreateEntityShapeDetails = createEntityShapeDetails,
				OpcRequestId = "MHCAXCGLA3IZU3UMISUN<unique_ID>",
				OpcRetryToken = "EXAMPLE-opcRetryToken-Value",
				IfMatch = "EXAMPLE-ifMatch-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.CreateEntityShape(createEntityShapeRequest);
					// Retrieve value from the response.
					var metadataValue = response.EntityShape.Metadata;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"CreateEntityShape Failed with {e.Message}");
                throw e;
            }
        }

    }
}

Was this article helpful?