// 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 CreatePipelineExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var createPipelineDetails = new Oci.DataintegrationService.Models.CreatePipelineDetails
			{
				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 = 212,
				ObjectStatus = 585,
				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.RuleBasedFieldMap
								{
									Key = "EXAMPLE-key-Value",
									ModelVersion = "EXAMPLE-modelVersion-Value",
									ParentRef = new Oci.DataintegrationService.Models.ParentReference
									{
										Parent = "EXAMPLE-parent-Value",
										RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
									},
									ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
									{
										ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
										{
											{
												"EXAMPLE_KEY_uEaJp", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 281,
													ObjectValue = "EXAMPLE-objectValue-Value",
													RefValue = "EXAMPLE-refValue-Value",
													ParameterValue = "EXAMPLE-parameterValue-Value",
													RootObjectValue = "EXAMPLE-rootObjectValue-Value"
												}
											}
										},
										ParentRef = new Oci.DataintegrationService.Models.ParentReference
										{
											Parent = "EXAMPLE-parent-Value",
											RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
										}
									},
									MapType = Oci.DataintegrationService.Models.RuleBasedFieldMap.MapTypeEnum.Mapbypattern,
									FromPattern = "EXAMPLE-fromPattern-Value",
									ToPattern = "EXAMPLE-toPattern-Value",
									IsJavaRegexSyntax = true,
									ObjectStatus = 645,
									FromRuleConfig = new Oci.DataintegrationService.Models.RuleTypeConfig
									{
										Key = "EXAMPLE-key-Value",
										ModelVersion = "EXAMPLE-modelVersion-Value",
										ParentRef = new Oci.DataintegrationService.Models.ParentReference
										{
											Parent = "EXAMPLE-parent-Value",
											RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
										},
										Scope = "EXAMPLE-scope-Value",
										ScopeReference = new Oci.DataintegrationService.Models.ScopeReference
										{
											ReferenceObject = "EXAMPLE-referenceObject-Value",
											ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.OciFunctionOutputShape,
											RefObjectName = "EXAMPLE-refObjectName-Value"
										},
										IsOrderByRule = true,
										ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
										{
											new Oci.DataintegrationService.Models.NamePatternRule
											{
												IsSkipRemainingRulesOnMatch = true,
												Scope = "EXAMPLE-scope-Value",
												IsCascade = false,
												MatchingStrategy = Oci.DataintegrationService.Models.NamePatternRule.MatchingStrategyEnum.TagsOnly,
												IsCaseSensitive = false,
												RuleType = Oci.DataintegrationService.Models.NamePatternRule.RuleTypeEnum.Include,
												Pattern = "EXAMPLE-pattern-Value",
												Key = "EXAMPLE-key-Value",
												ModelVersion = "EXAMPLE-modelVersion-Value",
												ParentRef = new Oci.DataintegrationService.Models.ParentReference
												{
													Parent = "EXAMPLE-parent-Value",
													RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
												},
												IsJavaRegexSyntax = false,
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_YIYJb", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 66,
																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 = 973,
												Description = "EXAMPLE-description-Value"
											}
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_ousSK", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 463,
														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 = 632
									},
									ToRuleConfig = new Oci.DataintegrationService.Models.RuleTypeConfig
									{
										Key = "EXAMPLE-key-Value",
										ModelVersion = "EXAMPLE-modelVersion-Value",
										ParentRef = new Oci.DataintegrationService.Models.ParentReference
										{
											Parent = "EXAMPLE-parent-Value",
											RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
										},
										Scope = "EXAMPLE-scope-Value",
										ScopeReference = new Oci.DataintegrationService.Models.ScopeReference
										{
											ReferenceObject = "EXAMPLE-referenceObject-Value",
											ReferenceType = Oci.DataintegrationService.Models.ScopeReference.ReferenceTypeEnum.BoundEntityShape,
											RefObjectName = "EXAMPLE-refObjectName-Value"
										},
										IsOrderByRule = true,
										ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
										{
											new Oci.DataintegrationService.Models.NamePatternRule
											{
												IsSkipRemainingRulesOnMatch = false,
												Scope = "EXAMPLE-scope-Value",
												IsCascade = false,
												MatchingStrategy = Oci.DataintegrationService.Models.NamePatternRule.MatchingStrategyEnum.NameOrTags,
												IsCaseSensitive = false,
												RuleType = Oci.DataintegrationService.Models.NamePatternRule.RuleTypeEnum.Include,
												Pattern = "EXAMPLE-pattern-Value",
												Key = "EXAMPLE-key-Value",
												ModelVersion = "EXAMPLE-modelVersion-Value",
												ParentRef = new Oci.DataintegrationService.Models.ParentReference
												{
													Parent = "EXAMPLE-parent-Value",
													RootDocId = "ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"
												},
												IsJavaRegexSyntax = true,
												ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
												{
													ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
													{
														{
															"EXAMPLE_KEY_aWcrj", 
															new Oci.DataintegrationService.Models.ConfigParameterValue
															{
																StringValue = "EXAMPLE-stringValue-Value",
																IntValue = 560,
																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 = 386,
												Description = "EXAMPLE-description-Value"
											}
										},
										ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
										{
											ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
											{
												{
													"EXAMPLE_KEY_QW67i", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 69,
														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 = 37
									},
									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 = 663,
								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 = 631,
								Description = "EXAMPLE-description-Value",
								Port = "EXAMPLE-port-Value"
							}
						},
						Operator = new Oci.DataintegrationService.Models.Lookup
						{
							LookupCondition = 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_RzCdK", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 431,
												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 = 495
							},
							IsSkipNoMatch = true,
							MultiMatchStrategy = Oci.DataintegrationService.Models.Lookup.MultiMatchStrategyEnum.ReturnError,
							NullFillValues = new Dictionary<string, Object>()
							{
								{
									"EXAMPLE_KEY_FTUvw", 
									"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"
							},
							Name = "EXAMPLE-name-Value",
							Description = "EXAMPLE-description-Value",
							ObjectVersion = 380,
							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.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 = true,
													ObjectStatus = 217,
													ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
													{
														{
															"EXAMPLE_KEY_hJUam", 
															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.BoundEntityShapeField,
																			RefObjectName = "EXAMPLE-refObjectName-Value"
																		},
																		IsOrderByRule = false,
																		ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
																		{
																			new Oci.DataintegrationService.Models.NameListRule
																			{
																				IsSkipRemainingRulesOnMatch = true,
																				Scope = "EXAMPLE-scope-Value",
																				IsCascade = false,
																				MatchingStrategy = Oci.DataintegrationService.Models.NameListRule.MatchingStrategyEnum.NameOnly,
																				IsCaseSensitive = false,
																				RuleType = Oci.DataintegrationService.Models.NameListRule.RuleTypeEnum.Include,
																				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_osuqX", 
																							new Oci.DataintegrationService.Models.ConfigParameterValue
																							{
																								StringValue = "EXAMPLE-stringValue-Value",
																								IntValue = 684,
																								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 = 132,
																				Description = "EXAMPLE-description-Value"
																			}
																		},
																		ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
																		{
																			ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
																			{
																				{
																					"EXAMPLE_KEY_Veobi", 
																					new Oci.DataintegrationService.Models.ConfigParameterValue
																					{
																						StringValue = "EXAMPLE-stringValue-Value",
																						IntValue = 206,
																						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 = 655
																	},
																	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 = 431,
																	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 = 109,
												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_JmTlG", 
														new Oci.DataintegrationService.Models.ConfigParameterValue
														{
															StringValue = "EXAMPLE-stringValue-Value",
															IntValue = 844,
															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_saRJD", 
												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 = 187,
									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_mnnQM", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 411,
														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 = 591
									},
									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_cIHte", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 357,
													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 = 840,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							ObjectStatus = 578,
							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.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_dnrbF", 
												new Oci.DataintegrationService.Models.ConfigParameterValue
												{
													StringValue = "EXAMPLE-stringValue-Value",
													IntValue = 751,
													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 = 830,
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value"
								}
							},
							OpConfigValues = new Oci.DataintegrationService.Models.ConfigValues
							{
								ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
								{
									{
										"EXAMPLE_KEY_41qkc", 
										new Oci.DataintegrationService.Models.ConfigParameterValue
										{
											StringValue = "EXAMPLE-stringValue-Value",
											IntValue = 11,
											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 = 176
					}
				},
				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.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_2LHJc", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 832,
										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 = 346,
						Name = "EXAMPLE-name-Value",
						Description = "EXAMPLE-description-Value"
					}
				},
				FlowConfigValues = new Oci.DataintegrationService.Models.ConfigValues
				{
					ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
					{
						{
							"EXAMPLE_KEY_knHAI", 
							new Oci.DataintegrationService.Models.ConfigParameterValue
							{
								StringValue = "EXAMPLE-stringValue-Value",
								IntValue = 28,
								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 = 373,
						ObjectStatus = 695,
						Identifier = "EXAMPLE-identifier-Value",
						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.OciFunctionOutputShape,
									RefObjectName = "EXAMPLE-refObjectName-Value"
								},
								IsOrderByRule = true,
								ProjectionRules = new List<Oci.DataintegrationService.Models.ProjectionRule>
								{
									new Oci.DataintegrationService.Models.NameListRule
									{
										IsSkipRemainingRulesOnMatch = true,
										Scope = "EXAMPLE-scope-Value",
										IsCascade = true,
										MatchingStrategy = Oci.DataintegrationService.Models.NameListRule.MatchingStrategyEnum.NameOrTags,
										IsCaseSensitive = false,
										RuleType = Oci.DataintegrationService.Models.NameListRule.RuleTypeEnum.Include,
										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_aJsOs", 
													new Oci.DataintegrationService.Models.ConfigParameterValue
													{
														StringValue = "EXAMPLE-stringValue-Value",
														IntValue = 191,
														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 = 534,
										Description = "EXAMPLE-description-Value"
									}
								},
								ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
								{
									ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
									{
										{
											"EXAMPLE_KEY_6s12G", 
											new Oci.DataintegrationService.Models.ConfigParameterValue
											{
												StringValue = "EXAMPLE-stringValue-Value",
												IntValue = 136,
												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 = 154
							},
							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 = 136,
								ConfigParameterDefinitions = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterDefinition>()
								{
									{
										"EXAMPLE_KEY_tbBlC", 
										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 = 675,
							Description = "EXAMPLE-description-Value"
						},
						ConfigValues = new Oci.DataintegrationService.Models.ConfigValues
						{
							ConfigParamValues = new Dictionary<string, Oci.DataintegrationService.Models.ConfigParameterValue>()
							{
								{
									"EXAMPLE_KEY_FP56f", 
									new Oci.DataintegrationService.Models.ConfigParameterValue
									{
										StringValue = "EXAMPLE-stringValue-Value",
										IntValue = 529,
										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 = 565
						}
					}
				},
				RegistryMetadata = new Oci.DataintegrationService.Models.RegistryMetadata
				{
					AggregatorKey = "EXAMPLE-aggregatorKey-Value",
					Labels = new List<string>
					{
						"EXAMPLE--Value"
					},
					RegistryVersion = 701,
					Key = "EXAMPLE-key-Value",
					IsFavorite = false
				}
			};
			var createPipelineRequest = new Oci.DataintegrationService.Requests.CreatePipelineRequest
			{
				WorkspaceId = "ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
				CreatePipelineDetails = createPipelineDetails,
				OpcRetryToken = "EXAMPLE-opcRetryToken-Value",
				OpcRequestId = "2D3JSKGXOXPOKXQBIRAW<unique_ID>"
			};

            // 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.CreatePipeline(createPipelineRequest);
					// Retrieve value from the response.
					var keyValue = response.Pipeline.Key;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"CreatePipeline Failed with {e.Message}");
                throw e;
            }
        }

    }
}