// 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.CreateEntityShapeFromFile
			{
				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 = 475,
				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 = 245,
						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_4alKu", 
								new Oci.DataintegrationService.Models.ConfigParameterValue
								{
									StringValue = "EXAMPLE-stringValue-Value",
									IntValue = 646,
									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 = 543,
					Name = "EXAMPLE-name-Value",
					Description = "EXAMPLE-description-Value"
				},
				ShapeId = "ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value",
				Types = new Oci.DataintegrationService.Models.TypeLibrary
				{
					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 = 431,
					Types = new Dictionary<string, Oci.DataintegrationService.Models.DerivedType>()
					{
						{
							"EXAMPLE_KEY_OOuia", 
							new Oci.DataintegrationService.Models.DerivedType
							{
								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 = 745,
								Description = "EXAMPLE-description-Value"
							}
						}
					},
					ObjectStatus = 254,
					Identifier = "EXAMPLE-identifier-Value"
				},
				EntityType = Oci.DataintegrationService.Models.CreateEntityShapeFromFile.EntityTypeEnum.Queue,
				OtherTypeLabel = "EXAMPLE-otherTypeLabel-Value",
				UniqueKeys = new List<Oci.DataintegrationService.Models.UniqueKey>
				{
					new Oci.DataintegrationService.Models.PrimaryKey
					{
						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 = 205,
								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_7YQeK", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 113,
														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 = 94,
										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_LzgRI", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 466,
													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 = 480,
									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_Ghx60", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 570,
														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 = 69,
										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_SEqxZ", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 827,
													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 = 846,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							}
						},
						ObjectStatus = 163
					}
				},
				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 = 442,
								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_YyaQO", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 549,
														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 = 30,
										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_FDaOS", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 110,
													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 = 748,
									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_yKoYh", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 227,
														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 = 916,
										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_9YyUy", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 923,
													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 = 324,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							}
						},
						UpdateRule = 900,
						DeleteRule = 946,
						ReferenceUniqueKey = new Oci.DataintegrationService.Models.PrimaryKey
						{
							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 = 730,
									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_BJKlH", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 200,
															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 = 954,
											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_6HNvW", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 161,
														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 = 360,
										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_Ec0L9", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 642,
															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 = 847,
											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_lw1fd", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 420,
														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 = 23,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								}
							},
							ObjectStatus = 517
						},
						ObjectStatus = 706
					}
				},
				ResourceName = "EXAMPLE-resourceName-Value",
				DataFormat = new Oci.DataintegrationService.Models.DataFormat
				{
					FormatAttribute = new Oci.DataintegrationService.Models.JsonFormatAttribute
					{
						Encoding = "EXAMPLE-encoding-Value",
						SampleEntityData = "EXAMPLE-sampleEntityData-Value",
						IsFilePattern = false
					},
					Type = Oci.DataintegrationService.Models.DataFormat.TypeEnum.Parquet,
					CompressionConfig = new Oci.DataintegrationService.Models.Compression
					{
						Codec = Oci.DataintegrationService.Models.Compression.CodecEnum.Bzip2
					}
				},
				ObjectStatus = 341,
				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 = "5JNZRR4ITLBZMNFZCG8Z<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;
            }
        }

    }
}