// 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 CreateTaskValidationExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var createTaskValidationDetails = new Oci.DataintegrationService.Models.CreateTaskValidationFromIntegrationTask
			{
				DataFlow = new Oci.DataintegrationService.Models.DataFlow
				{
					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 = 482,
					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.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_bElxF", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 825,
														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.BoundEntityShapeField,
											RefObjectName = "EXAMPLE-refObjectName-Value"
										},
										SourceFieldName = "EXAMPLE-sourceFieldName-Value",
										TargetFieldName = "EXAMPLE-targetFieldName-Value",
										ObjectStatus = 702,
										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 = 333,
									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 = 229,
									Description = "EXAMPLE-description-Value",
									Port = "EXAMPLE-port-Value"
								}
							},
							Operator = new Oci.DataintegrationService.Models.Union
							{
								UnionType = Oci.DataintegrationService.Models.Union.UnionTypeEnum.Position,
								IsAll = 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",
								Description = "EXAMPLE-description-Value",
								ObjectVersion = 388,
								InputPorts = new List<Oci.DataintegrationService.Models.InputPort>
								{
									new Oci.DataintegrationService.Models.InputPort
									{
										PortType = Oci.DataintegrationService.Models.InputPort.PortTypeEnum.Model,
										Fields = new List<Oci.DataintegrationService.Models.TypedObject>
										{
											new Oci.DataintegrationService.Models.DynamicProxyField
											{
												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 = 907,
														ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
														{
															{
																"EXAMPLE_KEY_O43DD", 
																new Oci.DataintegrationService.Models.ConfigParameterDefinition
																{
																	ParameterName = "EXAMPLE-parameterName-Value",
																	Description = "EXAMPLE-description-Value",
																	DefaultValue = "EXAMPLE-defaultValue-Value",
																	ClassFieldName = "EXAMPLE-classFieldName-Value",
																	IsStatic = false,
																	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 = 74,
													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_Oz1bm", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 698,
																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 = 218,
												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_CtsBa", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 722,
														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 = 310,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								OutputPorts = new List<Oci.DataintegrationService.Models.TypedObject>
								{
									new Oci.DataintegrationService.Models.DynamicProxyField
									{
										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 = 438,
											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_ssQVb", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 924,
														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 = 677,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								ObjectStatus = 225,
								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 = 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_NBmyP", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 787,
														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 = 807,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
								{
									ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
									{
										{
											"EXAMPLE_KEY_Gj9rE", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 412,
												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 = 656
						}
					},
					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.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_W59Rc", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 926,
											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 = 493,
							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_8Iqs9", 
								new Oci.DataintegrationService.Models.ConfigParameterValue
								{
									StringValue = "EXAMPLE-stringValue-Value",
									IntValue = 201,
									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 = 318,
					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("01/13/2041 01:20:32"),
						TimeUpdated = DateTime.Parse("02/26/2009 19:41:57"),
						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_lxEUx", 
								"EXAMPLE_VALUE_KuXNGzFIfbqBT90exRBP"
							}
						},
						RegistryVersion = 708,
						Labels = new List<string>
						{
							"EXAMPLE--Value"
						},
						IsFavorite = true,
						CountStatistics = new Oci.DataintegrationService.Models.CountStatistic
						{
							ObjectTypeCountList = new List<Oci.DataintegrationService.Models.CountStatisticSummary>
							{
								new Oci.DataintegrationService.Models.CountStatisticSummary
								{
									ObjectType = Oci.DataintegrationService.Models.CountStatisticSummary.ObjectTypeEnum.UserDefinedFunction,
									ObjectCount = 643
								}
							}
						}
					},
					KeyMap = new Dictionary<string, string>()
					{
						{
							"EXAMPLE_KEY_2Bpqg", 
							"EXAMPLE_VALUE_vQRtkcJaFzyGHrwujFuw"
						}
					},
					TypedObjectMap = new Dictionary<string, Oci.DataintegrationService.Models.TypedObjectWrapper>()
					{
						{
							"EXAMPLE_KEY_Pt3nC", 
							new Oci.DataintegrationService.Models.TypedObjectWrapper
							{
								TypedObject = 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_8eR8A", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 961,
													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 = 805,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							}
						}
					},
					TargetFieldMapSummary = new Dictionary<string, Oci.DataintegrationService.Models.FieldMapWrapper>()
					{
						{
							"EXAMPLE_KEY_GKjhd", 
							new Oci.DataintegrationService.Models.FieldMapWrapper
							{
								FieldMap = new Oci.DataintegrationService.Models.RuleBasedEntityMap
								{
									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_C060c", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 422,
													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.RuleBasedEntityMap.MapTypeEnum.Mapbypattern,
									FromPattern = "EXAMPLE-fromPattern-Value",
									ToPattern = "EXAMPLE-toPattern-Value",
									IsJavaRegexSyntax = true,
									ObjectStatus = 546,
									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 = 865,
				ObjectStatus = 927,
				Identifier = "EXAMPLE-identifier-Value",
				InputPorts = new List<Oci.DataintegrationService.Models.InputPort>
				{
					new Oci.DataintegrationService.Models.InputPort
					{
						PortType = Oci.DataintegrationService.Models.InputPort.PortTypeEnum.Data,
						Fields = new List<Oci.DataintegrationService.Models.TypedObject>
						{
							new Oci.DataintegrationService.Models.OutputPort
							{
								PortType = Oci.DataintegrationService.Models.OutputPort.PortTypeEnum.Control,
								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_9uc3C", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 237,
												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 = 493,
								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_5nTuw", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 775,
										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 = 322,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				OutputPorts = new List<Oci.DataintegrationService.Models.OutputPort>
				{
					new Oci.DataintegrationService.Models.OutputPort
					{
						PortType = Oci.DataintegrationService.Models.OutputPort.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_q5l8w", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 825,
												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 = 97,
								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_k7wbS", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 756,
										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 = 428,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-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_tFagw", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 143,
										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 = 130,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
				{
					ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
					{
						{
							"EXAMPLE_KEY_fVZ9H", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 90,
								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"
					}
				},
				Metadata = new Oci.DataintegrationService.Models.ObjectMetadata
				{
					CreatedBy = "EXAMPLE-createdBy-Value",
					CreatedByName = "EXAMPLE-createdByName-Value",
					UpdatedBy = "EXAMPLE-updatedBy-Value",
					UpdatedByName = "EXAMPLE-updatedByName-Value",
					TimeCreated = DateTime.Parse("12/02/2032 09:59:09"),
					TimeUpdated = DateTime.Parse("09/26/2011 08:11:38"),
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Aggregator = new Oci.DataintegrationService.Models.AggregatorSummary
					{
						Type = "EXAMPLE-type-Value",
						Key = "EXAMPLE-key-Value",
						Name = "EXAMPLE-name-Value",
						Identifier = "EXAMPLE-identifier-Value",
						Description = "EXAMPLE-description-Value"
					},
					IdentifierPath = "EXAMPLE-identifierPath-Value",
					InfoFields = new Dictionary<string, string>()
					{
						{
							"EXAMPLE_KEY_oZ8u0", 
							"EXAMPLE_VALUE_xQF0pyiw0MqF7xrPAVdf"
						}
					},
					RegistryVersion = 174,
					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 = 788
							}
						}
					}
				}
			};
			var createTaskValidationRequest = new Oci.DataintegrationService.Requests.CreateTaskValidationRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				CreateTaskValidationDetails = createTaskValidationDetails,
				OpcRequestId = "DPFOODJMABFS3NUS3KJT<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.CreateTaskValidation(createTaskValidationRequest);
					// Retrieve value from the response.
					var totalMessageCountValue = response.TaskValidation.TotalMessageCount;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"CreateTaskValidation Failed with {e.Message}");
                throw e;
            }
        }

    }
}