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

import oci
from datetime import datetime

# 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.config.from_file()


# Initialize service client with default config file
data_integration_client = oci.data_integration.DataIntegrationClient(config)


# Send the request to service, some parameters are not required, see API
# doc for more info
create_task_validation_response = data_integration_client.create_task_validation(
    workspace_id="ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value",
    create_task_validation_details=oci.data_integration.models.CreateTaskValidationFromIntegrationTask(
        model_type="INTEGRATION_TASK",
        key="EXAMPLE-key-Value",
        model_version="EXAMPLE-modelVersion-Value",
        parent_ref=oci.data_integration.models.ParentReference(
            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=25,
        object_status=26,
        identifier="EXAMPLE-identifier-Value",
        input_ports=[
            oci.data_integration.models.InputPort(
                    model_type="INPUT_PORT",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_1cH9r': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 758,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    object_status=145,
                    name="EXAMPLE-name-Value",
                    description="EXAMPLE-description-Value",
                    port_type="DATA",
                    fields=[
                        oci.data_integration.models.TypedExpression(
                            model_type="TYPED_EXPRESSION",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_vxMVN': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 326,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                            object_status=253,
                            name="EXAMPLE-name-Value",
                            description="EXAMPLE-description-Value",
                            expression="EXAMPLE-expression-Value",
                            type="EXAMPLE-type-Value")])],
        output_ports=[
            oci.data_integration.models.OutputPort(
                model_type="OUTPUT_PORT",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_IEjPe': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 850,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                object_status=862,
                name="EXAMPLE-name-Value",
                description="EXAMPLE-description-Value",
                port_type="DATA",
                fields=[
                    oci.data_integration.models.ConditionalOutputPort(
                        model_type="CONDITIONAL_OUTPUT_PORT",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                        config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_hLpRY': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 728,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                        object_status=714,
                        name="EXAMPLE-name-Value",
                        description="EXAMPLE-description-Value",
                        port_type="CONTROL",
                        split_condition=oci.data_integration.models.Expression(
                            key="EXAMPLE-key-Value",
                            model_type="EXAMPLE-modelType-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            expr_string="EXAMPLE-exprString-Value",
                            config_values=oci.data_integration.models.ConfigValues(
                                config_param_values={
                                    'EXAMPLE_KEY_odYiP': {
                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                        'intValue': 182,
                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                        'refValue': 'EXAMPLE-refValue-Value',
                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                            object_status=584))])],
        parameters=[
            oci.data_integration.models.Parameter(
                model_type="PARAMETER",
                key="EXAMPLE-key-Value",
                model_version="EXAMPLE-modelVersion-Value",
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                config_values=oci.data_integration.models.ConfigValues(
                    config_param_values={
                        'EXAMPLE_KEY_M6nLc': {
                            'stringValue': 'EXAMPLE-stringValue-Value',
                            'intValue': 162,
                            'objectValue': 'EXAMPLE-objectValue-Value',
                            'refValue': 'EXAMPLE-refValue-Value',
                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                object_status=928,
                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="MAX",
                type_name="EXAMPLE-typeName-Value",
                used_for="EXAMPLE-usedFor-Value")],
        op_config_values=oci.data_integration.models.ConfigValues(
            config_param_values={
                'EXAMPLE_KEY_zPAVQ': {
                    'stringValue': 'EXAMPLE-stringValue-Value',
                    'intValue': 321,
                    'objectValue': 'EXAMPLE-objectValue-Value',
                    'refValue': 'EXAMPLE-refValue-Value',
                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
            parent_ref=oci.data_integration.models.ParentReference(
                parent="EXAMPLE-parent-Value",
                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
        metadata=oci.data_integration.models.ObjectMetadata(
            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.strptime(
                "2034-05-31T10:25:16.524Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"),
            time_updated=datetime.strptime(
                "2022-12-24T17:20:28.085Z",
                "%Y-%m-%dT%H:%M:%S.%fZ"),
            aggregator_key="EXAMPLE-aggregatorKey-Value",
            aggregator=oci.data_integration.models.AggregatorSummary(
                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_crVhv': 'EXAMPLE_VALUE_NSNiavV47dCxuk6JVHYs'},
            registry_version=754,
            labels=["EXAMPLE--Value"],
            is_favorite=True,
            count_statistics=oci.data_integration.models.CountStatistic(
                object_type_count_list=[
                    oci.data_integration.models.CountStatisticSummary(
                        object_type="APPLICATION",
                        object_count=515)])),
        data_flow=oci.data_integration.models.DataFlow(
            key="EXAMPLE-key-Value",
            model_type="EXAMPLE-modelType-Value",
            model_version="EXAMPLE-modelVersion-Value",
            parent_ref=oci.data_integration.models.ParentReference(
                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=771,
            nodes=[
                oci.data_integration.models.FlowNode(
                    key="EXAMPLE-key-Value",
                    model_type="EXAMPLE-modelType-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        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.data_integration.models.InputLink(
                            model_type="INPUT_LINK",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            object_status=256,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            from_link="EXAMPLE-fromLink-Value",
                            field_map=oci.data_integration.models.ConditionalCompositeFieldMap(
                                model_type="CONDITIONAL_COMPOSITE_FIELD_MAP",
                                description="EXAMPLE-description-Value",
                                field_map_scope=[
                                    oci.data_integration.models.NameListRule(
                                        model_type="NAME_LIST_RULE",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        is_java_regex_syntax=False,
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_0KrJ7': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 170,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                        object_status=306,
                                        description="EXAMPLE-description-Value",
                                        is_skip_remaining_rules_on_match=False,
                                        scope="EXAMPLE-scope-Value",
                                        is_cascade=True,
                                        matching_strategy="NAME_ONLY",
                                        is_case_sensitive=False,
                                        rule_type="EXCLUDE",
                                        names=["EXAMPLE--Value"])],
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_SzE3q': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 687,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=30))],
                    output_links=[
                        oci.data_integration.models.OutputLink(
                            model_type="OUTPUT_LINK",
                            key="EXAMPLE-key-Value",
                            model_version="EXAMPLE-modelVersion-Value",
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                            object_status=627,
                            description="EXAMPLE-description-Value",
                            port="EXAMPLE-port-Value",
                            to_links=["EXAMPLE--Value"])],
                    operator=oci.data_integration.models.MergeOperator(
                        model_type="MERGE_OPERATOR",
                        key="EXAMPLE-key-Value",
                        model_version="EXAMPLE-modelVersion-Value",
                        parent_ref=oci.data_integration.models.ParentReference(
                            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=393,
                        input_ports=[
                            oci.data_integration.models.InputPort(
                                model_type="INPUT_PORT",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_J0DmL': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 995,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=498,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                port_type="MODEL",
                                fields=[
                                    oci.data_integration.models.PivotField(
                                        model_type="PIVOT_FIELD",
                                        key="EXAMPLE-key-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        config_values=oci.data_integration.models.ConfigValues(
                                            config_param_values={
                                                'EXAMPLE_KEY_RiWfT': {
                                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                                    'intValue': 962,
                                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                                    'refValue': 'EXAMPLE-refValue-Value',
                                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                        object_status=708,
                                        name="EXAMPLE-name-Value",
                                        description="EXAMPLE-description-Value",
                                        expr=oci.data_integration.models.Expression(
                                            key="EXAMPLE-key-Value",
                                            model_type="EXAMPLE-modelType-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            expr_string="EXAMPLE-exprString-Value",
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_lLoHx': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 649,
                                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                                        'refValue': 'EXAMPLE-refValue-Value',
                                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value",
                                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                            object_status=407),
                                        use_type=oci.data_integration.models.ConfiguredType(
                                            model_type="CONFIGURED_TYPE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            name="EXAMPLE-name-Value",
                                            object_status=73,
                                            description="EXAMPLE-description-Value",
                                            wrapped_type="EXAMPLE-wrappedType-Value",
                                            config_values=oci.data_integration.models.ConfigValues(
                                                config_param_values={
                                                    'EXAMPLE_KEY_JATRp': {
                                                        'stringValue': 'EXAMPLE-stringValue-Value',
                                                        'intValue': 773,
                                                        'objectValue': 'EXAMPLE-objectValue-Value',
                                                        'refValue': 'EXAMPLE-refValue-Value',
                                                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value",
                                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                            config_definition=oci.data_integration.models.ConfigDefinition(
                                                key="EXAMPLE-key-Value",
                                                model_type="EXAMPLE-modelType-Value",
                                                model_version="EXAMPLE-modelVersion-Value",
                                                parent_ref=oci.data_integration.models.ParentReference(
                                                    parent="EXAMPLE-parent-Value",
                                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                                name="EXAMPLE-name-Value",
                                                is_contained=True,
                                                object_status=714,
                                                config_parameter_definitions={
                                                    'EXAMPLE_KEY_fOL3I': {
                                                        'parameterType': {
                                                            'modelType': 'DATA_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': 656,
                                                            'description': 'EXAMPLE-description-Value',
                                                            'dtType': 'PRIMITIVE',
                                                            'typeSystemName': 'EXAMPLE-typeSystemName-Value'},
                                                        'parameterName': 'EXAMPLE-parameterName-Value',
                                                        'description': 'EXAMPLE-description-Value',
                                                        'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                        'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                        'isStatic': False,
                                                        'isClassFieldValue': True}})),
                                        type=oci.data_integration.models.ArrayType(
                                            model_type="ARRAY_TYPE",
                                            key="EXAMPLE-key-Value",
                                            model_version="EXAMPLE-modelVersion-Value",
                                            parent_ref=oci.data_integration.models.ParentReference(
                                                parent="EXAMPLE-parent-Value",
                                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                            name="EXAMPLE-name-Value",
                                            object_status=188,
                                            description="EXAMPLE-description-Value",
                                            element_type="EXAMPLE-elementType-Value"),
                                        column_name_pattern="EXAMPLE-columnNamePattern-Value")])],
                        output_ports=[
                            oci.data_integration.models.PivotField(
                                model_type="PIVOT_FIELD",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_UG1T7': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 782,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=349,
                                name="EXAMPLE-name-Value",
                                description="EXAMPLE-description-Value",
                                expr=oci.data_integration.models.Expression(
                                    key="EXAMPLE-key-Value",
                                    model_type="EXAMPLE-modelType-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    expr_string="EXAMPLE-exprString-Value",
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_CfLGc': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 422,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                    object_status=111),
                                use_type=oci.data_integration.models.ConfiguredType(
                                    model_type="CONFIGURED_TYPE",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    name="EXAMPLE-name-Value",
                                    object_status=783,
                                    description="EXAMPLE-description-Value",
                                    wrapped_type="EXAMPLE-wrappedType-Value",
                                    config_values=oci.data_integration.models.ConfigValues(
                                        config_param_values={
                                            'EXAMPLE_KEY_ugE7N': {
                                                'stringValue': 'EXAMPLE-stringValue-Value',
                                                'intValue': 315,
                                                'objectValue': 'EXAMPLE-objectValue-Value',
                                                'refValue': 'EXAMPLE-refValue-Value',
                                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                    config_definition=oci.data_integration.models.ConfigDefinition(
                                        key="EXAMPLE-key-Value",
                                        model_type="EXAMPLE-modelType-Value",
                                        model_version="EXAMPLE-modelVersion-Value",
                                        parent_ref=oci.data_integration.models.ParentReference(
                                            parent="EXAMPLE-parent-Value",
                                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                        name="EXAMPLE-name-Value",
                                        is_contained=False,
                                        object_status=368,
                                        config_parameter_definitions={
                                            'EXAMPLE_KEY_pyiw0': {
                                                'parameterType': {
                                                    'modelType': 'MATERIALIZED_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': 366,
                                                    'description': 'EXAMPLE-description-Value',
                                                    'elements': ['EXAMPLE--Value'],
                                                    'pathNames': ['EXAMPLE--Value']},
                                                'parameterName': 'EXAMPLE-parameterName-Value',
                                                'description': 'EXAMPLE-description-Value',
                                                'defaultValue': 'EXAMPLE-defaultValue-Value',
                                                'classFieldName': 'EXAMPLE-classFieldName-Value',
                                                'isStatic': False,
                                                'isClassFieldValue': True}})),
                                type=oci.data_integration.models.ArrayType(
                                    model_type="ARRAY_TYPE",
                                    key="EXAMPLE-key-Value",
                                    model_version="EXAMPLE-modelVersion-Value",
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                    name="EXAMPLE-name-Value",
                                    object_status=934,
                                    description="EXAMPLE-description-Value",
                                    element_type="EXAMPLE-elementType-Value"),
                                column_name_pattern="EXAMPLE-columnNamePattern-Value")],
                        object_status=547,
                        identifier="EXAMPLE-identifier-Value",
                        parameters=[
                            oci.data_integration.models.Parameter(
                                model_type="PARAMETER",
                                key="EXAMPLE-key-Value",
                                model_version="EXAMPLE-modelVersion-Value",
                                parent_ref=oci.data_integration.models.ParentReference(
                                    parent="EXAMPLE-parent-Value",
                                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                                config_values=oci.data_integration.models.ConfigValues(
                                    config_param_values={
                                        'EXAMPLE_KEY_da5EC': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 623,
                                            'objectValue': 'EXAMPLE-objectValue-Value',
                                            'refValue': 'EXAMPLE-refValue-Value',
                                            'parameterValue': 'EXAMPLE-parameterValue-Value',
                                            'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                                    parent_ref=oci.data_integration.models.ParentReference(
                                        parent="EXAMPLE-parent-Value",
                                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                                object_status=885,
                                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="COUNT",
                                type_name="EXAMPLE-typeName-Value",
                                used_for="EXAMPLE-usedFor-Value")],
                        op_config_values=oci.data_integration.models.ConfigValues(
                            config_param_values={
                                'EXAMPLE_KEY_61hy7': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 877,
                                    'objectValue': 'EXAMPLE-objectValue-Value',
                                    'refValue': 'EXAMPLE-refValue-Value',
                                    'parameterValue': 'EXAMPLE-parameterValue-Value',
                                    'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                            parent_ref=oci.data_integration.models.ParentReference(
                                parent="EXAMPLE-parent-Value",
                                root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                        trigger_rule="ONE_FAILED"),
                    ui_properties=oci.data_integration.models.UIProperties(
                        coordinate_x=1894.4388,
                        coordinate_y=3331.9133),
                    object_status=414)],
            parameters=[
                oci.data_integration.models.Parameter(
                    model_type="PARAMETER",
                    key="EXAMPLE-key-Value",
                    model_version="EXAMPLE-modelVersion-Value",
                    parent_ref=oci.data_integration.models.ParentReference(
                        parent="EXAMPLE-parent-Value",
                        root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value"),
                    config_values=oci.data_integration.models.ConfigValues(
                        config_param_values={
                            'EXAMPLE_KEY_0aOgE': {
                                'stringValue': 'EXAMPLE-stringValue-Value',
                                'intValue': 600,
                                'objectValue': 'EXAMPLE-objectValue-Value',
                                'refValue': 'EXAMPLE-refValue-Value',
                                'parameterValue': 'EXAMPLE-parameterValue-Value',
                                'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                        parent_ref=oci.data_integration.models.ParentReference(
                            parent="EXAMPLE-parent-Value",
                            root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
                    object_status=871,
                    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="MIN",
                    type_name="EXAMPLE-typeName-Value",
                    used_for="EXAMPLE-usedFor-Value")],
            description="EXAMPLE-description-Value",
            flow_config_values=oci.data_integration.models.ConfigValues(
                config_param_values={
                    'EXAMPLE_KEY_n5IuC': {
                        'stringValue': 'EXAMPLE-stringValue-Value',
                        'intValue': 40,
                        'objectValue': 'EXAMPLE-objectValue-Value',
                        'refValue': 'EXAMPLE-refValue-Value',
                        'parameterValue': 'EXAMPLE-parameterValue-Value',
                        'rootObjectValue': 'EXAMPLE-rootObjectValue-Value'}},
                parent_ref=oci.data_integration.models.ParentReference(
                    parent="EXAMPLE-parent-Value",
                    root_doc_id="ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value")),
            object_status=678,
            metadata=oci.data_integration.models.ObjectMetadata(
                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.strptime(
                    "2013-06-10T04:08:43.183Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                time_updated=datetime.strptime(
                    "2010-02-09T15:30:36.673Z",
                    "%Y-%m-%dT%H:%M:%S.%fZ"),
                aggregator_key="EXAMPLE-aggregatorKey-Value",
                aggregator=oci.data_integration.models.AggregatorSummary(
                    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_7tHQn': 'EXAMPLE_VALUE_WF6hPecfRT0JW4TTphh4'},
                registry_version=962,
                labels=["EXAMPLE--Value"],
                is_favorite=False,
                count_statistics=oci.data_integration.models.CountStatistic(
                    object_type_count_list=[
                        oci.data_integration.models.CountStatisticSummary(
                            object_type="USER_DEFINED_FUNCTION",
                            object_count=364)])),
            key_map={
                'EXAMPLE_KEY_1ZVHm': 'EXAMPLE_VALUE_S8g5oE8oi4zJhMLhI45g'},
            typed_object_map={
                'EXAMPLE_KEY_JjRVY': {
                    'typedObject': {
                        'modelType': 'OUTPUT_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_d1CS8': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 532,
                                    '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': 656,
                        'name': 'EXAMPLE-name-Value',
                        'description': 'EXAMPLE-description-Value',
                        'type': {
                            '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': 999,
                            'description': 'EXAMPLE-description-Value',
                            'keyElementType': 'EXAMPLE-keyElementType-Value',
                            'valueElementType': 'EXAMPLE-valueElementType-Value',
                            'containsNull': False},
                        'labels': ['EXAMPLE--Value']}}},
            target_field_map_summary={
                'EXAMPLE_KEY_6EBec': {
                    'fieldMap': {
                        'modelType': 'CONDITIONAL_COMPOSITE_FIELD_MAP',
                        'description': 'EXAMPLE-description-Value',
                        'fieldMapScope': [
                            {
                                'modelType': 'RENAME_RULE',
                                'key': 'EXAMPLE-key-Value',
                                'modelVersion': 'EXAMPLE-modelVersion-Value',
                                'parentRef': {
                                    'parent': 'EXAMPLE-parent-Value',
                                    'rootDocId': 'ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value'},
                                'isJavaRegexSyntax': False,
                                'configValues': {
                                    'configParamValues': {
                                        'EXAMPLE_KEY_uXPEx': {
                                            'stringValue': 'EXAMPLE-stringValue-Value',
                                            'intValue': 813,
                                            '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': 420,
                                'description': 'EXAMPLE-description-Value',
                                'isSkipRemainingRulesOnMatch': True,
                                'fromName': 'EXAMPLE-fromName-Value',
                                'toName': 'EXAMPLE-toName-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_1RF6f': {
                                    'stringValue': 'EXAMPLE-stringValue-Value',
                                    'intValue': 259,
                                    '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': 125}}})),
    opc_request_id="CVEHJM9AQN6RTXUB2WXZ<unique_ID>",
    opc_retry_token="EXAMPLE-opcRetryToken-Value")

# Get the data from response
print(create_task_validation_response.data)