# 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 'date'
require 'oci'

# 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
log_analytics_client = OCI::LogAnalytics::LogAnalyticsClient.new(config: config)

# Send the request to service, some parameters are not required, see API doc for more info
validate_source_extended_field_details_response =
  log_analytics_client.validate_source_extended_field_details(
    'EXAMPLE-namespaceName-Value',
    OCI::LogAnalytics::Models::LogAnalyticsSource.new(
      label_conditions: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceLabelCondition.new(
          condition_string: 'EXAMPLE-conditionString-Value',
          condition_block:
            OCI::LogAnalytics::Models::ConditionBlock.new(
              condition_blocks_operator: 'OR',
              field_name: 'EXAMPLE-fieldName-Value',
              label_condition_operator: 'EXAMPLE-labelConditionOperator-Value',
              label_condition_value: 'EXAMPLE-labelConditionValue-Value',
              label_condition_values: %w[EXAMPLE--Value]
            ),
          message: 'EXAMPLE-message-Value',
          is_visible: false,
          block_condition_field: 'EXAMPLE-blockConditionField-Value',
          block_condition_operator: 'EXAMPLE-blockConditionOperator-Value',
          block_condition_value: 'EXAMPLE-blockConditionValue-Value',
          label_condition_value: 'EXAMPLE-labelConditionValue-Value',
          label_condition_values: %w[EXAMPLE--Value],
          content_example: 'EXAMPLE-contentExample-Value',
          is_enabled: true,
          field_name: 'EXAMPLE-fieldName-Value',
          label_condition_id: 723,
          is_system: false,
          label_condition_operator: 'EXAMPLE-labelConditionOperator-Value',
          source_id: 770,
          label_display_name: 'EXAMPLE-labelDisplayName-Value',
          storage_field: 'EXAMPLE-storageField-Value',
          label_name: 'EXAMPLE-labelName-Value',
          is_inline_label_existing_in_database: false
        )
      ],
      association_count: 845,
      association_entity: [
        OCI::LogAnalytics::Models::LogAnalyticsAssociation.new(
          failure_message: 'EXAMPLE-failureMessage-Value',
          agent_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value',
          time_last_attempted: DateTime.parse('2016-03-21T09:12:26.113Z'),
          retry_count: 659,
          source_name: 'EXAMPLE-sourceName-Value',
          source_display_name: 'EXAMPLE-sourceDisplayName-Value',
          source_type_name: 'EXAMPLE-sourceTypeName-Value',
          life_cycle_state: 'FAILED',
          entity_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value',
          entity_name: 'EXAMPLE-entityName-Value',
          entity_type_name: 'EXAMPLE-entityTypeName-Value',
          host: 'EXAMPLE-host-Value',
          agent_entity_name: 'EXAMPLE-agentEntityName-Value',
          entity_type_display_name: 'EXAMPLE-entityTypeDisplayName-Value',
          log_group_id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value',
          log_group_name: 'EXAMPLE-logGroupName-Value',
          log_group_compartment: 'EXAMPLE-logGroupCompartment-Value',
          association_properties: [
            OCI::LogAnalytics::Models::AssociationProperty.new(
              name: 'EXAMPLE-name-Value',
              value: 'EXAMPLE-value-Value',
              patterns: [
                OCI::LogAnalytics::Models::PatternOverride.new(
                  id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value',
                  value: 'EXAMPLE-value-Value',
                  effective_level: 'EXAMPLE-effectiveLevel-Value'
                )
              ]
            )
          ]
        )
      ],
      data_filter_definitions: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceDataFilter.new(
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          edit_version: 268,
          is_enabled: false,
          field_name: 'EXAMPLE-fieldName-Value',
          hash_type: 23,
          data_filter_id: 39,
          is_system: false,
          match_regular_expression: 'EXAMPLE-matchRegularExpression-Value',
          order: 580,
          path: 'EXAMPLE-path-Value',
          replacement_string: 'EXAMPLE-replacementString-Value',
          source_id: 814,
          filter_type: 'HASH_MASK'
        )
      ],
      database_credential: 'EXAMPLE-databaseCredential-Value',
      extended_field_definitions: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceExtendedFieldDefinition
          .new(
          field:
            OCI::LogAnalytics::Models::LogAnalyticsField.new(
              cee_alias: 'EXAMPLE-ceeAlias-Value',
              data_type: 'EXAMPLE-dataType-Value',
              regular_expression: 'EXAMPLE-regularExpression-Value',
              description: 'EXAMPLE-description-Value',
              display_name: 'EXAMPLE-displayName-Value',
              edit_version: 181,
              facet_priority: 489,
              name: 'EXAMPLE-name-Value',
              is_facet_eligible: false,
              is_high_cardinality: false,
              is_large_data: true,
              is_multi_valued: true,
              is_primary: false,
              is_system: true,
              is_summarizable: false,
              mapped_value: 'EXAMPLE-mappedValue-Value',
              is_metric_key_eligible: true,
              is_metric_value_eligible: false,
              range_facet_eligible: 489,
              is_table_eligible: true,
              unit_type: 'EXAMPLE-unitType-Value',
              time_updated: DateTime.parse('2030-07-12T08:06:50.778Z'),
              is_keep_duplicates: false
            ),
          display_regular_expression: 'EXAMPLE-displayRegularExpression-Value',
          extended_fields: [
            OCI::LogAnalytics::Models::LogAnalyticsExtendedField.new(
              field:
                OCI::LogAnalytics::Models::LogAnalyticsField.new(
                  cee_alias: 'EXAMPLE-ceeAlias-Value',
                  data_type: 'EXAMPLE-dataType-Value',
                  regular_expression: 'EXAMPLE-regularExpression-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 979,
                  facet_priority: 765,
                  name: 'EXAMPLE-name-Value',
                  is_facet_eligible: true,
                  is_high_cardinality: false,
                  is_large_data: true,
                  is_multi_valued: false,
                  is_primary: true,
                  is_system: false,
                  is_summarizable: false,
                  mapped_value: 'EXAMPLE-mappedValue-Value',
                  is_metric_key_eligible: false,
                  is_metric_value_eligible: true,
                  range_facet_eligible: 438,
                  is_table_eligible: false,
                  unit_type: 'EXAMPLE-unitType-Value',
                  time_updated: DateTime.parse('2017-01-12T09:59:24.524Z'),
                  is_keep_duplicates: true
                ),
              extended_field_definition_id: 122,
              field_name: 'EXAMPLE-fieldName-Value',
              field_display_name: 'EXAMPLE-fieldDisplayName-Value',
              saved_regular_expression_name:
                'EXAMPLE-savedRegularExpressionName-Value',
              extended_field_id: 279
            )
          ],
          base_field_name: 'EXAMPLE-baseFieldName-Value',
          base_field_log_text: 'EXAMPLE-baseFieldLogText-Value',
          condition_data_type: 'EXAMPLE-conditionDataType-Value',
          condition_field: 'EXAMPLE-conditionField-Value',
          condition_operator: 'EXAMPLE-conditionOperator-Value',
          condition_value: 'EXAMPLE-conditionValue-Value',
          converted_regular_expression:
            'EXAMPLE-convertedRegularExpression-Value',
          is_enabled: false,
          extended_field_definition_id: 772,
          is_system: false,
          regular_expression: 'EXAMPLE-regularExpression-Value',
          source_id: 471,
          time_updated: DateTime.parse('2037-10-20T23:57:59.381Z'),
          condition_string: 'EXAMPLE-conditionString-Value',
          condition_block:
            OCI::LogAnalytics::Models::GenericConditionBlock.new(
              condition_blocks_operator: 'NOT_AND',
              name: 'EXAMPLE-name-Value',
              operator: 'EXAMPLE-operator-Value',
              value: 'EXAMPLE-value-Value',
              values: %w[EXAMPLE--Value]
            )
        )
      ],
      is_for_cloud: false,
      labels: [
        OCI::LogAnalytics::Models::LogAnalyticsLabelView.new(
          aliases: [
            OCI::LogAnalytics::Models::LogAnalyticsLabelAlias.new(
              alias: 'EXAMPLE-alias-Value',
              alias_display_name: 'EXAMPLE-aliasDisplayName-Value',
              is_system: false,
              display_name: 'EXAMPLE-displayName-Value',
              name: 'EXAMPLE-name-Value',
              priority: 'MEDIUM'
            )
          ],
          count_usage_in_alert_rule: 344,
          count_usage_in_source: 276,
          id: 'EXAMPLE-id-Value',
          suggest_type: 731,
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          edit_version: 435,
          impact: 'EXAMPLE-impact-Value',
          is_system: true,
          name: 'EXAMPLE-name-Value',
          priority: 'LOW',
          recommendation: 'EXAMPLE-recommendation-Value',
          type: 455,
          is_user_deleted: true
        )
      ],
      metric_definitions: [
        OCI::LogAnalytics::Models::LogAnalyticsMetric.new(
          aggregation_field: 'EXAMPLE-aggregationField-Value',
          bucket_metadata: 'EXAMPLE-bucketMetadata-Value',
          clock_period: 'EXAMPLE-clockPeriod-Value',
          description: 'EXAMPLE-description-Value',
          edit_version: 68,
          field_name: 'EXAMPLE-fieldName-Value',
          field_values: %w[EXAMPLE--Value],
          grouping_field: 'EXAMPLE-groupingField-Value',
          is_enabled: false,
          is_system: true,
          display_name: 'EXAMPLE-displayName-Value',
          metric_reference: 725,
          name: 'EXAMPLE-name-Value',
          metric_type: 'COUNT',
          is_metric_source_enabled: false,
          operator: 'NOT_NULL',
          entity_type: 'EXAMPLE-entityType-Value',
          time_updated: DateTime.parse('2015-10-31T12:42:15.204Z'),
          unit_type: 'EXAMPLE-unitType-Value',
          is_user_customized: false
        )
      ],
      metrics: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceMetric.new(
          is_metric_source_enabled: false,
          metric_name: 'EXAMPLE-metricName-Value',
          source_name: 'EXAMPLE-sourceName-Value',
          entity_type: 'EXAMPLE-entityType-Value'
        )
      ],
      oob_parsers: [
        OCI::LogAnalytics::Models::LogAnalyticsParser.new(
          content: 'EXAMPLE-content-Value',
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          edit_version: 664,
          encoding: 'EXAMPLE-encoding-Value',
          example_content: 'EXAMPLE-exampleContent-Value',
          field_maps: [
            OCI::LogAnalytics::Models::LogAnalyticsParserField.new(
              field:
                OCI::LogAnalytics::Models::LogAnalyticsField.new(
                  cee_alias: 'EXAMPLE-ceeAlias-Value',
                  data_type: 'EXAMPLE-dataType-Value',
                  regular_expression: 'EXAMPLE-regularExpression-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 437,
                  facet_priority: 875,
                  name: 'EXAMPLE-name-Value',
                  is_facet_eligible: false,
                  is_high_cardinality: false,
                  is_large_data: false,
                  is_multi_valued: false,
                  is_primary: true,
                  is_system: true,
                  is_summarizable: true,
                  mapped_value: 'EXAMPLE-mappedValue-Value',
                  is_metric_key_eligible: true,
                  is_metric_value_eligible: true,
                  range_facet_eligible: 187,
                  is_table_eligible: true,
                  unit_type: 'EXAMPLE-unitType-Value',
                  time_updated: DateTime.parse('2019-03-03T16:44:24.845Z'),
                  is_keep_duplicates: true
                ),
              parser_field_id: 731,
              parser_field_expression: 'EXAMPLE-parserFieldExpression-Value',
              parser_field_name: 'EXAMPLE-parserFieldName-Value',
              storage_field_name: 'EXAMPLE-storageFieldName-Value',
              parser_field_integrator_name:
                'EXAMPLE-parserFieldIntegratorName-Value',
              parser_name: 'EXAMPLE-parserName-Value',
              parser_field_sequence: 874,
              structured_column_info: 'EXAMPLE-structuredColumnInfo-Value',
              actions: [
                OCI::LogAnalytics::Models::ParserAction.new(
                  name: 'EXAMPLE-name-Value', order: 628
                )
              ]
            )
          ],
          footer_content: 'EXAMPLE-footerContent-Value',
          header_content: 'EXAMPLE-headerContent-Value',
          name: 'EXAMPLE-name-Value',
          is_default: true,
          is_single_line_content: false,
          is_system: true,
          language: 'EXAMPLE-language-Value',
          time_updated: DateTime.parse('2001-06-18T11:00:10.549Z'),
          log_type_test_request_version: 888,
          parser_ignoreline_characters:
            'EXAMPLE-parserIgnorelineCharacters-Value',
          is_hidden: true,
          parser_sequence: 951,
          parser_timezone: 'EXAMPLE-parserTimezone-Value',
          parser_filter:
            OCI::LogAnalytics::Models::LogAnalyticsParserFilter.new(
              id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value',
              agent_version: 'EXAMPLE-agentVersion-Value',
              is_in_use: 600,
              operating_system: 'EXAMPLE-operatingSystem-Value',
              parser_id: 682,
              version: 'EXAMPLE-version-Value'
            ),
          is_parser_written_once: false,
          parser_functions: [
            OCI::LogAnalytics::Models::LogAnalyticsParserFunction.new(
              parser_meta_plugin:
                OCI::LogAnalytics::Models::LogAnalyticsParserMetaPlugin.new(
                  meta_plugin_parameters: [
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: false,
                      is_repeatable: false,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                  ],
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  name: 'EXAMPLE-name-Value'
                ),
              parser_function_id: 559,
              parser_function_name: 'EXAMPLE-parserFunctionName-Value',
              is_enabled: false,
              is_system: false,
              parser_id: 616,
              parser_name: 'EXAMPLE-parserName-Value',
              parser_meta_plugin_name: 'EXAMPLE-parserMetaPluginName-Value',
              parser_function_priority: 778,
              parser_function_parameters: [
                OCI::LogAnalytics::Models::LogAnalyticsParserFunctionParameter
                  .new(
                  parser_function_id: 397,
                  parser_function_parameter_name:
                    'EXAMPLE-parserFunctionParameterName-Value',
                  parser_function_parameter_id: 126,
                  parser_meta_plugin_parameter_name:
                    'EXAMPLE-parserMetaPluginParameterName-Value',
                  parser_meta_plugin_parameter_value:
                    'EXAMPLE-parserMetaPluginParameterValue-Value',
                  parser_name: 'EXAMPLE-parserName-Value',
                  parser_meta_plugin_parameter:
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: true,
                      is_repeatable: true,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                )
              ]
            )
          ],
          sources_count: 84,
          should_tokenize_original_text: false,
          field_delimiter: 'EXAMPLE-fieldDelimiter-Value',
          field_qualifier: 'EXAMPLE-fieldQualifier-Value',
          type: 'XML',
          is_user_deleted: false,
          is_namespace_aware: true,
          categories: [
            OCI::LogAnalytics::Models::LogAnalyticsCategory.new(
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              display_name: 'EXAMPLE-displayName-Value',
              type: 'EXAMPLE-type-Value',
              is_system: true
            )
          ],
          is_position_aware: true,
          dependent_sources: [
            OCI::LogAnalytics::Models::DependentSource.new(
              source_name: 'EXAMPLE-sourceName-Value',
              source_display_name: 'EXAMPLE-sourceDisplayName-Value',
              source_id: 615,
              source_type: 'EXAMPLE-sourceType-Value',
              is_system: true,
              is_auto_association_enabled: false,
              entity_types: [
                OCI::LogAnalytics::Models::LogAnalyticsSourceEntityType.new(
                  source_id: 657,
                  entity_type: 'EXAMPLE-entityType-Value',
                  entity_type_category: 'EXAMPLE-entityTypeCategory-Value',
                  entity_type_display_name:
                    'EXAMPLE-entityTypeDisplayName-Value'
                )
              ],
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 19,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ],
          dependent_parsers: [
            OCI::LogAnalytics::Models::DependentParser.new(
              parser_name: 'EXAMPLE-parserName-Value',
              parser_display_name: 'EXAMPLE-parserDisplayName-Value',
              parser_id: 479,
              is_system: true,
              parser_type: 'DELIMITED',
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 959,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ]
        )
      ],
      parameters: [
        OCI::LogAnalytics::Models::LogAnalyticsParameter.new(
          default_value: 'EXAMPLE-defaultValue-Value',
          description: 'EXAMPLE-description-Value',
          is_active: false,
          name: 'EXAMPLE-name-Value',
          source_id: 508
        )
      ],
      pattern_count: 198,
      patterns: [
        OCI::LogAnalytics::Models::LogAnalyticsSourcePattern.new(
          converted_text: 'EXAMPLE-convertedText-Value',
          db_parser_id: 115,
          db_pattern_date_time_columns:
            'EXAMPLE-dbPatternDateTimeColumns-Value',
          db_pattern_date_time_field: 'EXAMPLE-dbPatternDateTimeField-Value',
          db_pattern_sequence_column: 'EXAMPLE-dbPatternSequenceColumn-Value',
          fields: [
            OCI::LogAnalytics::Models::LogAnalyticsParserField.new(
              field:
                OCI::LogAnalytics::Models::LogAnalyticsField.new(
                  cee_alias: 'EXAMPLE-ceeAlias-Value',
                  data_type: 'EXAMPLE-dataType-Value',
                  regular_expression: 'EXAMPLE-regularExpression-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 570,
                  facet_priority: 775,
                  name: 'EXAMPLE-name-Value',
                  is_facet_eligible: true,
                  is_high_cardinality: true,
                  is_large_data: false,
                  is_multi_valued: true,
                  is_primary: true,
                  is_system: true,
                  is_summarizable: true,
                  mapped_value: 'EXAMPLE-mappedValue-Value',
                  is_metric_key_eligible: false,
                  is_metric_value_eligible: true,
                  range_facet_eligible: 833,
                  is_table_eligible: true,
                  unit_type: 'EXAMPLE-unitType-Value',
                  time_updated: DateTime.parse('2014-07-14T02:10:10.425Z'),
                  is_keep_duplicates: true
                ),
              parser_field_id: 86,
              parser_field_expression: 'EXAMPLE-parserFieldExpression-Value',
              parser_field_name: 'EXAMPLE-parserFieldName-Value',
              storage_field_name: 'EXAMPLE-storageFieldName-Value',
              parser_field_integrator_name:
                'EXAMPLE-parserFieldIntegratorName-Value',
              parser_name: 'EXAMPLE-parserName-Value',
              parser_field_sequence: 820,
              parser:
                OCI::LogAnalytics::Models::LogAnalyticsParser.new(
                  content: 'EXAMPLE-content-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 359,
                  encoding: 'EXAMPLE-encoding-Value',
                  example_content: 'EXAMPLE-exampleContent-Value',
                  footer_content: 'EXAMPLE-footerContent-Value',
                  header_content: 'EXAMPLE-headerContent-Value',
                  name: 'EXAMPLE-name-Value',
                  is_default: true,
                  is_single_line_content: true,
                  is_system: true,
                  language: 'EXAMPLE-language-Value',
                  time_updated: DateTime.parse('2005-10-11T06:01:55.748Z'),
                  log_type_test_request_version: 899,
                  parser_ignoreline_characters:
                    'EXAMPLE-parserIgnorelineCharacters-Value',
                  is_hidden: true,
                  parser_sequence: 434,
                  parser_timezone: 'EXAMPLE-parserTimezone-Value',
                  parser_filter:
                    OCI::LogAnalytics::Models::LogAnalyticsParserFilter.new(
                      id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value',
                      agent_version: 'EXAMPLE-agentVersion-Value',
                      is_in_use: 229,
                      operating_system: 'EXAMPLE-operatingSystem-Value',
                      parser_id: 419,
                      version: 'EXAMPLE-version-Value'
                    ),
                  is_parser_written_once: false,
                  parser_functions: [
                    OCI::LogAnalytics::Models::LogAnalyticsParserFunction.new(
                      parser_meta_plugin:
                        OCI::LogAnalytics::Models::LogAnalyticsParserMetaPlugin
                          .new(
                          meta_plugin_parameters: [
                            OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                              .new(
                              description: 'EXAMPLE-description-Value',
                              name: 'EXAMPLE-name-Value',
                              is_mandatory: false,
                              is_repeatable: false,
                              plugin_name: 'EXAMPLE-pluginName-Value',
                              type: 'EXAMPLE-type-Value'
                            )
                          ],
                          description: 'EXAMPLE-description-Value',
                          display_name: 'EXAMPLE-displayName-Value',
                          name: 'EXAMPLE-name-Value'
                        ),
                      parser_function_id: 674,
                      parser_function_name: 'EXAMPLE-parserFunctionName-Value',
                      is_enabled: false,
                      is_system: false,
                      parser_id: 900,
                      parser_name: 'EXAMPLE-parserName-Value',
                      parser_meta_plugin_name:
                        'EXAMPLE-parserMetaPluginName-Value',
                      parser_function_priority: 896,
                      parser_function_parameters: [
                        OCI::LogAnalytics::Models::LogAnalyticsParserFunctionParameter
                          .new(
                          parser_function_id: 801,
                          parser_function_parameter_name:
                            'EXAMPLE-parserFunctionParameterName-Value',
                          parser_function_parameter_id: 1,
                          parser_meta_plugin_parameter_name:
                            'EXAMPLE-parserMetaPluginParameterName-Value',
                          parser_meta_plugin_parameter_value:
                            'EXAMPLE-parserMetaPluginParameterValue-Value',
                          parser_name: 'EXAMPLE-parserName-Value',
                          parser_meta_plugin_parameter:
                            OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                              .new(
                              description: 'EXAMPLE-description-Value',
                              name: 'EXAMPLE-name-Value',
                              is_mandatory: true,
                              is_repeatable: false,
                              plugin_name: 'EXAMPLE-pluginName-Value',
                              type: 'EXAMPLE-type-Value'
                            )
                        )
                      ]
                    )
                  ],
                  sources_count: 486,
                  should_tokenize_original_text: false,
                  field_delimiter: 'EXAMPLE-fieldDelimiter-Value',
                  field_qualifier: 'EXAMPLE-fieldQualifier-Value',
                  type: 'XML',
                  is_user_deleted: false,
                  is_namespace_aware: true,
                  categories: [
                    OCI::LogAnalytics::Models::LogAnalyticsCategory.new(
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      display_name: 'EXAMPLE-displayName-Value',
                      type: 'EXAMPLE-type-Value',
                      is_system: true
                    )
                  ],
                  is_position_aware: true,
                  dependent_sources: [
                    OCI::LogAnalytics::Models::DependentSource.new(
                      source_name: 'EXAMPLE-sourceName-Value',
                      source_display_name: 'EXAMPLE-sourceDisplayName-Value',
                      source_id: 105,
                      source_type: 'EXAMPLE-sourceType-Value',
                      is_system: true,
                      is_auto_association_enabled: true,
                      entity_types: [
                        OCI::LogAnalytics::Models::LogAnalyticsSourceEntityType
                          .new(
                          source_id: 784,
                          entity_type: 'EXAMPLE-entityType-Value',
                          entity_type_category:
                            'EXAMPLE-entityTypeCategory-Value',
                          entity_type_display_name:
                            'EXAMPLE-entityTypeDisplayName-Value'
                        )
                      ],
                      dependencies: [
                        OCI::LogAnalytics::Models::Dependency.new(
                          type: 'EXAMPLE-type-Value',
                          reference_type: 'EXAMPLE-referenceType-Value',
                          reference_id: 967,
                          reference_name: 'EXAMPLE-referenceName-Value',
                          reference_display_name:
                            'EXAMPLE-referenceDisplayName-Value'
                        )
                      ]
                    )
                  ],
                  dependent_parsers: [
                    OCI::LogAnalytics::Models::DependentParser.new(
                      parser_name: 'EXAMPLE-parserName-Value',
                      parser_display_name: 'EXAMPLE-parserDisplayName-Value',
                      parser_id: 523,
                      is_system: false,
                      parser_type: 'DELIMITED',
                      dependencies: [
                        OCI::LogAnalytics::Models::Dependency.new(
                          type: 'EXAMPLE-type-Value',
                          reference_type: 'EXAMPLE-referenceType-Value',
                          reference_id: 192,
                          reference_name: 'EXAMPLE-referenceName-Value',
                          reference_display_name:
                            'EXAMPLE-referenceDisplayName-Value'
                        )
                      ]
                    )
                  ]
                ),
              structured_column_info: 'EXAMPLE-structuredColumnInfo-Value',
              actions: [
                OCI::LogAnalytics::Models::ParserAction.new(
                  name: 'EXAMPLE-name-Value', order: 629
                )
              ]
            )
          ],
          is_include: true,
          is_default: true,
          pattern_filter:
            OCI::LogAnalytics::Models::LogAnalyticsPatternFilter.new(
              agent_version: 'EXAMPLE-agentVersion-Value',
              is_in_use: false,
              operating_system: 'EXAMPLE-operatingSystem-Value',
              pattern_id: 486,
              source_id: 743,
              version: 'EXAMPLE-version-Value'
            ),
          alias: 'EXAMPLE-alias-Value',
          description: 'EXAMPLE-description-Value',
          is_enabled: false,
          pattern_id: 720,
          is_system: false,
          source_id: 830,
          is_agent_warning_suppressed: false,
          pattern_text: 'EXAMPLE-patternText-Value',
          pattern_type: 452,
          entity_type: %w[EXAMPLE--Value],
          pattern_properties: [
            OCI::LogAnalytics::Models::LogAnalyticsProperty.new(
              name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
            )
          ]
        )
      ],
      description: 'EXAMPLE-description-Value',
      display_name: 'EXAMPLE-displayName-Value',
      edit_version: 671,
      functions: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceFunction.new(
          arguments: [
            OCI::LogAnalytics::Models::LogAnalyticsMetaFunctionArgument.new(
              is_override_output_fields: true,
              argument_display_name: 'EXAMPLE-argumentDisplayName-Value',
              argument_example: 'EXAMPLE-argumentExample-Value',
              argument_service: 'EXAMPLE-argumentService-Value',
              argument_data_type: 'EXAMPLE-argumentDataType-Value',
              argument_description: 'EXAMPLE-argumentDescription-Value',
              argument_name: 'EXAMPLE-argumentName-Value',
              argument_order: 513,
              argument_type: 591,
              argument_id: 547,
              argument_lookup_column: 'EXAMPLE-argumentLookupColumn-Value',
              argument_lookup_column_position: 726,
              argument_value: 'EXAMPLE-argumentValue-Value',
              argument_reference: 'EXAMPLE-argumentReference-Value'
            )
          ],
          is_enabled: true,
          function:
            OCI::LogAnalytics::Models::LogAnalyticsMetaFunction.new(
              meta_function_argument: [
                OCI::LogAnalytics::Models::LogAnalyticsMetaFunctionArgument.new(
                  is_override_output_fields: true,
                  argument_display_name: 'EXAMPLE-argumentDisplayName-Value',
                  argument_example: 'EXAMPLE-argumentExample-Value',
                  argument_service: 'EXAMPLE-argumentService-Value',
                  argument_data_type: 'EXAMPLE-argumentDataType-Value',
                  argument_description: 'EXAMPLE-argumentDescription-Value',
                  argument_name: 'EXAMPLE-argumentName-Value',
                  argument_order: 353,
                  argument_type: 925,
                  argument_id: 480,
                  argument_lookup_column: 'EXAMPLE-argumentLookupColumn-Value',
                  argument_lookup_column_position: 597,
                  argument_value: 'EXAMPLE-argumentValue-Value',
                  argument_reference: 'EXAMPLE-argumentReference-Value'
                )
              ],
              component: 'EXAMPLE-component-Value',
              description: 'EXAMPLE-description-Value',
              edit_version: 524,
              meta_function_id: 359,
              java_class_name: 'EXAMPLE-javaClassName-Value',
              name: 'EXAMPLE-name-Value'
            ),
          function_name: 'GEOLOCATION',
          function_reference: 'EXAMPLE-functionReference-Value',
          source_reference: 'EXAMPLE-sourceReference-Value',
          features: %w[EXAMPLE--Value],
          function_id: 490,
          order: 934,
          is_system: true,
          lookup_column: 'EXAMPLE-lookupColumn-Value',
          lookup_column_position: 534,
          lookup_display_name: 'EXAMPLE-lookupDisplayName-Value',
          lookup_mode: 820,
          lookup_table: 'EXAMPLE-lookupTable-Value',
          source_id: 848
        )
      ],
      source_id: 789,
      name: 'EXAMPLE-name-Value',
      is_secure_content: true,
      is_system: false,
      parsers: [
        OCI::LogAnalytics::Models::LogAnalyticsParser.new(
          content: 'EXAMPLE-content-Value',
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          edit_version: 449,
          encoding: 'EXAMPLE-encoding-Value',
          example_content: 'EXAMPLE-exampleContent-Value',
          field_maps: [
            OCI::LogAnalytics::Models::LogAnalyticsParserField.new(
              field:
                OCI::LogAnalytics::Models::LogAnalyticsField.new(
                  cee_alias: 'EXAMPLE-ceeAlias-Value',
                  data_type: 'EXAMPLE-dataType-Value',
                  regular_expression: 'EXAMPLE-regularExpression-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 791,
                  facet_priority: 597,
                  name: 'EXAMPLE-name-Value',
                  is_facet_eligible: false,
                  is_high_cardinality: true,
                  is_large_data: true,
                  is_multi_valued: true,
                  is_primary: true,
                  is_system: false,
                  is_summarizable: true,
                  mapped_value: 'EXAMPLE-mappedValue-Value',
                  is_metric_key_eligible: true,
                  is_metric_value_eligible: true,
                  range_facet_eligible: 705,
                  is_table_eligible: false,
                  unit_type: 'EXAMPLE-unitType-Value',
                  time_updated: DateTime.parse('2008-04-14T23:22:40.963Z'),
                  is_keep_duplicates: false
                ),
              parser_field_id: 804,
              parser_field_expression: 'EXAMPLE-parserFieldExpression-Value',
              parser_field_name: 'EXAMPLE-parserFieldName-Value',
              storage_field_name: 'EXAMPLE-storageFieldName-Value',
              parser_field_integrator_name:
                'EXAMPLE-parserFieldIntegratorName-Value',
              parser_name: 'EXAMPLE-parserName-Value',
              parser_field_sequence: 86,
              structured_column_info: 'EXAMPLE-structuredColumnInfo-Value',
              actions: [
                OCI::LogAnalytics::Models::ParserAction.new(
                  name: 'EXAMPLE-name-Value', order: 521
                )
              ]
            )
          ],
          footer_content: 'EXAMPLE-footerContent-Value',
          header_content: 'EXAMPLE-headerContent-Value',
          name: 'EXAMPLE-name-Value',
          is_default: true,
          is_single_line_content: false,
          is_system: false,
          language: 'EXAMPLE-language-Value',
          time_updated: DateTime.parse('2049-04-24T13:48:58.259Z'),
          log_type_test_request_version: 580,
          parser_ignoreline_characters:
            'EXAMPLE-parserIgnorelineCharacters-Value',
          is_hidden: true,
          parser_sequence: 240,
          parser_timezone: 'EXAMPLE-parserTimezone-Value',
          parser_filter:
            OCI::LogAnalytics::Models::LogAnalyticsParserFilter.new(
              id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value',
              agent_version: 'EXAMPLE-agentVersion-Value',
              is_in_use: 521,
              operating_system: 'EXAMPLE-operatingSystem-Value',
              parser_id: 308,
              version: 'EXAMPLE-version-Value'
            ),
          is_parser_written_once: true,
          parser_functions: [
            OCI::LogAnalytics::Models::LogAnalyticsParserFunction.new(
              parser_meta_plugin:
                OCI::LogAnalytics::Models::LogAnalyticsParserMetaPlugin.new(
                  meta_plugin_parameters: [
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: true,
                      is_repeatable: false,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                  ],
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  name: 'EXAMPLE-name-Value'
                ),
              parser_function_id: 610,
              parser_function_name: 'EXAMPLE-parserFunctionName-Value',
              is_enabled: true,
              is_system: false,
              parser_id: 239,
              parser_name: 'EXAMPLE-parserName-Value',
              parser_meta_plugin_name: 'EXAMPLE-parserMetaPluginName-Value',
              parser_function_priority: 306,
              parser_function_parameters: [
                OCI::LogAnalytics::Models::LogAnalyticsParserFunctionParameter
                  .new(
                  parser_function_id: 294,
                  parser_function_parameter_name:
                    'EXAMPLE-parserFunctionParameterName-Value',
                  parser_function_parameter_id: 746,
                  parser_meta_plugin_parameter_name:
                    'EXAMPLE-parserMetaPluginParameterName-Value',
                  parser_meta_plugin_parameter_value:
                    'EXAMPLE-parserMetaPluginParameterValue-Value',
                  parser_name: 'EXAMPLE-parserName-Value',
                  parser_meta_plugin_parameter:
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: false,
                      is_repeatable: true,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                )
              ]
            )
          ],
          sources_count: 856,
          should_tokenize_original_text: false,
          field_delimiter: 'EXAMPLE-fieldDelimiter-Value',
          field_qualifier: 'EXAMPLE-fieldQualifier-Value',
          type: 'DELIMITED',
          is_user_deleted: true,
          is_namespace_aware: false,
          categories: [
            OCI::LogAnalytics::Models::LogAnalyticsCategory.new(
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              display_name: 'EXAMPLE-displayName-Value',
              type: 'EXAMPLE-type-Value',
              is_system: true
            )
          ],
          is_position_aware: true,
          dependent_sources: [
            OCI::LogAnalytics::Models::DependentSource.new(
              source_name: 'EXAMPLE-sourceName-Value',
              source_display_name: 'EXAMPLE-sourceDisplayName-Value',
              source_id: 386,
              source_type: 'EXAMPLE-sourceType-Value',
              is_system: true,
              is_auto_association_enabled: true,
              entity_types: [
                OCI::LogAnalytics::Models::LogAnalyticsSourceEntityType.new(
                  source_id: 803,
                  entity_type: 'EXAMPLE-entityType-Value',
                  entity_type_category: 'EXAMPLE-entityTypeCategory-Value',
                  entity_type_display_name:
                    'EXAMPLE-entityTypeDisplayName-Value'
                )
              ],
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 291,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ],
          dependent_parsers: [
            OCI::LogAnalytics::Models::DependentParser.new(
              parser_name: 'EXAMPLE-parserName-Value',
              parser_display_name: 'EXAMPLE-parserDisplayName-Value',
              parser_id: 445,
              is_system: true,
              parser_type: 'DELIMITED',
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 610,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ]
        )
      ],
      is_auto_association_enabled: false,
      is_auto_association_override: false,
      rule_id: 61,
      type_name: 'EXAMPLE-typeName-Value',
      type_display_name: 'EXAMPLE-typeDisplayName-Value',
      warning_config: 958,
      metadata_fields: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceMetadataField.new(
          field_name: 'EXAMPLE-fieldName-Value',
          is_enabled: false,
          is_system: false,
          key: 'EXAMPLE-key-Value',
          source_name: 'EXAMPLE-sourceName-Value'
        )
      ],
      label_definitions: [
        OCI::LogAnalytics::Models::LogAnalyticsLabelDefinition.new(
          edit_version: 607,
          is_system: false,
          source_id: 729,
          label_name: 'EXAMPLE-labelName-Value'
        )
      ],
      entity_types: [
        OCI::LogAnalytics::Models::LogAnalyticsSourceEntityType.new(
          source_id: 651,
          entity_type: 'EXAMPLE-entityType-Value',
          entity_type_category: 'EXAMPLE-entityTypeCategory-Value',
          entity_type_display_name: 'EXAMPLE-entityTypeDisplayName-Value'
        )
      ],
      is_timezone_override: false,
      user_parsers: [
        OCI::LogAnalytics::Models::LogAnalyticsParser.new(
          content: 'EXAMPLE-content-Value',
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          edit_version: 442,
          encoding: 'EXAMPLE-encoding-Value',
          example_content: 'EXAMPLE-exampleContent-Value',
          field_maps: [
            OCI::LogAnalytics::Models::LogAnalyticsParserField.new(
              field:
                OCI::LogAnalytics::Models::LogAnalyticsField.new(
                  cee_alias: 'EXAMPLE-ceeAlias-Value',
                  data_type: 'EXAMPLE-dataType-Value',
                  regular_expression: 'EXAMPLE-regularExpression-Value',
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  edit_version: 425,
                  facet_priority: 737,
                  name: 'EXAMPLE-name-Value',
                  is_facet_eligible: false,
                  is_high_cardinality: false,
                  is_large_data: false,
                  is_multi_valued: true,
                  is_primary: false,
                  is_system: true,
                  is_summarizable: false,
                  mapped_value: 'EXAMPLE-mappedValue-Value',
                  is_metric_key_eligible: true,
                  is_metric_value_eligible: false,
                  range_facet_eligible: 349,
                  is_table_eligible: true,
                  unit_type: 'EXAMPLE-unitType-Value',
                  time_updated: DateTime.parse('2011-08-17T01:07:19.617Z'),
                  is_keep_duplicates: true
                ),
              parser_field_id: 231,
              parser_field_expression: 'EXAMPLE-parserFieldExpression-Value',
              parser_field_name: 'EXAMPLE-parserFieldName-Value',
              storage_field_name: 'EXAMPLE-storageFieldName-Value',
              parser_field_integrator_name:
                'EXAMPLE-parserFieldIntegratorName-Value',
              parser_name: 'EXAMPLE-parserName-Value',
              parser_field_sequence: 335,
              structured_column_info: 'EXAMPLE-structuredColumnInfo-Value',
              actions: [
                OCI::LogAnalytics::Models::ParserAction.new(
                  name: 'EXAMPLE-name-Value', order: 396
                )
              ]
            )
          ],
          footer_content: 'EXAMPLE-footerContent-Value',
          header_content: 'EXAMPLE-headerContent-Value',
          name: 'EXAMPLE-name-Value',
          is_default: true,
          is_single_line_content: true,
          is_system: false,
          language: 'EXAMPLE-language-Value',
          time_updated: DateTime.parse('2005-01-31T12:32:34.183Z'),
          log_type_test_request_version: 554,
          parser_ignoreline_characters:
            'EXAMPLE-parserIgnorelineCharacters-Value',
          is_hidden: false,
          parser_sequence: 817,
          parser_timezone: 'EXAMPLE-parserTimezone-Value',
          parser_filter:
            OCI::LogAnalytics::Models::LogAnalyticsParserFilter.new(
              id: 'ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value',
              agent_version: 'EXAMPLE-agentVersion-Value',
              is_in_use: 568,
              operating_system: 'EXAMPLE-operatingSystem-Value',
              parser_id: 197,
              version: 'EXAMPLE-version-Value'
            ),
          is_parser_written_once: true,
          parser_functions: [
            OCI::LogAnalytics::Models::LogAnalyticsParserFunction.new(
              parser_meta_plugin:
                OCI::LogAnalytics::Models::LogAnalyticsParserMetaPlugin.new(
                  meta_plugin_parameters: [
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: true,
                      is_repeatable: false,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                  ],
                  description: 'EXAMPLE-description-Value',
                  display_name: 'EXAMPLE-displayName-Value',
                  name: 'EXAMPLE-name-Value'
                ),
              parser_function_id: 52,
              parser_function_name: 'EXAMPLE-parserFunctionName-Value',
              is_enabled: true,
              is_system: false,
              parser_id: 904,
              parser_name: 'EXAMPLE-parserName-Value',
              parser_meta_plugin_name: 'EXAMPLE-parserMetaPluginName-Value',
              parser_function_priority: 619,
              parser_function_parameters: [
                OCI::LogAnalytics::Models::LogAnalyticsParserFunctionParameter
                  .new(
                  parser_function_id: 241,
                  parser_function_parameter_name:
                    'EXAMPLE-parserFunctionParameterName-Value',
                  parser_function_parameter_id: 536,
                  parser_meta_plugin_parameter_name:
                    'EXAMPLE-parserMetaPluginParameterName-Value',
                  parser_meta_plugin_parameter_value:
                    'EXAMPLE-parserMetaPluginParameterValue-Value',
                  parser_name: 'EXAMPLE-parserName-Value',
                  parser_meta_plugin_parameter:
                    OCI::LogAnalytics::Models::LogAnalyticsParserMetaPluginParameter
                      .new(
                      description: 'EXAMPLE-description-Value',
                      name: 'EXAMPLE-name-Value',
                      is_mandatory: false,
                      is_repeatable: true,
                      plugin_name: 'EXAMPLE-pluginName-Value',
                      type: 'EXAMPLE-type-Value'
                    )
                )
              ]
            )
          ],
          sources_count: 300,
          should_tokenize_original_text: false,
          field_delimiter: 'EXAMPLE-fieldDelimiter-Value',
          field_qualifier: 'EXAMPLE-fieldQualifier-Value',
          type: 'DELIMITED',
          is_user_deleted: true,
          is_namespace_aware: true,
          categories: [
            OCI::LogAnalytics::Models::LogAnalyticsCategory.new(
              name: 'EXAMPLE-name-Value',
              description: 'EXAMPLE-description-Value',
              display_name: 'EXAMPLE-displayName-Value',
              type: 'EXAMPLE-type-Value',
              is_system: false
            )
          ],
          is_position_aware: true,
          dependent_sources: [
            OCI::LogAnalytics::Models::DependentSource.new(
              source_name: 'EXAMPLE-sourceName-Value',
              source_display_name: 'EXAMPLE-sourceDisplayName-Value',
              source_id: 507,
              source_type: 'EXAMPLE-sourceType-Value',
              is_system: true,
              is_auto_association_enabled: true,
              entity_types: [
                OCI::LogAnalytics::Models::LogAnalyticsSourceEntityType.new(
                  source_id: 688,
                  entity_type: 'EXAMPLE-entityType-Value',
                  entity_type_category: 'EXAMPLE-entityTypeCategory-Value',
                  entity_type_display_name:
                    'EXAMPLE-entityTypeDisplayName-Value'
                )
              ],
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 296,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ],
          dependent_parsers: [
            OCI::LogAnalytics::Models::DependentParser.new(
              parser_name: 'EXAMPLE-parserName-Value',
              parser_display_name: 'EXAMPLE-parserDisplayName-Value',
              parser_id: 731,
              is_system: true,
              parser_type: 'JSON',
              dependencies: [
                OCI::LogAnalytics::Models::Dependency.new(
                  type: 'EXAMPLE-type-Value',
                  reference_type: 'EXAMPLE-referenceType-Value',
                  reference_id: 54,
                  reference_name: 'EXAMPLE-referenceName-Value',
                  reference_display_name: 'EXAMPLE-referenceDisplayName-Value'
                )
              ]
            )
          ]
        )
      ],
      time_updated: DateTime.parse('2019-07-31T17:30:32.387Z'),
      event_types: [
        OCI::LogAnalytics::Models::EventType.new(
          event_type_name: 'EXAMPLE-eventTypeName-Value',
          spec_version: 'EXAMPLE-specVersion-Value',
          is_enabled: true,
          is_system: true,
          time_updated: DateTime.parse('2018-01-14T03:42:15.582Z')
        )
      ],
      categories: [
        OCI::LogAnalytics::Models::LogAnalyticsCategory.new(
          name: 'EXAMPLE-name-Value',
          description: 'EXAMPLE-description-Value',
          display_name: 'EXAMPLE-displayName-Value',
          type: 'EXAMPLE-type-Value',
          is_system: true
        )
      ],
      endpoints: [
        OCI::LogAnalytics::Models::LogTypeEndpoint.new(
          endpoint_type: 'LOG',
          log_endpoint:
            OCI::LogAnalytics::Models::LogEndpoint.new(
              name: 'EXAMPLE-name-Value',
              request:
                OCI::LogAnalytics::Models::EndpointRequest.new(
                  url: 'EXAMPLE-url-Value',
                  method: 'GET',
                  content_type: 'EXAMPLE-contentType-Value',
                  payload: 'EXAMPLE-payload-Value',
                  headers: [
                    OCI::LogAnalytics::Models::NameValuePair.new(
                      name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
                    )
                  ],
                  form_parameters: [
                    OCI::LogAnalytics::Models::NameValuePair.new(
                      name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
                    )
                  ]
                ),
              description: 'EXAMPLE-description-Value',
              model: 'EXAMPLE-model-Value',
              endpoint_id: 780,
              response:
                OCI::LogAnalytics::Models::EndpointResponse.new(
                  content_type: 'EXAMPLE-contentType-Value',
                  example: 'EXAMPLE-example-Value'
                ),
              credentials:
                OCI::LogAnalytics::Models::EndpointCredentials.new(
                  credential_type: 'STATIC_TOKEN',
                  credential_name: 'EXAMPLE-credentialName-Value',
                  credential_endpoint:
                    OCI::LogAnalytics::Models::CredentialEndpoint.new(
                      name: 'EXAMPLE-name-Value',
                      description: 'EXAMPLE-description-Value',
                      model: 'EXAMPLE-model-Value',
                      endpoint_id: 167,
                      response:
                        OCI::LogAnalytics::Models::EndpointResponse.new(
                          content_type: 'EXAMPLE-contentType-Value',
                          example: 'EXAMPLE-example-Value'
                        ),
                      proxy:
                        OCI::LogAnalytics::Models::EndpointProxy.new(
                          url: 'EXAMPLE-url-Value',
                          credential_name: 'EXAMPLE-credentialName-Value',
                          credential_type: 'NONE'
                        )
                    )
                ),
              proxy:
                OCI::LogAnalytics::Models::EndpointProxy.new(
                  url: 'EXAMPLE-url-Value',
                  credential_name: 'EXAMPLE-credentialName-Value',
                  credential_type: 'BASIC_AUTH'
                ),
              is_enabled: true,
              is_system: false,
              endpoint_properties: [
                OCI::LogAnalytics::Models::LogAnalyticsProperty.new(
                  name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
                )
              ]
            )
        )
      ],
      source_properties: [
        OCI::LogAnalytics::Models::LogAnalyticsProperty.new(
          name: 'EXAMPLE-name-Value', value: 'EXAMPLE-value-Value'
        )
      ],
      lifecycle_state: 'DELETED'
    )
  )

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