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

require 'oci'
require 'date'

# Create a default config using DEFAULT profile in default location
# Refer to https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File for more info
config = OCI::ConfigFileLoader.load_config

# Initialize service client with default config file
data_integration_client =
  OCI::DataIntegration::DataIntegrationClient.new(config: config)

# Send the request to service, some parameters are not required, see API doc for more info
create_data_flow_validation_response =
  data_integration_client.create_data_flow_validation(
    'ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value',
    OCI::DataIntegration::Models::CreateDataFlowValidationDetails.new(
      key: 'EXAMPLE-key-Value',
      model_type: 'EXAMPLE-modelType-Value',
      model_version: 'EXAMPLE-modelVersion-Value',
      parent_ref:
        OCI::DataIntegration::Models::ParentReference.new(
          parent: 'EXAMPLE-parent-Value',
          root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
        ),
      name: 'EXAMPLE-name-Value',
      identifier: 'EXAMPLE-identifier-Value',
      object_version: 895,
      nodes: [
        OCI::DataIntegration::Models::FlowNode.new(
          key: 'EXAMPLE-key-Value',
          model_type: 'EXAMPLE-modelType-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          input_links: [
            OCI::DataIntegration::Models::InputLink.new(
              model_type: 'INPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 338,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              from_link: 'EXAMPLE-fromLink-Value',
              field_map:
                OCI::DataIntegration::Models::DirectFieldMap.new(
                  model_type: 'DIRECT_FIELD_MAP',
                  description: 'EXAMPLE-description-Value',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_WoY25' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 448,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  source_typed_object: 'EXAMPLE-sourceTypedObject-Value',
                  target_typed_object: 'EXAMPLE-targetTypedObject-Value',
                  source_scope_reference:
                    OCI::DataIntegration::Models::ScopeReference.new(
                      reference_object: 'EXAMPLE-referenceObject-Value',
                      reference_type: 'DIRECT_REF',
                      ref_object_name: 'EXAMPLE-refObjectName-Value'
                    ),
                  target_scope_reference:
                    OCI::DataIntegration::Models::ScopeReference.new(
                      reference_object: 'EXAMPLE-referenceObject-Value',
                      reference_type: 'BOUND_ENTITY_SHAPE',
                      ref_object_name: 'EXAMPLE-refObjectName-Value'
                    ),
                  object_status: 261
                )
            )
          ],
          output_links: [
            OCI::DataIntegration::Models::OutputLink.new(
              model_type: 'OUTPUT_LINK',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              object_status: 326,
              description: 'EXAMPLE-description-Value',
              port: 'EXAMPLE-port-Value',
              to_links: %w[EXAMPLE--Value]
            )
          ],
          operator:
            OCI::DataIntegration::Models::Aggregator.new(
              model_type: 'AGGREGATOR_OPERATOR',
              key: 'EXAMPLE-key-Value',
              model_version: 'EXAMPLE-modelVersion-Value',
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                ),
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              object_version: 357,
              input_ports: [
                OCI::DataIntegration::Models::InputPort.new(
                  model_type: 'INPUT_PORT',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_jBo4c' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 943,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 126,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  port_type: 'DATA',
                  fields: [
                    OCI::DataIntegration::Models::MaterializedDynamicField.new(
                      model_type: 'MATERIALIZED_DYNAMIC_FIELD',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_SYGzG' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 181,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      object_status: 428,
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      scope: 'EXAMPLE-scope-Value',
                      type:
                        OCI::DataIntegration::Models::MaterializedCompositeType
                          .new(
                          model_type: 'MATERIALIZED_COMPOSITE_TYPE',
                          key: 'EXAMPLE-key-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          object_status: 163,
                          description: 'EXAMPLE-description-Value',
                          elements: %w[EXAMPLE--Value],
                          path_names: %w[EXAMPLE--Value],
                          config_definition:
                            OCI::DataIntegration::Models::ConfigDefinition.new(
                              key: 'EXAMPLE-key-Value',
                              model_type: 'EXAMPLE-modelType-Value',
                              model_version: 'EXAMPLE-modelVersion-Value',
                              parent_ref:
                                OCI::DataIntegration::Models::ParentReference
                                  .new(
                                  parent: 'EXAMPLE-parent-Value',
                                  root_doc_id:
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                ),
                              name: 'EXAMPLE-name-Value',
                              is_contained: false,
                              object_status: 44,
                              config_parameter_definitions: {
                                'EXAMPLE_KEY_gbuIw' => {
                                  'parameterType' => {
                                    'modelType' => 'COMPOSITE_TYPE',
                                    'key' => 'EXAMPLE-key-Value',
                                    'modelVersion' =>
                                      'EXAMPLE-modelVersion-Value',
                                    'parentRef' => {
                                      'parent' => 'EXAMPLE-parent-Value',
                                      'rootDocId' =>
                                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                    },
                                    'name' => 'EXAMPLE-name-Value',
                                    'objectStatus' => 250,
                                    'description' => 'EXAMPLE-description-Value'
                                  },
                                  'parameterName' =>
                                    'EXAMPLE-parameterName-Value',
                                  'description' => 'EXAMPLE-description-Value',
                                  'defaultValue' =>
                                    'EXAMPLE-defaultValue-Value',
                                  'classFieldName' =>
                                    'EXAMPLE-classFieldName-Value',
                                  'isStatic' => True,
                                  'isClassFieldValue' => False
                                }
                              }
                            )
                        )
                    )
                  ]
                )
              ],
              output_ports: [
                OCI::DataIntegration::Models::MaterializedDynamicField.new(
                  model_type: 'MATERIALIZED_DYNAMIC_FIELD',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_gO2R4' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 328,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 535,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  scope: 'EXAMPLE-scope-Value',
                  type:
                    OCI::DataIntegration::Models::MaterializedCompositeType.new(
                      model_type: 'MATERIALIZED_COMPOSITE_TYPE',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      name: 'EXAMPLE-name-Value',
                      object_status: 21,
                      description: 'EXAMPLE-description-Value',
                      elements: %w[EXAMPLE--Value],
                      path_names: %w[EXAMPLE--Value],
                      config_definition:
                        OCI::DataIntegration::Models::ConfigDefinition.new(
                          key: 'EXAMPLE-key-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          is_contained: false,
                          object_status: 195,
                          config_parameter_definitions: {
                            'EXAMPLE_KEY_Pm9Xs' => {
                              'parameterType' => {
                                'modelType' => 'MAP_TYPE',
                                'key' => 'EXAMPLE-key-Value',
                                'modelVersion' => 'EXAMPLE-modelVersion-Value',
                                'parentRef' => {
                                  'parent' => 'EXAMPLE-parent-Value',
                                  'rootDocId' =>
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                },
                                'name' => 'EXAMPLE-name-Value',
                                'objectStatus' => 697,
                                'description' => 'EXAMPLE-description-Value',
                                'keyElementType' =>
                                  'EXAMPLE-keyElementType-Value',
                                'valueElementType' =>
                                  'EXAMPLE-valueElementType-Value',
                                'containsNull' => False
                              },
                              'parameterName' => 'EXAMPLE-parameterName-Value',
                              'description' => 'EXAMPLE-description-Value',
                              'defaultValue' => 'EXAMPLE-defaultValue-Value',
                              'classFieldName' =>
                                'EXAMPLE-classFieldName-Value',
                              'isStatic' => True,
                              'isClassFieldValue' => True
                            }
                          }
                        )
                    )
                )
              ],
              object_status: 28,
              identifier: 'EXAMPLE-identifier-Value',
              parameters: [
                OCI::DataIntegration::Models::Parameter.new(
                  model_type: 'PARAMETER',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_PJR7q' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 721,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 532,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  type: 'EXAMPLE-type-Value',
                  default_value: 'EXAMPLE-defaultValue-Value',
                  root_object_default_value:
                    'EXAMPLE-rootObjectDefaultValue-Value',
                  is_input: true,
                  is_output: false,
                  output_aggregation_type: 'MAX',
                  type_name: 'EXAMPLE-typeName-Value',
                  used_for: 'EXAMPLE-usedFor-Value'
                )
              ],
              op_config_values:
                OCI::DataIntegration::Models::ConfigValues.new(
                  config_param_values: {
                    'EXAMPLE_KEY_I5E23' => {
                      'stringValue' => 'EXAMPLE-stringValue-Value',
                      'intValue' => 645,
                      'objectValue' => 'EXAMPLE-objectValue-Value',
                      'refValue' => 'EXAMPLE-refValue-Value',
                      'parameterValue' => 'EXAMPLE-parameterValue-Value',
                      'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                    }
                  },
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    )
                ),
              group_by_columns:
                OCI::DataIntegration::Models::DynamicProxyField.new(
                  model_type: 'DYNAMIC_PROXY_FIELD',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_PEY9H' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 628,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 623,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  type:
                    OCI::DataIntegration::Models::ConfiguredType.new(
                      model_type: 'CONFIGURED_TYPE',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      name: 'EXAMPLE-name-Value',
                      object_status: 313,
                      description: 'EXAMPLE-description-Value',
                      wrapped_type: 'EXAMPLE-wrappedType-Value',
                      config_values:
                        OCI::DataIntegration::Models::ConfigValues.new(
                          config_param_values: {
                            'EXAMPLE_KEY_H9RF5' => {
                              'stringValue' => 'EXAMPLE-stringValue-Value',
                              'intValue' => 257,
                              'objectValue' => 'EXAMPLE-objectValue-Value',
                              'refValue' => 'EXAMPLE-refValue-Value',
                              'parameterValue' =>
                                'EXAMPLE-parameterValue-Value',
                              'rootObjectValue' =>
                                'EXAMPLE-rootObjectValue-Value'
                            }
                          },
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            )
                        ),
                      config_definition:
                        OCI::DataIntegration::Models::ConfigDefinition.new(
                          key: 'EXAMPLE-key-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          is_contained: true,
                          object_status: 513,
                          config_parameter_definitions: {
                            'EXAMPLE_KEY_nDalZ' => {
                              'parameterName' => 'EXAMPLE-parameterName-Value',
                              'description' => 'EXAMPLE-description-Value',
                              'defaultValue' => 'EXAMPLE-defaultValue-Value',
                              'classFieldName' =>
                                'EXAMPLE-classFieldName-Value',
                              'isStatic' => True,
                              'isClassFieldValue' => False
                            }
                          }
                        )
                    ),
                  labels: %w[EXAMPLE--Value]
                ),
              materialized_group_by_columns:
                OCI::DataIntegration::Models::MaterializedDynamicField.new(
                  model_type: 'MATERIALIZED_DYNAMIC_FIELD',
                  key: 'EXAMPLE-key-Value',
                  model_version: 'EXAMPLE-modelVersion-Value',
                  parent_ref:
                    OCI::DataIntegration::Models::ParentReference.new(
                      parent: 'EXAMPLE-parent-Value',
                      root_doc_id:
                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                    ),
                  config_values:
                    OCI::DataIntegration::Models::ConfigValues.new(
                      config_param_values: {
                        'EXAMPLE_KEY_lmThQ' => {
                          'stringValue' => 'EXAMPLE-stringValue-Value',
                          'intValue' => 246,
                          'objectValue' => 'EXAMPLE-objectValue-Value',
                          'refValue' => 'EXAMPLE-refValue-Value',
                          'parameterValue' => 'EXAMPLE-parameterValue-Value',
                          'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                        }
                      },
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        )
                    ),
                  object_status: 911,
                  name: 'EXAMPLE-name-Value',
                  description: 'EXAMPLE-description-Value',
                  scope: 'EXAMPLE-scope-Value',
                  type:
                    OCI::DataIntegration::Models::MaterializedCompositeType.new(
                      model_type: 'MATERIALIZED_COMPOSITE_TYPE',
                      key: 'EXAMPLE-key-Value',
                      model_version: 'EXAMPLE-modelVersion-Value',
                      parent_ref:
                        OCI::DataIntegration::Models::ParentReference.new(
                          parent: 'EXAMPLE-parent-Value',
                          root_doc_id:
                            'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                        ),
                      name: 'EXAMPLE-name-Value',
                      object_status: 52,
                      description: 'EXAMPLE-description-Value',
                      elements: %w[EXAMPLE--Value],
                      path_names: %w[EXAMPLE--Value],
                      config_definition:
                        OCI::DataIntegration::Models::ConfigDefinition.new(
                          key: 'EXAMPLE-key-Value',
                          model_type: 'EXAMPLE-modelType-Value',
                          model_version: 'EXAMPLE-modelVersion-Value',
                          parent_ref:
                            OCI::DataIntegration::Models::ParentReference.new(
                              parent: 'EXAMPLE-parent-Value',
                              root_doc_id:
                                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                            ),
                          name: 'EXAMPLE-name-Value',
                          is_contained: false,
                          object_status: 246,
                          config_parameter_definitions: {
                            'EXAMPLE_KEY_30aua' => {
                              'parameterType' => {
                                'modelType' => 'COMPOSITE_TYPE',
                                'key' => 'EXAMPLE-key-Value',
                                'modelVersion' => 'EXAMPLE-modelVersion-Value',
                                'parentRef' => {
                                  'parent' => 'EXAMPLE-parent-Value',
                                  'rootDocId' =>
                                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                },
                                'name' => 'EXAMPLE-name-Value',
                                'objectStatus' => 399,
                                'description' => 'EXAMPLE-description-Value',
                                'elements' => [
                                  {
                                    'modelType' => 'TYPED_EXPRESSION',
                                    'key' => 'EXAMPLE-key-Value',
                                    'modelVersion' =>
                                      'EXAMPLE-modelVersion-Value',
                                    'parentRef' => {
                                      'parent' => 'EXAMPLE-parent-Value',
                                      'rootDocId' =>
                                        'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                    },
                                    'configValues' => {
                                      'configParamValues' => {
                                        'EXAMPLE_KEY_JuimT' => {
                                          'stringValue' =>
                                            'EXAMPLE-stringValue-Value',
                                          'intValue' => 47,
                                          'objectValue' =>
                                            'EXAMPLE-objectValue-Value',
                                          'refValue' =>
                                            'EXAMPLE-refValue-Value',
                                          'parameterValue' =>
                                            'EXAMPLE-parameterValue-Value',
                                          'rootObjectValue' =>
                                            'EXAMPLE-rootObjectValue-Value'
                                        }
                                      },
                                      'parentRef' => {
                                        'parent' => 'EXAMPLE-parent-Value',
                                        'rootDocId' =>
                                          'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                                      }
                                    },
                                    'objectStatus' => 224,
                                    'name' => 'EXAMPLE-name-Value',
                                    'description' =>
                                      'EXAMPLE-description-Value',
                                    'expression' => 'EXAMPLE-expression-Value',
                                    'type' => 'EXAMPLE-type-Value'
                                  }
                                ]
                              },
                              'parameterName' => 'EXAMPLE-parameterName-Value',
                              'description' => 'EXAMPLE-description-Value',
                              'defaultValue' => 'EXAMPLE-defaultValue-Value',
                              'classFieldName' =>
                                'EXAMPLE-classFieldName-Value',
                              'isStatic' => True,
                              'isClassFieldValue' => True
                            }
                          }
                        )
                    )
                )
            ),
          ui_properties:
            OCI::DataIntegration::Models::UIProperties.new(
              coordinate_x: 3878.0022, coordinate_y: 3336.7175
            ),
          object_status: 303
        )
      ],
      parameters: [
        OCI::DataIntegration::Models::Parameter.new(
          model_type: 'PARAMETER',
          key: 'EXAMPLE-key-Value',
          model_version: 'EXAMPLE-modelVersion-Value',
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            ),
          config_values:
            OCI::DataIntegration::Models::ConfigValues.new(
              config_param_values: {
                'EXAMPLE_KEY_GUCUx' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 545,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              parent_ref:
                OCI::DataIntegration::Models::ParentReference.new(
                  parent: 'EXAMPLE-parent-Value',
                  root_doc_id:
                    'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
                )
            ),
          object_status: 785,
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          type: 'EXAMPLE-type-Value',
          default_value: 'EXAMPLE-defaultValue-Value',
          root_object_default_value: 'EXAMPLE-rootObjectDefaultValue-Value',
          is_input: true,
          is_output: true,
          output_aggregation_type: 'COUNT',
          type_name: 'EXAMPLE-typeName-Value',
          used_for: 'EXAMPLE-usedFor-Value'
        )
      ],
      description: 'EXAMPLE-description-Value',
      flow_config_values:
        OCI::DataIntegration::Models::ConfigValues.new(
          config_param_values: {
            'EXAMPLE_KEY_SlbNQ' => {
              'stringValue' => 'EXAMPLE-stringValue-Value',
              'intValue' => 916,
              'objectValue' => 'EXAMPLE-objectValue-Value',
              'refValue' => 'EXAMPLE-refValue-Value',
              'parameterValue' => 'EXAMPLE-parameterValue-Value',
              'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
            }
          },
          parent_ref:
            OCI::DataIntegration::Models::ParentReference.new(
              parent: 'EXAMPLE-parent-Value',
              root_doc_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            )
        ),
      object_status: 280,
      metadata:
        OCI::DataIntegration::Models::ObjectMetadata.new(
          created_by: 'EXAMPLE-createdBy-Value',
          created_by_name: 'EXAMPLE-createdByName-Value',
          updated_by: 'EXAMPLE-updatedBy-Value',
          updated_by_name: 'EXAMPLE-updatedByName-Value',
          time_created: DateTime.parse('2027-08-03T04:20:21.174Z'),
          time_updated: DateTime.parse('2034-03-22T19:25:49.074Z'),
          aggregator_key: 'EXAMPLE-aggregatorKey-Value',
          aggregator:
            OCI::DataIntegration::Models::AggregatorSummary.new(
              type: 'EXAMPLE-type-Value',
              key: 'EXAMPLE-key-Value',
              name: 'EXAMPLE-name-Value',
              identifier: 'EXAMPLE-identifier-Value',
              description: 'EXAMPLE-description-Value'
            ),
          identifier_path: 'EXAMPLE-identifierPath-Value',
          info_fields: {
            'EXAMPLE_KEY_Jnet5' => 'EXAMPLE_VALUE_jvDRw1TMPXSF9lzYz8Wq'
          },
          registry_version: 824,
          labels: %w[EXAMPLE--Value],
          is_favorite: true,
          count_statistics:
            OCI::DataIntegration::Models::CountStatistic.new(
              object_type_count_list: [
                OCI::DataIntegration::Models::CountStatisticSummary.new(
                  object_type: 'DATA_FLOW', object_count: 939
                )
              ]
            )
        ),
      key_map: { 'EXAMPLE_KEY_5BuJX' => 'EXAMPLE_VALUE_pDtQOEzXpcsgpKryUew6' },
      typed_object_map: {
        'EXAMPLE_KEY_pRcU3' => {
          'typedObject' => {
            'modelType' => 'DYNAMIC_PROXY_FIELD',
            'key' => 'EXAMPLE-key-Value',
            'modelVersion' => 'EXAMPLE-modelVersion-Value',
            'parentRef' => {
              'parent' => 'EXAMPLE-parent-Value',
              'rootDocId' =>
                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            },
            'configValues' => {
              'configParamValues' => {
                'EXAMPLE_KEY_42Ye8' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 273,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              'parentRef' => {
                'parent' => 'EXAMPLE-parent-Value',
                'rootDocId' =>
                  'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
              }
            },
            'objectStatus' => 424,
            'name' => 'EXAMPLE-name-Value',
            'description' => 'EXAMPLE-description-Value',
            'type' => {
              'modelType' => 'DERIVED_TYPE',
              'key' => 'EXAMPLE-key-Value',
              'modelVersion' => 'EXAMPLE-modelVersion-Value',
              'parentRef' => {
                'parent' => 'EXAMPLE-parent-Value',
                'rootDocId' =>
                  'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
              },
              'name' => 'EXAMPLE-name-Value',
              'objectStatus' => 624,
              'description' => 'EXAMPLE-description-Value'
            },
            'labels' => %w[EXAMPLE--Value]
          }
        }
      },
      target_field_map_summary: {
        'EXAMPLE_KEY_7IeDj' => {
          'fieldMap' => {
            'modelType' => 'DIRECT_FIELD_MAP',
            'description' => 'EXAMPLE-description-Value',
            'key' => 'EXAMPLE-key-Value',
            'modelVersion' => 'EXAMPLE-modelVersion-Value',
            'parentRef' => {
              'parent' => 'EXAMPLE-parent-Value',
              'rootDocId' =>
                'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
            },
            'configValues' => {
              'configParamValues' => {
                'EXAMPLE_KEY_AhgCn' => {
                  'stringValue' => 'EXAMPLE-stringValue-Value',
                  'intValue' => 595,
                  'objectValue' => 'EXAMPLE-objectValue-Value',
                  'refValue' => 'EXAMPLE-refValue-Value',
                  'parameterValue' => 'EXAMPLE-parameterValue-Value',
                  'rootObjectValue' => 'EXAMPLE-rootObjectValue-Value'
                }
              },
              'parentRef' => {
                'parent' => 'EXAMPLE-parent-Value',
                'rootDocId' =>
                  'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'
              }
            },
            'sourceTypedObject' => 'EXAMPLE-sourceTypedObject-Value',
            'targetTypedObject' => 'EXAMPLE-targetTypedObject-Value',
            'sourceScopeReference' => {
              'referenceObject' => 'EXAMPLE-referenceObject-Value',
              'referenceType' => 'BOUND_ENTITY_SHAPE',
              'refObjectName' => 'EXAMPLE-refObjectName-Value'
            },
            'targetScopeReference' => {
              'referenceObject' => 'EXAMPLE-referenceObject-Value',
              'referenceType' => 'DIRECT_REF',
              'refObjectName' => 'EXAMPLE-refObjectName-Value'
            },
            'objectStatus' => 129
          }
        }
      }
    )
  )

# Get the data from response
puts "#{create_data_flow_validation_response.data}"