// 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 UpdateDataFlowExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var updateDataFlowDetails = new Oci.DataintegrationService.Models.UpdateDataFlowDetails
			{
				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 = 722,
				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.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_ixNZT", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 624,
													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.Mapbyname,
									FromPattern = "EXAMPLE-fromPattern-Value",
									ToPattern = "EXAMPLE-toPattern-Value",
									IsJavaRegexSyntax = true,
									ObjectStatus = 796,
									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 = 57,
								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 = 939,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						Operator = new Oci.DataintegrationService.Models.Pivot
						{
							GroupByColumns = new Oci.DataintegrationService.Models.DynamicProxyField
							{
								Type = new Oci.DataintegrationService.Models.CompositeType
								{
									Elements = 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 = true,
											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_7ZZIA", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 415,
															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 = 366,
											Name = "EXAMPLE-name-Value",
											Description = "EXAMPLE-description-Value"
										}
									},
									ConfigDefinition = new Oci.DataintegrationService.Models.ConfigDefinition
									{
										Key = "EXAMPLE-key-Value",
										ModelType = "EXAMPLE-modelType-Value",
										ModelVersion = "EXAMPLE-modelVersion-Value",
										ParentRef = new Oci.DataintegrationService.Models.ParentReference
										{
											Parent = "EXAMPLE-parent-Value",
											RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
										},
										Name = "EXAMPLE-name-Value",
										IsContained = true,
										ObjectStatus = 724,
										ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
										{
											{
												"EXAMPLE_KEY_4ecp6", 
												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 = 800,
									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_gjwof", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 192,
												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 = 119,
								Name = "EXAMPLE-name-Value",
								Description = "EXAMPLE-description-Value"
							},
							MaterializedGroupByColumns = new Oci.DataintegrationService.Models.MaterializedDynamicField
							{
								Scope = "EXAMPLE-scope-Value",
								Type = new Oci.DataintegrationService.Models.MaterializedCompositeType
								{
									Elements = new List<string>
									{
										"EXAMPLE--Value"
									},
									PathNames = new List<string>
									{
										"EXAMPLE--Value"
									},
									ConfigDefinition = new Oci.DataintegrationService.Models.ConfigDefinition
									{
										Key = "EXAMPLE-key-Value",
										ModelType = "EXAMPLE-modelType-Value",
										ModelVersion = "EXAMPLE-modelVersion-Value",
										ParentRef = new Oci.DataintegrationService.Models.ParentReference
										{
											Parent = "EXAMPLE-parent-Value",
											RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
										},
										Name = "EXAMPLE-name-Value",
										IsContained = false,
										ObjectStatus = 881,
										ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
										{
											{
												"EXAMPLE_KEY_fOet1", 
												new Oci.DataintegrationService.Models.ConfigParameterDefinition
												{
													ParameterType = 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.OciFunctionOutputShape,
																RefObjectName = "EXAMPLE-refObjectName-Value"
															},
															IsOrderByRule = false,
															ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
															{
																new Oci.DataintegrationService.Models.RenameRule
																{
																	IsSkipRemainingRulesOnMatch = true,
																	FromName = "EXAMPLE-fromName-Value",
																	ToName = "EXAMPLE-toName-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_yyZbI", 
																				new Oci.DataintegrationService.Models.ConfigParameterValue
																				{
																					StringValue = "EXAMPLE-stringValue-Value",
																					IntValue = 630,
																					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 = 957,
																	Description = "EXAMPLE-description-Value"
																}
															},
															ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
															{
																ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
																{
																	{
																		"EXAMPLE_KEY_m1wLR", 
																		new Oci.DataintegrationService.Models.ConfigParameterValue
																		{
																			StringValue = "EXAMPLE-stringValue-Value",
																			IntValue = 445,
																			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 = 165
														},
														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 = 818,
														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 = 375,
									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_razYD", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 953,
												ObjectValue = "EXAMPLE-objectValue-Value",
												RefValue = "EXAMPLE-refValue-Value",
												ParameterValue = "EXAMPLE-parameterValue-Value",
												RootObjectValue = "EXAMPLE-rootObjectValue-Value"
											}
										}
									},
									ParentRef = new Oci.DataintegrationService.Models.ParentReference
									{
										Parent = "EXAMPLE-parent-Value",
										RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
									}
								},
								ObjectStatus = 480,
								Name = "EXAMPLE-name-Value",
								Description = "EXAMPLE-description-Value"
							},
							PivotKeys = new Oci.DataintegrationService.Models.PivotKeys
							{
								PivotAxis = new List<string>
								{
									"Z"
								},
								PivotKeyValueMap = new Dictionary<string, List<string>>()
								{
									{
										"EXAMPLE_KEY_79FDV", 
										new List<string>
										{
											"EXAMPLE_VALUE_FRuttffdBaxS9FjoxVWB"
										}
									}
								},
								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 = 320
							},
							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 = 332,
							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.InputProxyField
										{
											Scope = "EXAMPLE-scope-Value",
											Type = new Oci.DataintegrationService.Models.DataType
											{
												DtType = Oci.DataintegrationService.Models.DataType.DtTypeEnum.Primitive,
												TypeSystemName = "EXAMPLE-typeSystemName-Value",
												ConfigDefinition = new Oci.DataintegrationService.Models.ConfigDefinition
												{
													Key = "EXAMPLE-key-Value",
													ModelType = "EXAMPLE-modelType-Value",
													ModelVersion = "EXAMPLE-modelVersion-Value",
													ParentRef = new Oci.DataintegrationService.Models.ParentReference
													{
														Parent = "EXAMPLE-parent-Value",
														RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
													},
													Name = "EXAMPLE-name-Value",
													IsContained = true,
													ObjectStatus = 790,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_gHBJE", 
															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 = 383,
												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_hEd7l", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 225,
															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 = 457,
											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_KsAwR", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 435,
													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 = 180,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OutputPorts = new List<Oci.DataintegrationService.Models.TypedObject>
							{
								new Oci.DataintegrationService.Models.DerivedField
								{
									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_a3PRE", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 526,
														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 = 340
									},
									Type = "EXAMPLE-type-Value",
									IsUseInferredType = true,
									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_9oTH7", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 17,
													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 = 404,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							ObjectStatus = 205,
							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.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_Qodta", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 523,
													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 = 630,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_A0xNr", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 567,
											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 = 746
					}
				},
				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_yWCPZ", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 7,
										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 = 358,
						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_vaDWz", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 126,
								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 = 613,
				RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
				{
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Labels = new List<string>
					{
						"EXAMPLE--Value"
					},
					RegistryVersion = 848,
					Key = "EXAMPLE-key-Value",
					IsFavorite = true
				}
			};
			var updateDataFlowRequest = new Oci.DataintegrationService.Requests.UpdateDataFlowRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				DataFlowKey = "EXAMPLE-dataFlowKey-Value",
				UpdateDataFlowDetails = updateDataFlowDetails,
				OpcRequestId = "L1CMF6S1C2NVONZNV1DE<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.UpdateDataFlow(updateDataFlowRequest);
					// Retrieve value from the response.
					var keyValue = response.DataFlow.Key;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"UpdateDataFlow Failed with {e.Message}");
                throw e;
            }
        }

    }
}