// 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 CreateDataFlowValidationExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var createDataFlowValidationDetails = new Oci.DataintegrationService.Models.CreateDataFlowValidationDetails
			{
				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",
				Identifier = "EXAMPLE-identifier-Value",
				ObjectVersion = 110,
				Nodes = new List<Oci.DataintegrationService.Models.FlowNode>
				{
					new Oci.DataintegrationService.Models.FlowNode
					{
						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",
						InputLinks = new List<Oci.DataintegrationService.Models.InputLink>
						{
							new Oci.DataintegrationService.Models.InputLink
							{
								FromLink = "EXAMPLE-fromLink-Value",
								FieldMap = new Oci.DataintegrationService.Models.ConditionalCompositeFieldMap
								{
									FieldMapScope = new List<Oci.DataintegrationService.Models.ProjectionRule>
									{
										new Oci.DataintegrationService.Models.TypedNamePatternRule
										{
											Types = new List<Object>
											{
												"EXAMPLE-types-Value"
											},
											IsSkipRemainingRulesOnMatch = true,
											Scope = "EXAMPLE-scope-Value",
											IsCascade = false,
											MatchingStrategy = Oci.DataintegrationService.Models.TypedNamePatternRule.MatchingStrategyEnum.NameOrTags,
											IsCaseSensitive = false,
											RuleType = Oci.DataintegrationService.Models.TypedNamePatternRule.RuleTypeEnum.Exclude,
											Pattern = "EXAMPLE-pattern-Value",
											Names = new List<string>
											{
												"EXAMPLE--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"
											},
											IsJavaRegexSyntax = true,
											ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
											{
												ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
												{
													{
														"EXAMPLE_KEY_0dNMw", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 580,
															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 = 325,
											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_evO16", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 822,
													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 = 882,
									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"
								},
								ObjectStatus = 524,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						OutputLinks = new List<Oci.DataintegrationService.Models.OutputLink>
						{
							new Oci.DataintegrationService.Models.OutputLink
							{
								ToLinks = new List<string>
								{
									"EXAMPLE--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"
								},
								ObjectStatus = 514,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						Operator = new Oci.DataintegrationService.Models.Flatten
						{
							FlattenDetails = new Oci.DataintegrationService.Models.FlattenDetails
							{
								FlattenProjectionPreferences = new Oci.DataintegrationService.Models.FlattenProjectionPreferences
								{
									CreateArrayIndex = Oci.DataintegrationService.Models.FlattenProjectionPreferences.CreateArrayIndexEnum.Allow,
									RetainAllAttributes = Oci.DataintegrationService.Models.FlattenProjectionPreferences.RetainAllAttributesEnum.DoNotAllow,
									IgnoreNullValues = Oci.DataintegrationService.Models.FlattenProjectionPreferences.IgnoreNullValuesEnum.DoNotAllow,
									RetainParentNameLineage = Oci.DataintegrationService.Models.FlattenProjectionPreferences.RetainParentNameLineageEnum.Allow
								},
								FlattenAttributeRoot = "EXAMPLE-flattenAttributeRoot-Value",
								FlattenAttributePath = "EXAMPLE-flattenAttributePath-Value",
								FlattenColumns = new List<Oci.DataintegrationService.Models.TypedObject>
								{
									new Oci.DataintegrationService.Models.DynamicInputField
									{
										Type = 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_kg7pR", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 987,
															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"
												}
											},
											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 = true,
												ObjectStatus = 703,
												ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
												{
													{
														"EXAMPLE_KEY_MWeDT", 
														new Oci.DataintegrationService.Models.ConfigParameterDefinition
														{
															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 = 573,
											Description = "EXAMPLE-description-Value"
										},
										Labels = new List<string>
										{
											"EXAMPLE--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_eH1YE", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 944,
														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 = 422,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								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"
								},
								ObjectStatus = 30
							},
							FlattenField = new Oci.DataintegrationService.Models.DynamicProxyField
							{
								Type = new Oci.DataintegrationService.Models.MapType
								{
									KeyElementType = "EXAMPLE-keyElementType-Value",
									ValueElementType = "EXAMPLE-valueElementType-Value",
									ContainsNull = 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"
									},
									Name = "EXAMPLE-name-Value",
									ObjectStatus = 812,
									Description = "EXAMPLE-description-Value"
								},
								Labels = new List<string>
								{
									"EXAMPLE--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_jDs9r", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 541,
												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"
							},
							MaterializedFlattenField = new Oci.DataintegrationService.Models.MaterializedDynamicField
							{
								Scope = "EXAMPLE-scope-Value",
								Type = new Oci.DataintegrationService.Models.MaterializedCompositeType
								{
									Elements = new List<string>
									{
										"EXAMPLE--Value"
									},
									PathNames = new List<string>
									{
										"EXAMPLE--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 = 757,
										ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
										{
											{
												"EXAMPLE_KEY_egOZv", 
												new Oci.DataintegrationService.Models.ConfigParameterDefinition
												{
													ParameterType = new Oci.DataintegrationService.Models.CompositeType
													{
														Elements = new List<Oci.DataintegrationService.Models.TypedObject>
														{
															new Oci.DataintegrationService.Models.ProxyField
															{
																Scope = "EXAMPLE-scope-Value",
																ScopeReference = new Oci.DataintegrationService.Models.ScopeReference
																{
																	ReferenceObject = "EXAMPLE-referenceObject-Value",
																	ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.BoundEntityShape,
																	RefObjectName = "EXAMPLE-refObjectName-Value"
																},
																Labels = new List<string>
																{
																	"EXAMPLE--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_da7Es", 
																			new Oci.DataintegrationService.Models.ConfigParameterValue
																			{
																				StringValue = "EXAMPLE-stringValue-Value",
																				IntValue = 446,
																				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 = 678,
																Name = "EXAMPLE-name-Value",
																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"
														},
														Name = "EXAMPLE-name-Value",
														ObjectStatus = 690,
														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 = 19,
									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_txoJ5", 
											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"
									}
								},
								ObjectStatus = 548,
								Name = "EXAMPLE-name-Value",
								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"
							},
							Name = "EXAMPLE-name-Value",
							Description = "EXAMPLE-description-Value",
							ObjectVersion = 155,
							InputPorts = new List<Oci.DataintegrationService.Models.InputPort>
							{
								new Oci.DataintegrationService.Models.InputPort
								{
									PortType = Oci.DataintegrationService.Models.InputPort.PortTypeEnum.Control,
									Fields = new List<Oci.DataintegrationService.Models.TypedObject>
									{
										new Oci.DataintegrationService.Models.PivotField
										{
											Expr = new Oci.DataintegrationService.Models.Expression
											{
												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"
												},
												ExprString = "EXAMPLE-exprString-Value",
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_0nafT", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 766,
																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 = 608
											},
											UseType = 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_19KKo", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 985,
																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"
													}
												},
												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 = true,
													ObjectStatus = 991,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_lPzWk", 
															new Oci.DataintegrationService.Models.ConfigParameterDefinition
															{
																ParameterType = 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 = 725,
																	Description = "EXAMPLE-description-Value"
																},
																ParameterName = "EXAMPLE-parameterName-Value",
																Description = "EXAMPLE-description-Value",
																DefaultValue = "EXAMPLE-defaultValue-Value",
																ClassFieldName = "EXAMPLE-classFieldName-Value",
																IsStatic = true,
																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 = 137,
												Description = "EXAMPLE-description-Value"
											},
											Type = new Oci.DataintegrationService.Models.JavaType
											{
												JavaTypeName = "EXAMPLE-javaTypeName-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 = 965,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_5ljKh", 
															new Oci.DataintegrationService.Models.ConfigParameterDefinition
															{
																ParameterName = "EXAMPLE-parameterName-Value",
																Description = "EXAMPLE-description-Value",
																DefaultValue = "EXAMPLE-defaultValue-Value",
																ClassFieldName = "EXAMPLE-classFieldName-Value",
																IsStatic = true,
																IsClassFieldValue = 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"
												},
												Name = "EXAMPLE-name-Value",
												ObjectStatus = 272,
												Description = "EXAMPLE-description-Value"
											},
											ColumnNamePattern = "EXAMPLE-columnNamePattern-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_jrsbS", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 596,
															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 = 558,
											Name = "EXAMPLE-name-Value",
											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_XM3sh", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 14,
													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 = 254,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OutputPorts = new List<Oci.DataintegrationService.Models.TypedObject>
							{
								new Oci.DataintegrationService.Models.AbstractField
								{
									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_10lpM", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 173,
													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 = 510,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							ObjectStatus = 515,
							Identifier = "EXAMPLE-identifier-Value",
							Parameters = new List<Oci.DataintegrationService.Models.Parameter>
							{
								new Oci.DataintegrationService.Models.Parameter
								{
									Type = "EXAMPLE-type-Value",
									DefaultValue = "EXAMPLE-defaultValue-Value",
									RootObjectDefaultValue = "EXAMPLE-rootObjectDefaultValue-Value",
									IsInput = false,
									IsOutput = false,
									OutputAggregationType = Oci.DataintegrationService.Models.Parameter.OutputAggregationTypeEnum.Count,
									TypeName = "EXAMPLE-typeName-Value",
									UsedFor = "EXAMPLE-usedFor-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_ZsvQy", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 136,
													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 = 190,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_nozo8", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 686,
											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"
								}
							}
						},
						UiProperties = new Oci.DataintegrationService.Models.UIProperties
						{
							CoordinateX = new System.Decimal
							{
							},
							CoordinateY = new System.Decimal
							{
							}
						},
						ObjectStatus = 385
					}
				},
				Parameters = new List<Oci.DataintegrationService.Models.Parameter>
				{
					new Oci.DataintegrationService.Models.Parameter
					{
						Type = "EXAMPLE-type-Value",
						DefaultValue = "EXAMPLE-defaultValue-Value",
						RootObjectDefaultValue = "EXAMPLE-rootObjectDefaultValue-Value",
						IsInput = false,
						IsOutput = true,
						OutputAggregationType = Oci.DataintegrationService.Models.Parameter.OutputAggregationTypeEnum.Max,
						TypeName = "EXAMPLE-typeName-Value",
						UsedFor = "EXAMPLE-usedFor-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_ffOqk", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 537,
										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 = 975,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				Description = "EXAMPLE-description-Value",
				FlowConfigValues = new Oci.DataintegrationService.Models.ConfigValues
				{
					ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
					{
						{
							"EXAMPLE_KEY_yZCB9", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 404,
								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 = 173,
				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("04/18/2010 02:06:35"),
					TimeUpdated = DateTime.Parse("12/08/2030 01:56:29"),
					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_bdNke", 
							"EXAMPLE_VALUE_zxIv007WoSWWtOgKpiUu"
						}
					},
					RegistryVersion = 406,
					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 = 38
							}
						}
					}
				},
				KeyMap = new Dictionary<string, string>()
				{
					{
						"EXAMPLE_KEY_GqqWL", 
						"EXAMPLE_VALUE_J94Pk3hPKDaIC947u7D7"
					}
				},
				TypedObjectMap = new Dictionary<string, Oci.DataintegrationService.Models.TypedObjectWrapper>()
				{
					{
						"EXAMPLE_KEY_gvMYP", 
						new Oci.DataintegrationService.Models.TypedObjectWrapper
						{
							TypedObject = new Oci.DataintegrationService.Models.DecisionOutputPort
							{
								PortType = Oci.DataintegrationService.Models.DecisionOutputPort.PortTypeEnum.Data,
								DecisionOutputPortType = Oci.DataintegrationService.Models.DecisionOutputPort.DecisionOutputPortTypeEnum.EvalFalse,
								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_tgErd", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 172,
												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 = 963,
								Name = "EXAMPLE-name-Value",
								Description = "EXAMPLE-description-Value"
							}
						}
					}
				},
				TargetFieldMapSummary = new Dictionary<string, Oci.DataintegrationService.Models.FieldMapWrapper>()
				{
					{
						"EXAMPLE_KEY_2poYM", 
						new Oci.DataintegrationService.Models.FieldMapWrapper
						{
							FieldMap = new Oci.DataintegrationService.Models.CompositeFieldMap
							{
								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_lDwWz", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 357,
												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 = 436,
								Description = "EXAMPLE-description-Value"
							}
						}
					}
				}
			};
			var createDataFlowValidationRequest = new Oci.DataintegrationService.Requests.CreateDataFlowValidationRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				CreateDataFlowValidationDetails = createDataFlowValidationDetails,
				OpcRequestId = "PICQCBVO77UW6KCY0IRE<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.CreateDataFlowValidation(createDataFlowValidationRequest);
					// Retrieve value from the response.
					var totalMessageCountValue = response.DataFlowValidation.TotalMessageCount;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"CreateDataFlowValidation Failed with {e.Message}");
                throw e;
            }
        }

    }
}