org.openmetadata.client.api.TestCaseResultsApi Maven / Gradle / Ivy
package org.openmetadata.client.api;
import org.openmetadata.client.ApiClient;
import org.openmetadata.client.EncodingUtils;
import org.openmetadata.client.model.ApiResponse;
import java.math.BigDecimal;
import org.openmetadata.client.model.CreateTestCaseResult;
import org.openmetadata.client.model.TestCase;
import org.openmetadata.client.model.TestCaseResult;
import org.openmetadata.client.model.TestCaseResultList;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import feign.*;
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-20T14:35:21.920766473Z[Etc/UTC]")
public interface TestCaseResultsApi extends ApiClient.Api {
/**
* Add test case result data to a testCase
* Add test case result data to the testCase.
* @param fqn Fully qualified name of the test case (required)
* @param createTestCaseResult (optional)
* @return TestCaseResult
*/
@RequestLine("POST /v1/dataQuality/testCases/testCaseResults/{fqn}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
TestCaseResult addTestCaseResult1(@Param("fqn") String fqn, CreateTestCaseResult createTestCaseResult);
/**
* Add test case result data to a testCase
* Similar to addTestCaseResult1
but it also returns the http response headers .
* Add test case result data to the testCase.
* @param fqn Fully qualified name of the test case (required)
* @param createTestCaseResult (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("POST /v1/dataQuality/testCases/testCaseResults/{fqn}")
@Headers({
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse addTestCaseResult1WithHttpInfo(@Param("fqn") String fqn, CreateTestCaseResult createTestCaseResult);
/**
* Delete test case result
* Delete testCase result for a testCase.
* @param fqn Fully qualified name of the test case (required)
* @param timestamp Timestamp of the testCase result (required)
* @return TestCase
*/
@RequestLine("DELETE /v1/dataQuality/testCases/testCaseResults/{fqn}/{timestamp}")
@Headers({
"Accept: application/json",
})
TestCase deleteTestCaseResult1(@Param("fqn") String fqn, @Param("timestamp") Long timestamp);
/**
* Delete test case result
* Similar to deleteTestCaseResult1
but it also returns the http response headers .
* Delete testCase result for a testCase.
* @param fqn Fully qualified name of the test case (required)
* @param timestamp Timestamp of the testCase result (required)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("DELETE /v1/dataQuality/testCases/testCaseResults/{fqn}/{timestamp}")
@Headers({
"Accept: application/json",
})
ApiResponse deleteTestCaseResult1WithHttpInfo(@Param("fqn") String fqn, @Param("timestamp") Long timestamp);
/**
* Latest test case results using search service
* Get latest test case results from the search service. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* @param fields Fields requested in the returned resource (optional)
* @param testCaseStatus Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* @param testCaseFQN FullyQualifiedName of the test case (optional)
* @param testSuiteId FullyQualifiedName of the test case (optional)
* @param q search query term to use in list (optional)
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/latest?fields={fields}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&q={q}")
@Headers({
"Accept: application/json",
})
TestCaseResultList latestTestCaseResultsFromSearchService(@Param("fields") String fields, @Param("testCaseStatus") String testCaseStatus, @Param("testCaseFQN") String testCaseFQN, @Param("testSuiteId") String testSuiteId, @Param("q") String q);
/**
* Latest test case results using search service
* Similar to latestTestCaseResultsFromSearchService
but it also returns the http response headers .
* Get latest test case results from the search service. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* @param fields Fields requested in the returned resource (optional)
* @param testCaseStatus Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* @param testCaseFQN FullyQualifiedName of the test case (optional)
* @param testSuiteId FullyQualifiedName of the test case (optional)
* @param q search query term to use in list (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/latest?fields={fields}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&q={q}")
@Headers({
"Accept: application/json",
})
ApiResponse latestTestCaseResultsFromSearchServiceWithHttpInfo(@Param("fields") String fields, @Param("testCaseStatus") String testCaseStatus, @Param("testCaseFQN") String testCaseFQN, @Param("testSuiteId") String testSuiteId, @Param("q") String q);
/**
* Latest test case results using search service
* Get latest test case results from the search service. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* Note, this is equivalent to the other latestTestCaseResultsFromSearchService
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link LatestTestCaseResultsFromSearchServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - testCaseStatus - Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* - testCaseFQN - FullyQualifiedName of the test case (optional)
* - testSuiteId - FullyQualifiedName of the test case (optional)
* - q - search query term to use in list (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/latest?fields={fields}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&q={q}")
@Headers({
"Accept: application/json",
})
TestCaseResultList latestTestCaseResultsFromSearchService(@QueryMap(encoded=true) LatestTestCaseResultsFromSearchServiceQueryParams queryParams);
/**
* Latest test case results using search service
* Get latest test case results from the search service. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* Note, this is equivalent to the other latestTestCaseResultsFromSearchService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - testCaseStatus - Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* - testCaseFQN - FullyQualifiedName of the test case (optional)
* - testSuiteId - FullyQualifiedName of the test case (optional)
* - q - search query term to use in list (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/latest?fields={fields}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&q={q}")
@Headers({
"Accept: application/json",
})
ApiResponse latestTestCaseResultsFromSearchServiceWithHttpInfo(@QueryMap(encoded=true) LatestTestCaseResultsFromSearchServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* latestTestCaseResultsFromSearchService
method in a fluent style.
*/
public static class LatestTestCaseResultsFromSearchServiceQueryParams extends HashMap {
public LatestTestCaseResultsFromSearchServiceQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public LatestTestCaseResultsFromSearchServiceQueryParams testCaseStatus(final String value) {
put("testCaseStatus", EncodingUtils.encode(value));
return this;
}
public LatestTestCaseResultsFromSearchServiceQueryParams testCaseFQN(final String value) {
put("testCaseFQN", EncodingUtils.encode(value));
return this;
}
public LatestTestCaseResultsFromSearchServiceQueryParams testSuiteId(final String value) {
put("testSuiteId", EncodingUtils.encode(value));
return this;
}
public LatestTestCaseResultsFromSearchServiceQueryParams q(final String value) {
put("q", EncodingUtils.encode(value));
return this;
}
}
/**
* List of test case results for a given test case
* Get a list of all the test case results for the given testCase FQN, optionally filtered by `startTimestamp` and `endTimestamp`. Use cursor-based pagination to limit the number of entries in the list using `limit` and `before` or `after` query params.
* @param fqn Fully qualified name of the test case (required)
* @param startTs Filter testCase results after the given start timestamp (optional)
* @param endTs Filter testCase results before the given end timestamp (optional)
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/{fqn}?startTs={startTs}&endTs={endTs}")
@Headers({
"Accept: application/json",
})
TestCaseResultList listTestCaseResults1(@Param("fqn") String fqn, @Param("startTs") BigDecimal startTs, @Param("endTs") BigDecimal endTs);
/**
* List of test case results for a given test case
* Similar to listTestCaseResults1
but it also returns the http response headers .
* Get a list of all the test case results for the given testCase FQN, optionally filtered by `startTimestamp` and `endTimestamp`. Use cursor-based pagination to limit the number of entries in the list using `limit` and `before` or `after` query params.
* @param fqn Fully qualified name of the test case (required)
* @param startTs Filter testCase results after the given start timestamp (optional)
* @param endTs Filter testCase results before the given end timestamp (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/{fqn}?startTs={startTs}&endTs={endTs}")
@Headers({
"Accept: application/json",
})
ApiResponse listTestCaseResults1WithHttpInfo(@Param("fqn") String fqn, @Param("startTs") BigDecimal startTs, @Param("endTs") BigDecimal endTs);
/**
* List of test case results for a given test case
* Get a list of all the test case results for the given testCase FQN, optionally filtered by `startTimestamp` and `endTimestamp`. Use cursor-based pagination to limit the number of entries in the list using `limit` and `before` or `after` query params.
* Note, this is equivalent to the other listTestCaseResults1
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link ListTestCaseResults1QueryParams} class that allows for
* building up this map in a fluent style.
* @param fqn Fully qualified name of the test case (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - startTs - Filter testCase results after the given start timestamp (optional)
* - endTs - Filter testCase results before the given end timestamp (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/{fqn}?startTs={startTs}&endTs={endTs}")
@Headers({
"Accept: application/json",
})
TestCaseResultList listTestCaseResults1(@Param("fqn") String fqn, @QueryMap(encoded=true) ListTestCaseResults1QueryParams queryParams);
/**
* List of test case results for a given test case
* Get a list of all the test case results for the given testCase FQN, optionally filtered by `startTimestamp` and `endTimestamp`. Use cursor-based pagination to limit the number of entries in the list using `limit` and `before` or `after` query params.
* Note, this is equivalent to the other listTestCaseResults1
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param fqn Fully qualified name of the test case (required)
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - startTs - Filter testCase results after the given start timestamp (optional)
* - endTs - Filter testCase results before the given end timestamp (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/{fqn}?startTs={startTs}&endTs={endTs}")
@Headers({
"Accept: application/json",
})
ApiResponse listTestCaseResults1WithHttpInfo(@Param("fqn") String fqn, @QueryMap(encoded=true) ListTestCaseResults1QueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* listTestCaseResults1
method in a fluent style.
*/
public static class ListTestCaseResults1QueryParams extends HashMap {
public ListTestCaseResults1QueryParams startTs(final BigDecimal value) {
put("startTs", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResults1QueryParams endTs(final BigDecimal value) {
put("endTs", EncodingUtils.encode(value));
return this;
}
}
/**
* List test case results using search service
* List test case results from the search service. Use `startTimestamp` and `endTimestamp` to filter the results by timestamp. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* @param fields Fields requested in the returned resource (optional)
* @param limit Limit the number tests case results returned. (1 to 1000000, default = 10) (optional, default to 10)
* @param offset Returns list of tests after this offset (optional, default to 0)
* @param startTimestamp Start timestamp to list test case from (optional)
* @param endTimestamp End timestamp to list test case from (optional)
* @param testCaseStatus Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* @param testCaseFQN FullyQualifiedName of the test case (optional)
* @param testSuiteId Test Suite Id the test case belongs to (optional)
* @param entityFQN Entity FQN the test case belongs to (optional)
* @param latest Get the latest test case result for each test case -- requires `testSuiteId`. Offset and limit are ignored (optional, default to false)
* @param testCaseType Filter for test case result by type (e.g. column, table, all) (optional, default to all)
* @param dataQualityDimension Filter for test case by data quality dimension (e.g. OpenMetadata, dbt, etc.) (optional)
* @param q search query term to use in list (optional)
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/list?fields={fields}&limit={limit}&offset={offset}&startTimestamp={startTimestamp}&endTimestamp={endTimestamp}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&entityFQN={entityFQN}&latest={latest}&testCaseType={testCaseType}&dataQualityDimension={dataQualityDimension}&q={q}")
@Headers({
"Accept: application/json",
})
TestCaseResultList listTestCaseResultsFromSearchService(@Param("fields") String fields, @Param("limit") Integer limit, @Param("offset") String offset, @Param("startTimestamp") BigDecimal startTimestamp, @Param("endTimestamp") BigDecimal endTimestamp, @Param("testCaseStatus") String testCaseStatus, @Param("testCaseFQN") String testCaseFQN, @Param("testSuiteId") String testSuiteId, @Param("entityFQN") String entityFQN, @Param("latest") Boolean latest, @Param("testCaseType") String testCaseType, @Param("dataQualityDimension") String dataQualityDimension, @Param("q") String q);
/**
* List test case results using search service
* Similar to listTestCaseResultsFromSearchService
but it also returns the http response headers .
* List test case results from the search service. Use `startTimestamp` and `endTimestamp` to filter the results by timestamp. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* @param fields Fields requested in the returned resource (optional)
* @param limit Limit the number tests case results returned. (1 to 1000000, default = 10) (optional, default to 10)
* @param offset Returns list of tests after this offset (optional, default to 0)
* @param startTimestamp Start timestamp to list test case from (optional)
* @param endTimestamp End timestamp to list test case from (optional)
* @param testCaseStatus Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* @param testCaseFQN FullyQualifiedName of the test case (optional)
* @param testSuiteId Test Suite Id the test case belongs to (optional)
* @param entityFQN Entity FQN the test case belongs to (optional)
* @param latest Get the latest test case result for each test case -- requires `testSuiteId`. Offset and limit are ignored (optional, default to false)
* @param testCaseType Filter for test case result by type (e.g. column, table, all) (optional, default to all)
* @param dataQualityDimension Filter for test case by data quality dimension (e.g. OpenMetadata, dbt, etc.) (optional)
* @param q search query term to use in list (optional)
* @return A ApiResponse that wraps the response boyd and the http headers.
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/list?fields={fields}&limit={limit}&offset={offset}&startTimestamp={startTimestamp}&endTimestamp={endTimestamp}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&entityFQN={entityFQN}&latest={latest}&testCaseType={testCaseType}&dataQualityDimension={dataQualityDimension}&q={q}")
@Headers({
"Accept: application/json",
})
ApiResponse listTestCaseResultsFromSearchServiceWithHttpInfo(@Param("fields") String fields, @Param("limit") Integer limit, @Param("offset") String offset, @Param("startTimestamp") BigDecimal startTimestamp, @Param("endTimestamp") BigDecimal endTimestamp, @Param("testCaseStatus") String testCaseStatus, @Param("testCaseFQN") String testCaseFQN, @Param("testSuiteId") String testSuiteId, @Param("entityFQN") String entityFQN, @Param("latest") Boolean latest, @Param("testCaseType") String testCaseType, @Param("dataQualityDimension") String dataQualityDimension, @Param("q") String q);
/**
* List test case results using search service
* List test case results from the search service. Use `startTimestamp` and `endTimestamp` to filter the results by timestamp. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* Note, this is equivalent to the other listTestCaseResultsFromSearchService
method,
* but with the query parameters collected into a single Map parameter. This
* is convenient for services with optional query parameters, especially when
* used with the {@link ListTestCaseResultsFromSearchServiceQueryParams} class that allows for
* building up this map in a fluent style.
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - limit - Limit the number tests case results returned. (1 to 1000000, default = 10) (optional, default to 10)
* - offset - Returns list of tests after this offset (optional, default to 0)
* - startTimestamp - Start timestamp to list test case from (optional)
* - endTimestamp - End timestamp to list test case from (optional)
* - testCaseStatus - Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* - testCaseFQN - FullyQualifiedName of the test case (optional)
* - testSuiteId - Test Suite Id the test case belongs to (optional)
* - entityFQN - Entity FQN the test case belongs to (optional)
* - latest - Get the latest test case result for each test case -- requires `testSuiteId`. Offset and limit are ignored (optional, default to false)
* - testCaseType - Filter for test case result by type (e.g. column, table, all) (optional, default to all)
* - dataQualityDimension - Filter for test case by data quality dimension (e.g. OpenMetadata, dbt, etc.) (optional)
* - q - search query term to use in list (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/list?fields={fields}&limit={limit}&offset={offset}&startTimestamp={startTimestamp}&endTimestamp={endTimestamp}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&entityFQN={entityFQN}&latest={latest}&testCaseType={testCaseType}&dataQualityDimension={dataQualityDimension}&q={q}")
@Headers({
"Accept: application/json",
})
TestCaseResultList listTestCaseResultsFromSearchService(@QueryMap(encoded=true) ListTestCaseResultsFromSearchServiceQueryParams queryParams);
/**
* List test case results using search service
* List test case results from the search service. Use `startTimestamp` and `endTimestamp` to filter the results by timestamp. Use `testCaseFQN` to filter the results by test case fully qualified name. Use `testCaseStatus` to filter the results by test case status. Use `fields` to get only necessary fields.
* Note, this is equivalent to the other listTestCaseResultsFromSearchService
that receives the query parameters as a map,
* but this one also exposes the Http response headers
* @param queryParams Map of query parameters as name-value pairs
* The following elements may be specified in the query map:
*
* - fields - Fields requested in the returned resource (optional)
* - limit - Limit the number tests case results returned. (1 to 1000000, default = 10) (optional, default to 10)
* - offset - Returns list of tests after this offset (optional, default to 0)
* - startTimestamp - Start timestamp to list test case from (optional)
* - endTimestamp - End timestamp to list test case from (optional)
* - testCaseStatus - Status of the test case -- one of Success, Failed, Aborted, Queued (optional)
* - testCaseFQN - FullyQualifiedName of the test case (optional)
* - testSuiteId - Test Suite Id the test case belongs to (optional)
* - entityFQN - Entity FQN the test case belongs to (optional)
* - latest - Get the latest test case result for each test case -- requires `testSuiteId`. Offset and limit are ignored (optional, default to false)
* - testCaseType - Filter for test case result by type (e.g. column, table, all) (optional, default to all)
* - dataQualityDimension - Filter for test case by data quality dimension (e.g. OpenMetadata, dbt, etc.) (optional)
* - q - search query term to use in list (optional)
*
* @return TestCaseResultList
*/
@RequestLine("GET /v1/dataQuality/testCases/testCaseResults/search/list?fields={fields}&limit={limit}&offset={offset}&startTimestamp={startTimestamp}&endTimestamp={endTimestamp}&testCaseStatus={testCaseStatus}&testCaseFQN={testCaseFQN}&testSuiteId={testSuiteId}&entityFQN={entityFQN}&latest={latest}&testCaseType={testCaseType}&dataQualityDimension={dataQualityDimension}&q={q}")
@Headers({
"Accept: application/json",
})
ApiResponse listTestCaseResultsFromSearchServiceWithHttpInfo(@QueryMap(encoded=true) ListTestCaseResultsFromSearchServiceQueryParams queryParams);
/**
* A convenience class for generating query parameters for the
* listTestCaseResultsFromSearchService
method in a fluent style.
*/
public static class ListTestCaseResultsFromSearchServiceQueryParams extends HashMap {
public ListTestCaseResultsFromSearchServiceQueryParams fields(final String value) {
put("fields", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams limit(final Integer value) {
put("limit", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams offset(final String value) {
put("offset", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams startTimestamp(final BigDecimal value) {
put("startTimestamp", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams endTimestamp(final BigDecimal value) {
put("endTimestamp", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams testCaseStatus(final String value) {
put("testCaseStatus", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams testCaseFQN(final String value) {
put("testCaseFQN", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams testSuiteId(final String value) {
put("testSuiteId", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams entityFQN(final String value) {
put("entityFQN", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams latest(final Boolean value) {
put("latest", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams testCaseType(final String value) {
put("testCaseType", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams dataQualityDimension(final String value) {
put("dataQualityDimension", EncodingUtils.encode(value));
return this;
}
public ListTestCaseResultsFromSearchServiceQueryParams q(final String value) {
put("q", EncodingUtils.encode(value));
return this;
}
}
/**
* Update a test case result
* Update an existing test case using JsonPatch.
* @param fqn fqn of the test case (required)
* @param timestamp Timestamp of the testCase result (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a test case result Documentation
*/
@RequestLine("PATCH /v1/dataQuality/testCases/testCaseResults/{fqn}/{timestamp}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
void patchTestCaseResult1(@Param("fqn") String fqn, @Param("timestamp") Long timestamp, Object body);
/**
* Update a test case result
* Similar to patchTestCaseResult1
but it also returns the http response headers .
* Update an existing test case using JsonPatch.
* @param fqn fqn of the test case (required)
* @param timestamp Timestamp of the testCase result (required)
* @param body JsonPatch with array of operations (optional)
* JsonPatch RFC
* @see Update a test case result Documentation
*/
@RequestLine("PATCH /v1/dataQuality/testCases/testCaseResults/{fqn}/{timestamp}")
@Headers({
"Content-Type: application/json-patch+json",
"Accept: application/json",
})
ApiResponse patchTestCaseResult1WithHttpInfo(@Param("fqn") String fqn, @Param("timestamp") Long timestamp, Object body);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy