// 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 UpdatePipelineExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var updatePipelineDetails = new Oci.DataintegrationService.Models.UpdatePipelineDetails
			{
				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",
				ObjectVersion = 172,
				ObjectStatus = 239,
				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.ConditionalCompositeFieldMap
								{
									FieldMapScope = new List<Oci.DataintegrationService.Models.ProjectionRule>
									{
										new Oci.DataintegrationService.Models.TypedNamePatternRule
										{
											Types = new List<Object>
											{
												"EXAMPLE-types-Value"
											},
											IsSkipRemainingRulesOnMatch = true,
											Scope = "EXAMPLE-scope-Value",
											IsCascade = false,
											MatchingStrategy = Oci.DataintegrationService.Models.TypedNamePatternRule.MatchingStrategyEnum.NameOrTags,
											IsCaseSensitive = false,
											RuleType = Oci.DataintegrationService.Models.TypedNamePatternRule.RuleTypeEnum.Include,
											Pattern = "EXAMPLE-pattern-Value",
											Names = new List<string>
											{
												"EXAMPLE--Value"
											},
											Key = "EXAMPLE-key-Value",
											ModelVersion = "EXAMPLE-modelVersion-Value",
											ParentRef = new Oci.DataintegrationService.Models.ParentReference
											{
												Parent = "EXAMPLE-parent-Value",
												RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
											},
											IsJavaRegexSyntax = false,
											ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
											{
												ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
												{
													{
														"EXAMPLE_KEY_0Xbe1", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 755,
															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 = 62,
											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_NTnen", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 441,
													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 = 334,
									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 = 998,
								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 = 500,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						Operator = new Oci.DataintegrationService.Models.Intersect
						{
							IntersectType = Oci.DataintegrationService.Models.Intersect.IntersectTypeEnum.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 = 413,
							InputPorts = new List<Oci.DataintegrationService.Models.InputPort>
							{
								new Oci.DataintegrationService.Models.InputPort
								{
									PortType = Oci.DataintegrationService.Models.InputPort.PortTypeEnum.Control,
									Fields = new List<Oci.DataintegrationService.Models.TypedObject>
									{
										new Oci.DataintegrationService.Models.PivotField
										{
											Expr = new Oci.DataintegrationService.Models.Expression
											{
												Key = "EXAMPLE-key-Value",
												ModelType = "EXAMPLE-modelType-Value",
												ModelVersion = "EXAMPLE-modelVersion-Value",
												ParentRef = new Oci.DataintegrationService.Models.ParentReference
												{
													Parent = "EXAMPLE-parent-Value",
													RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
												},
												ExprString = "EXAMPLE-exprString-Value",
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_mdDYw", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 811,
																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 = 466
											},
											UseType = new Oci.DataintegrationService.Models.ConfiguredType
											{
												WrappedType = "EXAMPLE-wrappedType-Value",
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_cjoBh", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 704,
																ObjectValue = "EXAMPLE-objectValue-Value",
																RefValue = "EXAMPLE-refValue-Value",
																ParameterValue = "EXAMPLE-parameterValue-Value",
																RootObjectValue = "EXAMPLE-rootObjectValue-Value"
															}
														}
													},
													ParentRef = new Oci.DataintegrationService.Models.ParentReference
													{
														Parent = "EXAMPLE-parent-Value",
														RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
													}
												},
												ConfigDefinition = new Oci.DataintegrationService.Models.ConfigDefinition
												{
													Key = "EXAMPLE-key-Value",
													ModelType = "EXAMPLE-modelType-Value",
													ModelVersion = "EXAMPLE-modelVersion-Value",
													ParentRef = new Oci.DataintegrationService.Models.ParentReference
													{
														Parent = "EXAMPLE-parent-Value",
														RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
													},
													Name = "EXAMPLE-name-Value",
													IsContained = false,
													ObjectStatus = 933,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_QvX9y", 
															new Oci.DataintegrationService.Models.ConfigParameterDefinition
															{
																ParameterType = new Oci.DataintegrationService.Models.CompositeType
																{
																	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 = 0,
																	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 = 756,
												Description = "EXAMPLE-description-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 = 599,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_GWpGD", 
															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 = 461,
												Description = "EXAMPLE-description-Value"
											},
											ColumnNamePattern = "EXAMPLE-columnNamePattern-Value",
											Key = "EXAMPLE-key-Value",
											ModelVersion = "EXAMPLE-modelVersion-Value",
											ParentRef = new Oci.DataintegrationService.Models.ParentReference
											{
												Parent = "EXAMPLE-parent-Value",
												RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
											},
											ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
											{
												ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
												{
													{
														"EXAMPLE_KEY_uZbsq", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 370,
															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 = 978,
											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_MxmbF", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 654,
													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 = 574,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OutputPorts = new List<Oci.DataintegrationService.Models.TypedObject>
							{
								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_SzUkL", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 552,
													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 = 38,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							ObjectStatus = 150,
							Identifier = "EXAMPLE-identifier-Value",
							Parameters = new List<Oci.DataintegrationService.Models.Parameter>
							{
								new Oci.DataintegrationService.Models.Parameter
								{
									Type = "EXAMPLE-type-Value",
									DefaultValue = "EXAMPLE-defaultValue-Value",
									RootObjectDefaultValue = "EXAMPLE-rootObjectDefaultValue-Value",
									IsInput = false,
									IsOutput = false,
									OutputAggregationType = Oci.DataintegrationService.Models.Parameter.OutputAggregationTypeEnum.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_aMHqo", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 988,
													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 = 595,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_Z4wno", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 480,
											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 = 997
					}
				},
				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.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_G8TLX", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 539,
										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 = 20,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				FlowConfigValues = new Oci.DataintegrationService.Models.ConfigValues
				{
					ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
					{
						{
							"EXAMPLE_KEY_TcpPg", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 646,
								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 = 156,
						ObjectStatus = 347,
						Identifier = "EXAMPLE-identifier-Value",
						Type = new Oci.DataintegrationService.Models.CompositeType
						{
							Elements = new List<Oci.DataintegrationService.Models.TypedObject>
							{
								new Oci.DataintegrationService.Models.ProxyField
								{
									Scope = "EXAMPLE-scope-Value",
									ScopeReference = new Oci.DataintegrationService.Models.ScopeReference
									{
										ReferenceObject = "EXAMPLE-referenceObject-Value",
										ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.DirectRef,
										RefObjectName = "EXAMPLE-refObjectName-Value"
									},
									Labels = new List<string>
									{
										"EXAMPLE--Value"
									},
									Key = "EXAMPLE-key-Value",
									ModelVersion = "EXAMPLE-modelVersion-Value",
									ParentRef = new Oci.DataintegrationService.Models.ParentReference
									{
										Parent = "EXAMPLE-parent-Value",
										RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_3DQ51", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 885,
													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 = 384,
									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 = false,
								ObjectStatus = 861,
								ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
								{
									{
										"EXAMPLE_KEY_XzLRz", 
										new Oci.DataintegrationService.Models.ConfigParameterDefinition
										{
											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 = 763,
							Description = "EXAMPLE-description-Value"
						},
						ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
						{
							ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
							{
								{
									"EXAMPLE_KEY_seuhM", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 533,
										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 = 328
						}
					}
				},
				RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
				{
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Labels = new List<string>
					{
						"EXAMPLE--Value"
					},
					RegistryVersion = 699,
					Key = "EXAMPLE-key-Value",
					IsFavorite = false
				}
			};
			var updatePipelineRequest = new Oci.DataintegrationService.Requests.UpdatePipelineRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				PipelineKey = "EXAMPLE-pipelineKey-Value",
				UpdatePipelineDetails = updatePipelineDetails,
				OpcRequestId = "XQLHTDR4PN3DAJ5LMMRY<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.UpdatePipeline(updatePipelineRequest);
					// Retrieve value from the response.
					var keyValue = response.Pipeline.Key;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"UpdatePipeline Failed with {e.Message}");
                throw e;
            }
        }

    }
}