// 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 UpdateTaskExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var updateTaskDetails = new Oci.DataintegrationService.Models.UpdateTaskFromPipelineTask
			{
				Pipeline = new Oci.DataintegrationService.Models.Pipeline
				{
					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",
					ModelType = "EXAMPLE-modelType-Value",
					ObjectVersion = 656,
					ObjectStatus = 209,
					Identifier = "EXAMPLE-identifier-Value",
					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.NamedEntityMap
									{
										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_ONJaV", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 948,
														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"
											}
										},
										SourceEntity = "EXAMPLE-sourceEntity-Value",
										TargetEntity = "EXAMPLE-targetEntity-Value",
										ObjectStatus = 351,
										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 = 197,
									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 = 726,
									Description = "EXAMPLE-description-Value",
									Port = "EXAMPLE-port-Value"
								}
							},
							Operator = new Oci.DataintegrationService.Models.Projection
							{
								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 = 848,
								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.DynamicInputField
											{
												Type = new Oci.DataintegrationService.Models.DynamicType
												{
													TypeHandler = 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.TypeListRule
															{
																IsSkipRemainingRulesOnMatch = true,
																Scope = "EXAMPLE-scope-Value",
																IsCascade = false,
																MatchingStrategy = Oci.DataintegrationService.Models.TypeListRule.MatchingStrategyEnum.NameOnly,
																IsCaseSensitive = false,
																RuleType = Oci.DataintegrationService.Models.TypeListRule.RuleTypeEnum.Exclude,
																Types = new List<Object>
																{
																	"EXAMPLE-types-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_JBf3x", 
																			new Oci.DataintegrationService.Models.ConfigParameterValue
																			{
																				StringValue = "EXAMPLE-stringValue-Value",
																				IntValue = 321,
																				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 = 102,
																Description = "EXAMPLE-description-Value"
															}
														},
														ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
														{
															ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
															{
																{
																	"EXAMPLE_KEY_485dG", 
																	new Oci.DataintegrationService.Models.ConfigParameterValue
																	{
																		StringValue = "EXAMPLE-stringValue-Value",
																		IntValue = 949,
																		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 = 872
													},
													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 = 604,
														ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
														{
															{
																"EXAMPLE_KEY_vKCJK", 
																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 = 850,
													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_JgsB4", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 350,
																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 = 451,
												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_XpTAr", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 302,
														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 = 137,
										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_nmNTn", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 669,
														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 = 570,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								ObjectStatus = 713,
								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.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_TnNqM", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 334,
														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 = 467,
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value"
									}
								},
								OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
								{
									ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
									{
										{
											"EXAMPLE_KEY_tQoXR", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 791,
												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 = 183
						}
					},
					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.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_Jj1Wh", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 563,
											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 = 847,
							Name = "EXAMPLE-name-Value",
							Description = "EXAMPLE-description-Value"
						}
					},
					FlowConfigValues = new Oci.DataintegrationService.Models.ConfigValues
					{
						ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
						{
							{
								"EXAMPLE_KEY_1EIDn", 
								new Oci.DataintegrationService.Models.ConfigParameterValue
								{
									StringValue = "EXAMPLE-stringValue-Value",
									IntValue = 503,
									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"
						}
					},
					Variables = new List<Oci.DataintegrationService.Models.Variable>
					{
						new Oci.DataintegrationService.Models.Variable
						{
							Key = "EXAMPLE-key-Value",
							ModelVersion = "EXAMPLE-modelVersion-Value",
							ModelType = "EXAMPLE-modelType-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 = 651,
							ObjectStatus = 989,
							Identifier = "EXAMPLE-identifier-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 = 64,
									ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
									{
										{
											"EXAMPLE_KEY_tq38u", 
											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 = 788,
								Description = "EXAMPLE-description-Value"
							},
							ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_KIunY", 
										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"
								}
							},
							DefaultValue = "EXAMPLE-defaultValue-Value",
							RootObjectDefaultValue = new Oci.DataintegrationService.Models.RootObject
							{
								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 = 457
							}
						}
					},
					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/04/2014 21:36:49"),
						TimeUpdated = DateTime.Parse("03/01/2017 14:08:47"),
						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_Atssi", 
								"EXAMPLE_VALUE_fMl4044Z9XII1LOlFQy3"
							}
						},
						RegistryVersion = 103,
						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.DataAsset,
									ObjectCount = 131
								}
							}
						}
					}
				},
				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",
				ObjectStatus = 318,
				ObjectVersion = 745,
				Identifier = "EXAMPLE-identifier-Value",
				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.Parameter
							{
								Type = "EXAMPLE-type-Value",
								DefaultValue = "EXAMPLE-defaultValue-Value",
								RootObjectDefaultValue = "EXAMPLE-rootObjectDefaultValue-Value",
								IsInput = true,
								IsOutput = false,
								OutputAggregationType = Oci.DataintegrationService.Models.Parameter.OutputAggregationTypeEnum.Min,
								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_8aaZt", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 157,
												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 = 913,
								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_e1Wx2", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 528,
										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 = 147,
						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.Data,
						Fields = new List<Oci.DataintegrationService.Models.TypedObject>
						{
							new Oci.DataintegrationService.Models.TypedExpression
							{
								Expression = "EXAMPLE-expression-Value",
								Type = "EXAMPLE-type-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_EshcP", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 354,
												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 = 223,
								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_D2puN", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 443,
										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 = 881,
						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 = 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_huVSs", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 260,
										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 = 149,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
				{
					ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
					{
						{
							"EXAMPLE_KEY_v5OTP", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 889,
								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"
					}
				},
				IsConcurrentAllowed = true,
				RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
				{
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Labels = new List<string>
					{
						"EXAMPLE--Value"
					},
					RegistryVersion = 700,
					Key = "EXAMPLE-key-Value",
					IsFavorite = true
				}
			};
			var updateTaskRequest = new Oci.DataintegrationService.Requests.UpdateTaskRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				TaskKey = "EXAMPLE-taskKey-Value",
				UpdateTaskDetails = updateTaskDetails,
				OpcRequestId = "UPB1KCVJPPAWRKCLCPNU<unique_ID>",
				IfMatch = "EXAMPLE-ifMatch-Value"
			};

            // Create a default authentication provider that uses the DEFAULT
            // profile in the configuration file.
            // Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file. 
            var provider = new ConfigFileAuthenticationDetailsProvider("DEFAULT");
            try
            {
                // Create a service client and send the request.
				using (var client = new DataIntegrationClient(provider, new ClientConfiguration()))
				{
					var response = await client.UpdateTask(updateTaskRequest);
					// Retrieve value from the response.
					var keyValue = response.Task.Key;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"UpdateTask Failed with {e.Message}");
                throw e;
            }
        }

    }
}