/** 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 com.oracle.bmc.ConfigFileReader;
import com.oracle.bmc.auth.AuthenticationDetailsProvider;
import com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider;
import com.oracle.bmc.loganalytics.LogAnalyticsClient;
import com.oracle.bmc.loganalytics.model.*;
import com.oracle.bmc.loganalytics.requests.*;
import com.oracle.bmc.loganalytics.responses.*;
import java.math.BigDecimal;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Date;
import java.util.UUID;
import java.util.Arrays;


public class TestParserExample {
    public static void main(String[] args) throws Exception {

        /**
         * Create a default authentication provider that uses the DEFAULT
         * profile in the configuration file.
         * Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.
         */
        final ConfigFileReader.ConfigFile configFile = ConfigFileReader.parseDefault();
        final AuthenticationDetailsProvider provider = new ConfigFileAuthenticationDetailsProvider(configFile);

        /* Create a service client */
        LogAnalyticsClient client = LogAnalyticsClient.builder().build(provider);

        /* Create a request and dependent object(s). */
	TestParserPayloadDetails testParserPayloadDetails = TestParserPayloadDetails.builder()
		.content("EXAMPLE-content-Value")
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.encoding("EXAMPLE-encoding-Value")
		.exampleContent("EXAMPLE-exampleContent-Value")
		.fieldMaps(new ArrayList<>(Arrays.asList(LogAnalyticsParserField.builder()
				.field(LogAnalyticsField.builder()
					.ceeAlias("EXAMPLE-ceeAlias-Value")
					.dataType("EXAMPLE-dataType-Value")
					.regularExpression("EXAMPLE-regularExpression-Value")
					.description("EXAMPLE-description-Value")
					.displayName("EXAMPLE-displayName-Value")
					.editVersion(540L)
					.facetPriority(227L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(true)
					.isHighCardinality(false)
					.isLargeData(false)
					.isMultiValued(true)
					.isPrimary(false)
					.isSystem(false)
					.isSummarizable(true)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(true)
					.isMetricValueEligible(false)
					.rangeFacetEligible(912L)
					.isTableEligible(false)
					.unitType("EXAMPLE-unitType-Value").build())
				.parserFieldId(14L)
				.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
				.parserFieldName("EXAMPLE-parserFieldName-Value")
				.storageFieldName("EXAMPLE-storageFieldName-Value")
				.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
				.parserName("EXAMPLE-parserName-Value")
				.parserFieldSequence(869L)
				.parser(LogAnalyticsParser.builder()
					.content("EXAMPLE-content-Value")
					.description("EXAMPLE-description-Value")
					.displayName("EXAMPLE-displayName-Value")
					.editVersion(408L)
					.encoding("EXAMPLE-encoding-Value")
					.exampleContent("EXAMPLE-exampleContent-Value")
					.footerContent("EXAMPLE-footerContent-Value")
					.headerContent("EXAMPLE-headerContent-Value")
					.name("EXAMPLE-name-Value")
					.isDefault(false)
					.isSingleLineContent(true)
					.isSystem(false)
					.language("EXAMPLE-language-Value")
					.timeUpdated(new Date("Sat Nov 20 22:55:48 UTC 2049"))
					.logTypeTestRequestVersion(689)
					.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
					.isHidden(false)
					.parserSequence(126)
					.parserTimezone("EXAMPLE-parserTimezone-Value")
					.parserFilter(LogAnalyticsParserFilter.builder()
						.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
						.agentVersion("EXAMPLE-agentVersion-Value")
						.isInUse(928L)
						.operatingSystem("EXAMPLE-operatingSystem-Value")
						.parserId(242L)
						.version("EXAMPLE-version-Value").build())
					.isParserWrittenOnce(true)
					.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
							.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
								.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
										.description("EXAMPLE-description-Value")
										.name("EXAMPLE-name-Value")
										.isMandatory(true)
										.isRepeatable(true)
										.pluginName("EXAMPLE-pluginName-Value")
										.type("EXAMPLE-type-Value").build())))
								.description("EXAMPLE-description-Value")
								.displayName("EXAMPLE-displayName-Value")
								.name("EXAMPLE-name-Value").build())
							.parserFunctionId(519L)
							.parserFunctionName("EXAMPLE-parserFunctionName-Value")
							.isEnabled(false)
							.isSystem(false)
							.parserId(110L)
							.parserName("EXAMPLE-parserName-Value")
							.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
							.parserFunctionPriority(429L)
							.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
									.parserFunctionId(527L)
									.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
									.parserFunctionParameterId(892L)
									.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
									.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
									.parserName("EXAMPLE-parserName-Value")
									.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
										.description("EXAMPLE-description-Value")
										.name("EXAMPLE-name-Value")
										.isMandatory(false)
										.isRepeatable(false)
										.pluginName("EXAMPLE-pluginName-Value")
										.type("EXAMPLE-type-Value").build()).build()))).build())))
					.sourcesCount(646L)
					.sources(new ArrayList<>(Arrays.asList(LogAnalyticsSource.builder()
							.labelConditions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceLabelCondition.builder()
									.conditionString("EXAMPLE-conditionString-Value")
									.conditionBlock(ConditionBlock.builder()
										.conditionBlocksOperator(ConditionBlock.ConditionBlocksOperator.NotAnd)
										.fieldName("EXAMPLE-fieldName-Value")
										.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
										.labelConditionValue("EXAMPLE-labelConditionValue-Value")
										.labelConditionValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())
									.message("EXAMPLE-message-Value")
									.isVisible(false)
									.blockConditionField("EXAMPLE-blockConditionField-Value")
									.blockConditionOperator("EXAMPLE-blockConditionOperator-Value")
									.blockConditionValue("EXAMPLE-blockConditionValue-Value")
									.labelConditionValue("EXAMPLE-labelConditionValue-Value")
									.labelConditionValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.contentExample("EXAMPLE-contentExample-Value")
									.isEnabled(true)
									.fieldName("EXAMPLE-fieldName-Value")
									.labelConditionId(82L)
									.isSystem(false)
									.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
									.sourceId(857L)
									.labelDisplayName("EXAMPLE-labelDisplayName-Value")
									.storageField("EXAMPLE-storageField-Value")
									.labelName("EXAMPLE-labelName-Value")
									.isInlineLabelExistingInDatabase(false).build())))
							.associationCount(261)
							.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
									.failureMessage("EXAMPLE-failureMessage-Value")
									.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
									.timeLastAttempted(new Date("Mon Feb 07 15:01:10 UTC 2022"))
									.retryCount(862L)
									.sourceName("EXAMPLE-sourceName-Value")
									.sourceDisplayName("EXAMPLE-sourceDisplayName-Value")
									.sourceTypeName("EXAMPLE-sourceTypeName-Value")
									.lifeCycleState(LogAnalyticsAssociation.LifeCycleState.Succeeded)
									.entityId("ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value")
									.entityName("EXAMPLE-entityName-Value")
									.entityTypeName("EXAMPLE-entityTypeName-Value")
									.host("EXAMPLE-host-Value")
									.agentEntityName("EXAMPLE-agentEntityName-Value")
									.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value")
									.logGroupId("ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value")
									.logGroupName("EXAMPLE-logGroupName-Value")
									.logGroupCompartment("EXAMPLE-logGroupCompartment-Value")
									.associationProperties(new ArrayList<>(Arrays.asList(AssociationProperty.builder()
											.name("EXAMPLE-name-Value")
											.value("EXAMPLE-value-Value")
											.patterns(new ArrayList<>(Arrays.asList(PatternOverride.builder()
													.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
													.value("EXAMPLE-value-Value")
													.effectiveLevel("EXAMPLE-effectiveLevel-Value").build()))).build()))).build())))
							.dataFilterDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceDataFilter.builder()
									.description("EXAMPLE-description-Value")
									.displayName("EXAMPLE-displayName-Value")
									.editVersion(2L)
									.isEnabled(false)
									.fieldName("EXAMPLE-fieldName-Value")
									.hashType(950)
									.dataFilterId(924L)
									.isSystem(false)
									.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
									.order(598L)
									.path("EXAMPLE-path-Value")
									.replacementString("EXAMPLE-replacementString-Value")
									.sourceId(409L)
									.filterType(LogAnalyticsSourceDataFilter.FilterType.Mask).build())))
							.databaseCredential("EXAMPLE-databaseCredential-Value")
							.extendedFieldDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceExtendedFieldDefinition.builder()
									.field(LogAnalyticsField.builder()
										.ceeAlias("EXAMPLE-ceeAlias-Value")
										.dataType("EXAMPLE-dataType-Value")
										.regularExpression("EXAMPLE-regularExpression-Value")
										.description("EXAMPLE-description-Value")
										.displayName("EXAMPLE-displayName-Value")
										.editVersion(351L)
										.facetPriority(46L)
										.name("EXAMPLE-name-Value")
										.isFacetEligible(true)
										.isHighCardinality(false)
										.isLargeData(false)
										.isMultiValued(true)
										.isPrimary(false)
										.isSystem(false)
										.isSummarizable(false)
										.mappedValue("EXAMPLE-mappedValue-Value")
										.isMetricKeyEligible(false)
										.isMetricValueEligible(true)
										.rangeFacetEligible(517L)
										.isTableEligible(false)
										.unitType("EXAMPLE-unitType-Value").build())
									.displayRegularExpression("EXAMPLE-displayRegularExpression-Value")
									.extendedFields(new ArrayList<>(Arrays.asList(LogAnalyticsExtendedField.builder()
											.field(LogAnalyticsField.builder()
												.ceeAlias("EXAMPLE-ceeAlias-Value")
												.dataType("EXAMPLE-dataType-Value")
												.regularExpression("EXAMPLE-regularExpression-Value")
												.description("EXAMPLE-description-Value")
												.displayName("EXAMPLE-displayName-Value")
												.editVersion(492L)
												.facetPriority(811L)
												.name("EXAMPLE-name-Value")
												.isFacetEligible(false)
												.isHighCardinality(false)
												.isLargeData(false)
												.isMultiValued(false)
												.isPrimary(false)
												.isSystem(false)
												.isSummarizable(false)
												.mappedValue("EXAMPLE-mappedValue-Value")
												.isMetricKeyEligible(true)
												.isMetricValueEligible(false)
												.rangeFacetEligible(974L)
												.isTableEligible(true)
												.unitType("EXAMPLE-unitType-Value").build())
											.extendedFieldDefinitionId(970L)
											.fieldName("EXAMPLE-fieldName-Value")
											.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
											.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
											.extendedFieldId(841L).build())))
									.baseFieldName("EXAMPLE-baseFieldName-Value")
									.baseFieldLogText("EXAMPLE-baseFieldLogText-Value")
									.conditionDataType("EXAMPLE-conditionDataType-Value")
									.conditionField("EXAMPLE-conditionField-Value")
									.conditionOperator("EXAMPLE-conditionOperator-Value")
									.conditionValue("EXAMPLE-conditionValue-Value")
									.convertedRegularExpression("EXAMPLE-convertedRegularExpression-Value")
									.isEnabled(true)
									.extendedFieldDefinitionId(685L)
									.isSystem(false)
									.regularExpression("EXAMPLE-regularExpression-Value")
									.sourceId(709L)
									.timeUpdated(new Date("Tue Jan 10 18:27:44 UTC 2045")).build())))
							.isForCloud(false)
							.labels(new ArrayList<>(Arrays.asList(LogAnalyticsLabelView.builder()
									.aliases(new ArrayList<>(Arrays.asList(LogAnalyticsLabelAlias.builder()
											.alias("EXAMPLE-alias-Value")
											.aliasDisplayName("EXAMPLE-aliasDisplayName-Value")
											.isSystem(false)
											.displayName("EXAMPLE-displayName-Value")
											.name("EXAMPLE-name-Value")
											.priority(LogAnalyticsLabelAlias.Priority.Medium).build())))
									.countUsageInAlertRule(888L)
									.countUsageInSource(157L)
									.id("EXAMPLE-id-Value")
									.suggestType(926L)
									.description("EXAMPLE-description-Value")
									.displayName("EXAMPLE-displayName-Value")
									.editVersion(110L)
									.impact("EXAMPLE-impact-Value")
									.isSystem(true)
									.name("EXAMPLE-name-Value")
									.priority(LogAnalyticsLabelView.Priority.High)
									.recommendation("EXAMPLE-recommendation-Value")
									.type(440L)
									.isUserDeleted(false).build())))
							.metricDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsMetric.builder()
									.aggregationField("EXAMPLE-aggregationField-Value")
									.bucketMetadata("EXAMPLE-bucketMetadata-Value")
									.clockPeriod("EXAMPLE-clockPeriod-Value")
									.description("EXAMPLE-description-Value")
									.editVersion(669L)
									.fieldName("EXAMPLE-fieldName-Value")
									.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.groupingField("EXAMPLE-groupingField-Value")
									.isEnabled(true)
									.isSystem(true)
									.displayName("EXAMPLE-displayName-Value")
									.metricReference(853L)
									.name("EXAMPLE-name-Value")
									.metricType(LogAnalyticsMetric.MetricType.Average)
									.isMetricSourceEnabled(true)
									.operator(LogAnalyticsMetric.Operator.NotNull)
									.entityType("EXAMPLE-entityType-Value")
									.timeUpdated(new Date("Sat Oct 14 05:40:28 UTC 2000"))
									.unitType("EXAMPLE-unitType-Value")
									.isUserCustomized(true).build())))
							.metrics(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetric.builder()
									.isMetricSourceEnabled(false)
									.metricName("EXAMPLE-metricName-Value")
									.sourceName("EXAMPLE-sourceName-Value")
									.entityType("EXAMPLE-entityType-Value").build())))
							.parameters(new ArrayList<>(Arrays.asList(LogAnalyticsParameter.builder()
									.defaultValue("EXAMPLE-defaultValue-Value")
									.description("EXAMPLE-description-Value")
									.isActive(false)
									.name("EXAMPLE-name-Value")
									.sourceId(598L).build())))
							.patternCount(789)
							.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
									.convertedText("EXAMPLE-convertedText-Value")
									.dbParserId(328L)
									.dbPatternDateTimeColumns("EXAMPLE-dbPatternDateTimeColumns-Value")
									.dbPatternDateTimeField("EXAMPLE-dbPatternDateTimeField-Value")
									.dbPatternSequenceColumn("EXAMPLE-dbPatternSequenceColumn-Value")
									.isInclude(false)
									.isDefault(false)
									.patternFilter(LogAnalyticsPatternFilter.builder()
										.agentVersion("EXAMPLE-agentVersion-Value")
										.isInUse(false)
										.operatingSystem("EXAMPLE-operatingSystem-Value")
										.patternId(440L)
										.sourceId(258L)
										.version("EXAMPLE-version-Value").build())
									.alias("EXAMPLE-alias-Value")
									.description("EXAMPLE-description-Value")
									.isEnabled(true)
									.patternId(303L)
									.isSystem(true)
									.sourceId(298L)
									.isAgentWarningSuppressed(false)
									.patternText("EXAMPLE-patternText-Value")
									.patternType(290L)
									.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.patternProperties(new ArrayList<>(Arrays.asList(LogAnalyticsProperty.builder()
											.name("EXAMPLE-name-Value")
											.value("EXAMPLE-value-Value").build()))).build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(862L)
							.functions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceFunction.builder()
									.arguments(new ArrayList<>(Arrays.asList(LogAnalyticsMetaFunctionArgument.builder()
											.isOverrideOutputFields(true)
											.argumentDisplayName("EXAMPLE-argumentDisplayName-Value")
											.argumentExample("EXAMPLE-argumentExample-Value")
											.argumentService("EXAMPLE-argumentService-Value")
											.argumentDataType("EXAMPLE-argumentDataType-Value")
											.argumentDescription("EXAMPLE-argumentDescription-Value")
											.argumentName("EXAMPLE-argumentName-Value")
											.argumentOrder(158L)
											.argumentType(104L)
											.argumentId(67L)
											.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
											.argumentLookupColumnPosition(290L)
											.argumentValue("EXAMPLE-argumentValue-Value")
											.argumentReference("EXAMPLE-argumentReference-Value").build())))
									.isEnabled(false)
									.function(LogAnalyticsMetaFunction.builder()
										.metaFunctionArgument(new ArrayList<>(Arrays.asList(LogAnalyticsMetaFunctionArgument.builder()
												.isOverrideOutputFields(true)
												.argumentDisplayName("EXAMPLE-argumentDisplayName-Value")
												.argumentExample("EXAMPLE-argumentExample-Value")
												.argumentService("EXAMPLE-argumentService-Value")
												.argumentDataType("EXAMPLE-argumentDataType-Value")
												.argumentDescription("EXAMPLE-argumentDescription-Value")
												.argumentName("EXAMPLE-argumentName-Value")
												.argumentOrder(502L)
												.argumentType(950L)
												.argumentId(92L)
												.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
												.argumentLookupColumnPosition(503L)
												.argumentValue("EXAMPLE-argumentValue-Value")
												.argumentReference("EXAMPLE-argumentReference-Value").build())))
										.component("EXAMPLE-component-Value")
										.description("EXAMPLE-description-Value")
										.editVersion(667L)
										.metaFunctionId(896L)
										.javaClassName("EXAMPLE-javaClassName-Value")
										.name("EXAMPLE-name-Value").build())
									.functionName(LogAnalyticsSourceFunction.FunctionName.Lookup)
									.functionReference("EXAMPLE-functionReference-Value")
									.sourceReference("EXAMPLE-sourceReference-Value")
									.features(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.functionId(859L)
									.order(950L)
									.isSystem(true)
									.lookupColumn("EXAMPLE-lookupColumn-Value")
									.lookupColumnPosition(665L)
									.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
									.lookupMode(315L)
									.lookupTable("EXAMPLE-lookupTable-Value")
									.sourceId(808L).build())))
							.sourceId(842L)
							.name("EXAMPLE-name-Value")
							.isSecureContent(true)
							.isSystem(false)
							.isAutoAssociationEnabled(true)
							.isAutoAssociationOverride(true)
							.ruleId(152L)
							.typeName("EXAMPLE-typeName-Value")
							.typeDisplayName("EXAMPLE-typeDisplayName-Value")
							.warningConfig(760L)
							.metadataFields(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetadataField.builder()
									.fieldName("EXAMPLE-fieldName-Value")
									.isEnabled(false)
									.isSystem(false)
									.key("EXAMPLE-key-Value")
									.sourceName("EXAMPLE-sourceName-Value").build())))
							.labelDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsLabelDefinition.builder()
									.editVersion(117L)
									.isSystem(true)
									.sourceId(738L)
									.labelName("EXAMPLE-labelName-Value").build())))
							.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
									.sourceId(670L)
									.entityType("EXAMPLE-entityType-Value")
									.entityTypeCategory("EXAMPLE-entityTypeCategory-Value")
									.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value").build())))
							.isTimezoneOverride(false)
							.timeUpdated(new Date("Mon Mar 09 09:18:54 UTC 2043"))
							.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
									.eventTypeName("EXAMPLE-eventTypeName-Value")
									.specVersion("EXAMPLE-specVersion-Value")
									.isEnabled(false)
									.isSystem(false)
									.timeUpdated(new Date("Mon Aug 27 13:17:09 UTC 2035")).build())))
							.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
									.name("EXAMPLE-name-Value")
									.description("EXAMPLE-description-Value")
									.displayName("EXAMPLE-displayName-Value")
									.type("EXAMPLE-type-Value")
									.isSystem(false).build())))
							.endpoints(new ArrayList<>(Arrays.asList(LogTypeEndpoint.builder()
									.logEndpoint(LogEndpoint.builder()
										.name("EXAMPLE-name-Value")
										.description("EXAMPLE-description-Value")
										.model("EXAMPLE-model-Value")
										.endpointId(523L)
										.request(EndpointRequest.builder()
											.method(EndpointRequest.Method.Get)
											.url("EXAMPLE-url-Value")
											.contentType("EXAMPLE-contentType-Value")
											.payload("EXAMPLE-payload-Value")
											.headers(new ArrayList<>(Arrays.asList(NameValuePair.builder()
													.name("EXAMPLE-name-Value")
													.value("EXAMPLE-value-Value").build())))
											.formParameters(new ArrayList<>(Arrays.asList(NameValuePair.builder()
													.name("EXAMPLE-name-Value")
													.value("EXAMPLE-value-Value").build()))).build())
										.response(EndpointResponse.builder()
											.contentType("EXAMPLE-contentType-Value")
											.example("EXAMPLE-example-Value").build())
										.credentials(EndpointCredentials.builder()
											.credentialType(EndpointCredentials.CredentialType.BasicAuth)
											.credentialName("EXAMPLE-credentialName-Value")
											.credentialEndpoint(CredentialEndpoint.builder()
												.name("EXAMPLE-name-Value")
												.description("EXAMPLE-description-Value")
												.model("EXAMPLE-model-Value")
												.endpointId(755L)
												.response(EndpointResponse.builder()
													.contentType("EXAMPLE-contentType-Value")
													.example("EXAMPLE-example-Value").build())
												.proxy(EndpointProxy.builder()
													.url("EXAMPLE-url-Value")
													.credentialName("EXAMPLE-credentialName-Value")
													.credentialType(EndpointProxy.CredentialType.BasicAuth).build()).build()).build())
										.proxy(EndpointProxy.builder()
											.url("EXAMPLE-url-Value")
											.credentialName("EXAMPLE-credentialName-Value")
											.credentialType(EndpointProxy.CredentialType.Token).build())
										.isEnabled(false)
										.isSystem(true)
										.endpointProperties(new ArrayList<>(Arrays.asList(LogAnalyticsProperty.builder()
												.name("EXAMPLE-name-Value")
												.value("EXAMPLE-value-Value").build()))).build()).build())))
							.sourceProperties(new ArrayList<>(Arrays.asList(LogAnalyticsProperty.builder()
									.name("EXAMPLE-name-Value")
									.value("EXAMPLE-value-Value").build()))).build())))
					.shouldTokenizeOriginalText(false)
					.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
					.fieldQualifier("EXAMPLE-fieldQualifier-Value")
					.type(LogAnalyticsParser.Type.Json)
					.isUserDeleted(false)
					.isNamespaceAware(true)
					.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
							.name("EXAMPLE-name-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.type("EXAMPLE-type-Value")
							.isSystem(false).build()))).build())
				.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
		.footerContent("EXAMPLE-footerContent-Value")
		.headerContent("EXAMPLE-headerContent-Value")
		.name("EXAMPLE-name-Value")
		.isDefault(true)
		.isSingleLineContent(true)
		.isSystem(true)
		.language("EXAMPLE-language-Value")
		.timeUpdated(new Date("Mon Nov 17 02:03:27 UTC 2031"))
		.logTypeTestRequestVersion(451)
		.metadata(UiParserTestMetadata.builder()
			.lastModifiedTime("EXAMPLE-lastModifiedTime-Value")
			.logFileName("EXAMPLE-logFileName-Value")
			.timeZone(new Date("Sat Oct 08 12:53:45 UTC 2011")).build())
		.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
		.isHidden(828L)
		.parserSequence(801)
		.parserTimezone("EXAMPLE-parserTimezone-Value")
		.isParserWrittenOnce(false)
		.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
				.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
					.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
							.description("EXAMPLE-description-Value")
							.name("EXAMPLE-name-Value")
							.isMandatory(true)
							.isRepeatable(false)
							.pluginName("EXAMPLE-pluginName-Value")
							.type("EXAMPLE-type-Value").build())))
					.description("EXAMPLE-description-Value")
					.displayName("EXAMPLE-displayName-Value")
					.name("EXAMPLE-name-Value").build())
				.parserFunctionId(146L)
				.parserFunctionName("EXAMPLE-parserFunctionName-Value")
				.isEnabled(false)
				.isSystem(true)
				.parserId(724L)
				.parserName("EXAMPLE-parserName-Value")
				.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
				.parserFunctionPriority(548L)
				.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
						.parserFunctionId(907L)
						.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
						.parserFunctionParameterId(275L)
						.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
						.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
							.description("EXAMPLE-description-Value")
							.name("EXAMPLE-name-Value")
							.isMandatory(true)
							.isRepeatable(false)
							.pluginName("EXAMPLE-pluginName-Value")
							.type("EXAMPLE-type-Value").build()).build()))).build())))
		.shouldTokenizeOriginalText(true)
		.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
		.fieldQualifier("EXAMPLE-fieldQualifier-Value")
		.type(TestParserPayloadDetails.Type.Delimited)
		.isNamespaceAware(false).build();

	TestParserRequest testParserRequest = TestParserRequest.builder()
		.namespaceName("EXAMPLE-namespaceName-Value")
		.testParserPayloadDetails(testParserPayloadDetails)
		.scope(TestParserRequest.Scope.LogLinesLogEntries)
		.reqOriginModule("EXAMPLE-reqOriginModule-Value")
		.opcRetryToken("EXAMPLE-opcRetryToken-Value")
		.opcRequestId("LACNG28UGJDC2GO5MULC<unique_ID>").build();

        /* Send request to the Client */
        TestParserResponse response = client.testParser(testParserRequest);
    }

    
}