// 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 = 443,
				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.RuleBasedFieldMap
								{
									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_2JG5a", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 438,
													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"
										}
									},
									MapType = Oci.DataintegrationService.Models.RuleBasedFieldMap.MapTypeEnum.Mapbyposition,
									FromPattern = "EXAMPLE-fromPattern-Value",
									ToPattern = "EXAMPLE-toPattern-Value",
									IsJavaRegexSyntax = true,
									ObjectStatus = 246,
									FromRuleConfig = new Oci.DataintegrationService.Models.RuleTypeConfig
									{
										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"
										},
										Scope = "EXAMPLE-scope-Value",
										ScopeReference = new Oci.DataintegrationService.Models.ScopeReference
										{
											ReferenceObject = "EXAMPLE-referenceObject-Value",
											ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.OciFunctionInputShape,
											RefObjectName = "EXAMPLE-refObjectName-Value"
										},
										IsOrderByRule = true,
										ProjectionRules = 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.TagsOnly,
												IsCaseSensitive = true,
												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 = false,
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_tV4z3", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 521,
																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 = 676,
												Description = "EXAMPLE-description-Value"
											}
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_kKdTt", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 362,
														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 = 855
									},
									ToRuleConfig = new Oci.DataintegrationService.Models.RuleTypeConfig
									{
										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"
										},
										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"
										},
										IsOrderByRule = true,
										ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
										{
											new Oci.DataintegrationService.Models.NamePatternRule
											{
												IsSkipRemainingRulesOnMatch = false,
												Scope = "EXAMPLE-scope-Value",
												IsCascade = true,
												MatchingStrategy = Oci.DataintegrationService.Models.NamePatternRule.MatchingStrategyEnum.NameOnly,
												IsCaseSensitive = true,
												RuleType = Oci.DataintegrationService.Models.NamePatternRule.RuleTypeEnum.Include,
												Pattern = "EXAMPLE-pattern-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_DIKJO", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 273,
																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 = 269,
												Description = "EXAMPLE-description-Value"
											}
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_cD71r", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 413,
														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
									},
									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 = 129,
								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 = 674,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						Operator = new Oci.DataintegrationService.Models.Distinct
						{
							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 = 35,
							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.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_2rkWd", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 692,
															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 = 227,
											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_zGcfP", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 777,
													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 = 529,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OutputPorts = new List<Oci.DataintegrationService.Models.TypedObject>
							{
								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_bu1g2", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 920,
														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 = 268,
										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_b93O9", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 859,
													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 = 659,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							ObjectStatus = 128,
							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 = 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_qDeRA", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 572,
													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"
								}
							},
							OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_7QQik", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 83,
											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 = 341
					}
				},
				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 = true,
						IsOutput = false,
						OutputAggregationType = Oci.DataintegrationService.Models.Parameter.OutputAggregationTypeEnum.Sum,
						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_izb6A", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 579,
										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 = 369,
						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_mHMbu", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 119,
								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 = 399,
				Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
				{
					CreatedBy = "EXAMPLE-createdBy-Value",
					CreatedByName = "EXAMPLE-createdByName-Value",
					UpdatedBy = "EXAMPLE-updatedBy-Value",
					UpdatedByName = "EXAMPLE-updatedByName-Value",
					TimeCreated = DateTime.Parse("10/19/2002 04:00:39"),
					TimeUpdated = DateTime.Parse("08/10/2023 20:36:07"),
					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_qSf0S", 
							"EXAMPLE_VALUE_BqqojAXcI8bmXE0KrJ7M"
						}
					},
					RegistryVersion = 57,
					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.Application,
								ObjectCount = 794
							}
						}
					}
				},
				KeyMap = new Dictionary<string, string>()
				{
					{
						"EXAMPLE_KEY_UcJAj", 
						"EXAMPLE_VALUE_SJi5e4Z7vdoY78ekKD5G"
					}
				},
				TypedObjectMap = new Dictionary<string, Oci.DataintegrationService.Models.TypedObjectWrapper>()
				{
					{
						"EXAMPLE_KEY_PT3q9", 
						new Oci.DataintegrationService.Models.TypedObjectWrapper
						{
							TypedObject = new Oci.DataintegrationService.Models.MacroField
							{
								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_0DmLc", 
												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 = 525
								},
								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 = 962,
									Description = "EXAMPLE-description-Value"
								},
								IsUseSourceType = true,
								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_xmWiu", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 676,
													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 = false,
										ObjectStatus = 743,
										ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
										{
											{
												"EXAMPLE_KEY_K5DOy", 
												new Oci.DataintegrationService.Models.ConfigParameterDefinition
												{
													ParameterType = new Oci.DataintegrationService.Models.DynamicType
													{
														TypeHandler = new Oci.DataintegrationService.Models.FlattenTypeHandler
														{
															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"
															},
															Scope = "EXAMPLE-scope-Value",
															FlattenDetails = "EXAMPLE-flattenDetails-Value",
															ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
															{
																ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
																{
																	{
																		"EXAMPLE_KEY_t79X3", 
																		new Oci.DataintegrationService.Models.ConfigParameterValue
																		{
																			StringValue = "EXAMPLE-stringValue-Value",
																			IntValue = 798,
																			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 = 19
														},
														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 = 965,
														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 = 672,
									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_qAn5V", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 895,
												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 = 995,
								Name = "EXAMPLE-name-Value",
								Description = "EXAMPLE-description-Value"
							}
						}
					}
				},
				TargetFieldMapSummary = new Dictionary<string, Oci.DataintegrationService.Models.FieldMapWrapper>()
				{
					{
						"EXAMPLE_KEY_Gax7P", 
						new Oci.DataintegrationService.Models.FieldMapWrapper
						{
							FieldMap = new Oci.DataintegrationService.Models.DirectNamedFieldMap
							{
								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_UaMAL", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 156,
												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"
									}
								},
								SourceTypedObject = "EXAMPLE-sourceTypedObject-Value",
								TargetTypedObject = "EXAMPLE-targetTypedObject-Value",
								SourceScopeReference = new Oci.DataintegrationService.Models.ScopeReference
								{
									ReferenceObject = "EXAMPLE-referenceObject-Value",
									ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.BoundEntityShapeField,
									RefObjectName = "EXAMPLE-refObjectName-Value"
								},
								TargetScopeReference = new Oci.DataintegrationService.Models.ScopeReference
								{
									ReferenceObject = "EXAMPLE-referenceObject-Value",
									ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.DirectRef,
									RefObjectName = "EXAMPLE-refObjectName-Value"
								},
								SourceFieldName = "EXAMPLE-sourceFieldName-Value",
								TargetFieldName = "EXAMPLE-targetFieldName-Value",
								ObjectStatus = 158,
								Description = "EXAMPLE-description-Value"
							}
						}
					}
				}
			};
			var createDataFlowValidationRequest = new Oci.DataintegrationService.Requests.CreateDataFlowValidationRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				CreateDataFlowValidationDetails = createDataFlowValidationDetails,
				OpcRequestId = "ARFHBFWXZZBMGPCVH6JY<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;
            }
        }

    }
}