// 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).

package main

import (
	"context"
	"fmt"
	"time"

	"github.com/oracle/oci-go-sdk/v65/common"
	"github.com/oracle/oci-go-sdk/v65/dataintegration"
	"github.com/oracle/oci-go-sdk/v65/example/helpers"
)

func ExampleCreateConnectionValidation() {
	// 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.
	client, err := dataintegration.NewDataIntegrationClientWithConfigurationProvider(common.DefaultConfigProvider())
	helpers.FatalIfError(err)

	// Create a request and dependent object(s).
	var defaultValue interface{}
	defaultValue = "EXAMPLE-defaultValue-Value"
	req := dataintegration.CreateConnectionValidationRequest{CreateConnectionValidationDetails: dataintegration.CreateConnectionValidationDetails{Connection: dataintegration.CreateConnectionFromMySql{ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
		Value: common.String("EXAMPLE-value-Value")}},
		Key:          common.String("EXAMPLE-key-Value"),
		ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
		ObjectStatus: common.Int(652),
		Password:     common.String("EXAMPLE-password-Value"),
		PasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
			Value: common.String("EXAMPLE-value-Value")},
		Description: common.String("EXAMPLE-description-Value"),
		Identifier:  common.String("EXAMPLE-identifier-Value"),
		Name:        common.String("EXAMPLE-name-Value"),
		ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
			RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
		RegistryMetadata: &dataintegration.RegistryMetadata{RegistryVersion: common.Int(647),
			AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
			IsFavorite:    common.Bool(false),
			Key:           common.String("EXAMPLE-key-Value"),
			Labels:        []string{"EXAMPLE--Value"}},
		Username: common.String("EXAMPLE-username-Value")},
		DataAsset: dataintegration.CreateDataAssetFromFusionApp{ExternalKey: common.String("EXAMPLE-externalKey-Value"),
			Identifier:   common.String("EXAMPLE-identifier-Value"),
			ObjectStatus: common.Int(215),
			BucketSchema: &dataintegration.Schema{IsHasContainers: common.Bool(false),
				Metadata: &dataintegration.ObjectMetadata{Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
					Identifier: common.String("EXAMPLE-identifier-Value"),
					Key:        common.String("EXAMPLE-key-Value"),
					Name:       common.String("EXAMPLE-name-Value"),
					Type:       common.String("EXAMPLE-type-Value")},
					AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					CreatedByName: common.String("EXAMPLE-createdByName-Value"),
					InfoFields:    map[string]string{"EXAMPLE_KEY_6SfLB": "EXAMPLE_VALUE_DpcTwXHs7Riwfce6b6MD"},
					CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(724),
						ObjectType: dataintegration.CountStatisticSummaryObjectTypeTask}}},
					Labels:          []string{"EXAMPLE--Value"},
					TimeUpdated:     &common.SDKTime{Time: time.Now()},
					UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
					CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
					IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
					RegistryVersion: common.Int(259),
					UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
					IsFavorite:      common.Bool(true),
					TimeCreated:     &common.SDKTime{Time: time.Now()}},
				Name:              common.String("EXAMPLE-name-Value"),
				ResourceName:      common.String("EXAMPLE-resourceName-Value"),
				DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
				ObjectVersion:     common.Int(947),
				Description:       common.String("EXAMPLE-description-Value"),
				ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
				Identifier:        common.String("EXAMPLE-identifier-Value"),
				Key:               common.String("EXAMPLE-key-Value"),
				ModelVersion:      common.String("EXAMPLE-modelVersion-Value"),
				ObjectStatus:      common.Int(754),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")}},
			DefaultConnection: dataintegration.CreateConnectionFromOracleSiebel{Key: common.String("EXAMPLE-key-Value"),
				Name:         common.String("EXAMPLE-name-Value"),
				Identifier:   common.String("EXAMPLE-identifier-Value"),
				Description:  common.String("EXAMPLE-description-Value"),
				ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				ObjectStatus: common.Int(43),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				Password: common.String("EXAMPLE-password-Value"),
				PasswordSecret: &dataintegration.SensitiveAttribute{SecretConfig: dataintegration.OciVaultSecretConfig{SecretId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value")},
					Value: common.String("EXAMPLE-value-Value")},
				ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
					Value: common.String("EXAMPLE-value-Value")}},
				Username: common.String("EXAMPLE-username-Value"),
				RegistryMetadata: &dataintegration.RegistryMetadata{Labels: []string{"EXAMPLE--Value"},
					RegistryVersion: common.Int(525),
					AggregatorKey:   common.String("EXAMPLE-aggregatorKey-Value"),
					IsFavorite:      common.Bool(false),
					Key:             common.String("EXAMPLE-key-Value")}},
			ModelVersion:    common.String("EXAMPLE-modelVersion-Value"),
			Name:            common.String("EXAMPLE-name-Value"),
			AssetProperties: map[string]string{"EXAMPLE_KEY_QX07X": "EXAMPLE_VALUE_F4MoMBj7dkVsKuHLPUkY"},
			ServiceUrl:      common.String("EXAMPLE-serviceUrl-Value"),
			StagingConnection: &dataintegration.ConnectionSummaryFromObjectStorage{Key: common.String("EXAMPLE-key-Value"),
				Name:         common.String("EXAMPLE-name-Value"),
				ObjectStatus: common.Int(819),
				ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Value: common.String("EXAMPLE-value-Value"),
					Name: common.String("EXAMPLE-name-Value")}},
				FingerPrint:  common.String("EXAMPLE-fingerPrint-Value"),
				ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				PassPhrase:            common.String("EXAMPLE-passPhrase-Value"),
				CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
				Description:           common.String("EXAMPLE-description-Value"),
				PrimarySchema: &dataintegration.Schema{ExternalKey: common.String("EXAMPLE-externalKey-Value"),
					ObjectStatus:  common.Int(355),
					ObjectVersion: common.Int(30),
					ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
						RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
					DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
					Description:       common.String("EXAMPLE-description-Value"),
					Metadata: &dataintegration.ObjectMetadata{IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
						TimeCreated: &common.SDKTime{Time: time.Now()},
						TimeUpdated: &common.SDKTime{Time: time.Now()},
						CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(2),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
						IsFavorite:      common.Bool(true),
						RegistryVersion: common.Int(616),
						UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
						Aggregator: &dataintegration.AggregatorSummary{Description: common.String("EXAMPLE-description-Value"),
							Identifier: common.String("EXAMPLE-identifier-Value"),
							Key:        common.String("EXAMPLE-key-Value"),
							Name:       common.String("EXAMPLE-name-Value"),
							Type:       common.String("EXAMPLE-type-Value")},
						InfoFields:    map[string]string{"EXAMPLE_KEY_xbsUF": "EXAMPLE_VALUE_k5o51UTpx8wHGG04QsGV"},
						Labels:        []string{"EXAMPLE--Value"},
						UpdatedBy:     common.String("EXAMPLE-updatedBy-Value"),
						AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
						CreatedBy:     common.String("EXAMPLE-createdBy-Value"),
						CreatedByName: common.String("EXAMPLE-createdByName-Value")},
					ResourceName:    common.String("EXAMPLE-resourceName-Value"),
					Identifier:      common.String("EXAMPLE-identifier-Value"),
					Key:             common.String("EXAMPLE-key-Value"),
					IsHasContainers: common.Bool(false),
					ModelVersion:    common.String("EXAMPLE-modelVersion-Value"),
					Name:            common.String("EXAMPLE-name-Value")},
				Metadata: &dataintegration.ObjectMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
					CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectType: dataintegration.CountStatisticSummaryObjectTypeDataAsset,
						ObjectCount: common.Int64(605)}}},
					IsFavorite:      common.Bool(false),
					TimeCreated:     &common.SDKTime{Time: time.Now()},
					IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
					InfoFields:      map[string]string{"EXAMPLE_KEY_gyFf5": "EXAMPLE_VALUE_UATS3Cq7EyOIWIoDZPPV"},
					TimeUpdated:     &common.SDKTime{Time: time.Now()},
					CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
					CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
					RegistryVersion: common.Int(258),
					UpdatedBy:       common.String("EXAMPLE-updatedBy-Value"),
					Aggregator: &dataintegration.AggregatorSummary{Type: common.String("EXAMPLE-type-Value"),
						Description: common.String("EXAMPLE-description-Value"),
						Identifier:  common.String("EXAMPLE-identifier-Value"),
						Key:         common.String("EXAMPLE-key-Value"),
						Name:        common.String("EXAMPLE-name-Value")},
					Labels:        []string{"EXAMPLE--Value"},
					UpdatedByName: common.String("EXAMPLE-updatedByName-Value")},
				ObjectVersion: common.Int(835),
				KeyMap:        map[string]string{"EXAMPLE_KEY_LwWgk": "EXAMPLE_VALUE_zMYSgGEfA9pZo9j1CSzE"},
				UserId:        common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
				Identifier:    common.String("EXAMPLE-identifier-Value"),
				IsDefault:     common.Bool(false)},
			StagingDataAsset: &dataintegration.DataAssetSummaryFromObjectStorage{Metadata: &dataintegration.ObjectMetadata{UpdatedBy: common.String("EXAMPLE-updatedBy-Value"),
				UpdatedByName: common.String("EXAMPLE-updatedByName-Value"),
				Aggregator: &dataintegration.AggregatorSummary{Key: common.String("EXAMPLE-key-Value"),
					Name:        common.String("EXAMPLE-name-Value"),
					Type:        common.String("EXAMPLE-type-Value"),
					Description: common.String("EXAMPLE-description-Value"),
					Identifier:  common.String("EXAMPLE-identifier-Value")},
				AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
				CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(747),
					ObjectType: dataintegration.CountStatisticSummaryObjectTypeProject}}},
				IsFavorite:      common.Bool(true),
				Labels:          []string{"EXAMPLE--Value"},
				IdentifierPath:  common.String("EXAMPLE-identifierPath-Value"),
				TimeCreated:     &common.SDKTime{Time: time.Now()},
				CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
				RegistryVersion: common.Int(7),
				CreatedByName:   common.String("EXAMPLE-createdByName-Value"),
				InfoFields:      map[string]string{"EXAMPLE_KEY_QC8tp": "EXAMPLE_VALUE_20ykDf8vxFB9DzQT7acw"},
				TimeUpdated:     &common.SDKTime{Time: time.Now()}},
				Namespace:    common.String("EXAMPLE-namespace-Value"),
				Description:  common.String("EXAMPLE-description-Value"),
				Key:          common.String("EXAMPLE-key-Value"),
				Name:         common.String("EXAMPLE-name-Value"),
				OciRegion:    common.String("EXAMPLE-ociRegion-Value"),
				TenancyId:    common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value"),
				Identifier:   common.String("EXAMPLE-identifier-Value"),
				ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
				NativeTypeSystem: &dataintegration.TypeSystem{Description: common.String("EXAMPLE-description-Value"),
					ModelVersion:  common.String("EXAMPLE-modelVersion-Value"),
					ObjectVersion: common.Int(842),
					ParentRef: &dataintegration.ParentReference{RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
						Parent: common.String("EXAMPLE-parent-Value")},
					TypeMappingFrom: map[string]string{"EXAMPLE_KEY_n3dAj": "EXAMPLE_VALUE_5LmMrYxNSPcGAdl52LPg"},
					Types: []dataintegration.DataType{dataintegration.DataType{Key: common.String("EXAMPLE-key-Value"),
						ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
							RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
						TypeSystemName: common.String("EXAMPLE-typeSystemName-Value"),
						ConfigDefinition: &dataintegration.ConfigDefinition{Name: common.String("EXAMPLE-name-Value"),
							ObjectStatus: common.Int(307),
							ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
								RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
							ConfigParameterDefinitions: map[string]dataintegration.ConfigParameterDefinition{"EXAMPLE_KEY_ateoq": dataintegration.ConfigParameterDefinition{DefaultValue: &defaultValue,
								Description:       common.String("EXAMPLE-description-Value"),
								IsClassFieldValue: common.Bool(false),
								IsStatic:          common.Bool(false),
								ParameterName:     common.String("EXAMPLE-parameterName-Value"),
								ParameterType: dataintegration.JavaType{Key: common.String("EXAMPLE-key-Value"),
									ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
									Name:         common.String("EXAMPLE-name-Value"),
									ObjectStatus: common.Int(436),
									ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
										RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
									Description:  common.String("EXAMPLE-description-Value"),
									JavaTypeName: common.String("EXAMPLE-javaTypeName-Value")},
								ClassFieldName: common.String("EXAMPLE-classFieldName-Value")}},
							IsContained:  common.Bool(false),
							Key:          common.String("EXAMPLE-key-Value"),
							ModelVersion: common.String("EXAMPLE-modelVersion-Value")},
						DtType:       dataintegration.DataTypeDtTypePrimitive,
						ModelVersion: common.String("EXAMPLE-modelVersion-Value"),
						Name:         common.String("EXAMPLE-name-Value"),
						ObjectStatus: common.Int(723),
						Description:  common.String("EXAMPLE-description-Value")}},
					Identifier:    common.String("EXAMPLE-identifier-Value"),
					Key:           common.String("EXAMPLE-key-Value"),
					Name:          common.String("EXAMPLE-name-Value"),
					ObjectStatus:  common.Int(198),
					TypeMappingTo: map[string]string{"EXAMPLE_KEY_WsEB8": "EXAMPLE_VALUE_t1dIPE6UdeTXqLhtdr4p"}},
				Url:             common.String("EXAMPLE-url-Value"),
				AssetProperties: map[string]string{"EXAMPLE_KEY_0ORpw": "EXAMPLE_VALUE_sPArPLVSseuhMuhaL9LX"},
				DefaultConnection: &dataintegration.ConnectionSummaryFromObjectStorage{FingerPrint: common.String("EXAMPLE-fingerPrint-Value"),
					PrimarySchema: &dataintegration.Schema{Identifier: common.String("EXAMPLE-identifier-Value"),
						ModelVersion:      common.String("EXAMPLE-modelVersion-Value"),
						Description:       common.String("EXAMPLE-description-Value"),
						ExternalKey:       common.String("EXAMPLE-externalKey-Value"),
						DefaultConnection: common.String("EXAMPLE-defaultConnection-Value"),
						Key:               common.String("EXAMPLE-key-Value"),
						ObjectVersion:     common.Int(198),
						ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
							RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
						Name:            common.String("EXAMPLE-name-Value"),
						ObjectStatus:    common.Int(775),
						ResourceName:    common.String("EXAMPLE-resourceName-Value"),
						IsHasContainers: common.Bool(true),
						Metadata: &dataintegration.ObjectMetadata{CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(209),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeFunctionLibrary}}},
							RegistryVersion: common.Int(436),
							IsFavorite:      common.Bool(true),
							TimeCreated:     &common.SDKTime{Time: time.Now()},
							Aggregator: &dataintegration.AggregatorSummary{Name: common.String("EXAMPLE-name-Value"),
								Type:        common.String("EXAMPLE-type-Value"),
								Description: common.String("EXAMPLE-description-Value"),
								Identifier:  common.String("EXAMPLE-identifier-Value"),
								Key:         common.String("EXAMPLE-key-Value")},
							AggregatorKey:  common.String("EXAMPLE-aggregatorKey-Value"),
							CreatedBy:      common.String("EXAMPLE-createdBy-Value"),
							IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
							InfoFields:     map[string]string{"EXAMPLE_KEY_A0IMn": "EXAMPLE_VALUE_xCbErcqKqs3QuyvFVyAo"},
							TimeUpdated:    &common.SDKTime{Time: time.Now()},
							UpdatedBy:      common.String("EXAMPLE-updatedBy-Value"),
							UpdatedByName:  common.String("EXAMPLE-updatedByName-Value"),
							CreatedByName:  common.String("EXAMPLE-createdByName-Value"),
							Labels:         []string{"EXAMPLE--Value"}}},
					Identifier:   common.String("EXAMPLE-identifier-Value"),
					KeyMap:       map[string]string{"EXAMPLE_KEY_qJcZw": "EXAMPLE_VALUE_ptZ8FSjKypuYUG6y1DXj"},
					ObjectStatus: common.Int(379),
					UserId:       common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-userId-Value"),
					PassPhrase:   common.String("EXAMPLE-passPhrase-Value"),
					ConnectionProperties: []dataintegration.ConnectionProperty{dataintegration.ConnectionProperty{Name: common.String("EXAMPLE-name-Value"),
						Value: common.String("EXAMPLE-value-Value")}},
					CredentialFileContent: common.String("EXAMPLE-credentialFileContent-Value"),
					Description:           common.String("EXAMPLE-description-Value"),
					Metadata: &dataintegration.ObjectMetadata{TimeCreated: &common.SDKTime{Time: time.Now()},
						UpdatedBy:      common.String("EXAMPLE-updatedBy-Value"),
						AggregatorKey:  common.String("EXAMPLE-aggregatorKey-Value"),
						CreatedByName:  common.String("EXAMPLE-createdByName-Value"),
						IdentifierPath: common.String("EXAMPLE-identifierPath-Value"),
						IsFavorite:     common.Bool(false),
						Labels:         []string{"EXAMPLE--Value"},
						Aggregator: &dataintegration.AggregatorSummary{Identifier: common.String("EXAMPLE-identifier-Value"),
							Key:         common.String("EXAMPLE-key-Value"),
							Name:        common.String("EXAMPLE-name-Value"),
							Type:        common.String("EXAMPLE-type-Value"),
							Description: common.String("EXAMPLE-description-Value")},
						CountStatistics: &dataintegration.CountStatistic{ObjectTypeCountList: []dataintegration.CountStatisticSummary{dataintegration.CountStatisticSummary{ObjectCount: common.Int64(852),
							ObjectType: dataintegration.CountStatisticSummaryObjectTypeApplication}}},
						CreatedBy:       common.String("EXAMPLE-createdBy-Value"),
						TimeUpdated:     &common.SDKTime{Time: time.Now()},
						UpdatedByName:   common.String("EXAMPLE-updatedByName-Value"),
						InfoFields:      map[string]string{"EXAMPLE_KEY_c45tH": "EXAMPLE_VALUE_xbGEZI5Dst9ovncLPfPe"},
						RegistryVersion: common.Int(757)},
					ModelVersion:  common.String("EXAMPLE-modelVersion-Value"),
					ObjectVersion: common.Int(259),
					ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
						RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
					IsDefault: common.Bool(true),
					Key:       common.String("EXAMPLE-key-Value"),
					Name:      common.String("EXAMPLE-name-Value")},
				ObjectStatus:  common.Int(489),
				ObjectVersion: common.Int(793),
				ParentRef: &dataintegration.ParentReference{Parent: common.String("EXAMPLE-parent-Value"),
					RootDocId: common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")},
				ExternalKey: common.String("EXAMPLE-externalKey-Value")},
			Description: common.String("EXAMPLE-description-Value"),
			Key:         common.String("EXAMPLE-key-Value"),
			RegistryMetadata: &dataintegration.RegistryMetadata{AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
				IsFavorite:      common.Bool(false),
				Key:             common.String("EXAMPLE-key-Value"),
				Labels:          []string{"EXAMPLE--Value"},
				RegistryVersion: common.Int(795)}},
		RegistryMetadata: &dataintegration.RegistryMetadata{RegistryVersion: common.Int(440),
			AggregatorKey: common.String("EXAMPLE-aggregatorKey-Value"),
			IsFavorite:    common.Bool(true),
			Key:           common.String("EXAMPLE-key-Value"),
			Labels:        []string{"EXAMPLE--Value"}}},
		OpcRequestId:  common.String("L52UMG1TH2FY5FG6RLBS<unique_ID>"),
		OpcRetryToken: common.String("EXAMPLE-opcRetryToken-Value"),
		WorkspaceId:   common.String("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value")}

	// Send the request using the service client
	resp, err := client.CreateConnectionValidation(context.Background(), req)
	helpers.FatalIfError(err)

	// Retrieve value from the response.
	fmt.Println(resp)
}