@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class FlakyTestAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTEMPT_TO_FIX_ID |
static String |
JSON_PROPERTY_CODEOWNERS |
static String |
JSON_PROPERTY_ENVS |
static String |
JSON_PROPERTY_FIRST_FLAKED_BRANCH |
static String |
JSON_PROPERTY_FIRST_FLAKED_SHA |
static String |
JSON_PROPERTY_FIRST_FLAKED_TS |
static String |
JSON_PROPERTY_FLAKY_CATEGORY |
static String |
JSON_PROPERTY_FLAKY_STATE |
static String |
JSON_PROPERTY_HISTORY |
static String |
JSON_PROPERTY_LAST_FLAKED_BRANCH |
static String |
JSON_PROPERTY_LAST_FLAKED_SHA |
static String |
JSON_PROPERTY_LAST_FLAKED_TS |
static String |
JSON_PROPERTY_MODULE |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_PIPELINE_STATS |
static String |
JSON_PROPERTY_SERVICES |
static String |
JSON_PROPERTY_SUITE |
static String |
JSON_PROPERTY_TEST_RUN_METADATA |
static String |
JSON_PROPERTY_TEST_STATS |
boolean |
unparsed |
| Constructor and Description |
|---|
FlakyTestAttributes() |
| Modifier and Type | Method and Description |
|---|---|
FlakyTestAttributes |
addCodeownersItem(String codeownersItem) |
FlakyTestAttributes |
addEnvsItem(String envsItem) |
FlakyTestAttributes |
addHistoryItem(FlakyTestHistory historyItem) |
FlakyTestAttributes |
addServicesItem(String servicesItem) |
FlakyTestAttributes |
attemptToFixId(String attemptToFixId) |
FlakyTestAttributes |
codeowners(List<String> codeowners) |
FlakyTestAttributes |
envs(List<String> envs) |
boolean |
equals(Object o)
Return true if this FlakyTestAttributes object is equal to o.
|
FlakyTestAttributes |
firstFlakedBranch(String firstFlakedBranch) |
FlakyTestAttributes |
firstFlakedSha(String firstFlakedSha) |
FlakyTestAttributes |
firstFlakedTs(Long firstFlakedTs) |
FlakyTestAttributes |
flakyCategory(String flakyCategory) |
FlakyTestAttributes |
flakyState(FlakyTestAttributesFlakyState flakyState) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAttemptToFixId()
Unique identifier for the attempt to fix this flaky test.
|
List<String> |
getCodeowners()
The name of the test's code owners as inferred from the repository configuration.
|
List<String> |
getEnvs()
List of environments where this test has been flaky.
|
String |
getFirstFlakedBranch()
The branch name where the test exhibited flakiness for the first time.
|
String |
getFirstFlakedSha()
The commit SHA where the test exhibited flakiness for the first time.
|
Long |
getFirstFlakedTs()
Unix timestamp when the test exhibited flakiness for the first time.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getFlakyCategory_JsonNullable() |
String |
getFlakyCategory()
The category of a flaky test.
|
FlakyTestAttributesFlakyState |
getFlakyState()
The current state of the flaky test.
|
List<FlakyTestHistory> |
getHistory()
Chronological history of status changes for this flaky test, ordered from most recent to
oldest.
|
String |
getLastFlakedBranch()
The branch name where the test exhibited flakiness for the last time.
|
String |
getLastFlakedSha()
The commit SHA where the test exhibited flakiness for the last time.
|
Long |
getLastFlakedTs()
Unix timestamp when the test exhibited flakiness for the last time.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getModule_JsonNullable() |
String |
getModule()
The name of the test module.
|
String |
getName()
The test name.
|
FlakyTestPipelineStats |
getPipelineStats()
CI pipeline related statistics for the flaky test.
|
List<String> |
getServices()
List of test service names where this test has been flaky.
|
String |
getSuite()
The name of the test suite.
|
FlakyTestRunMetadata |
getTestRunMetadata()
Metadata about the latest failed test run of the flaky test.
|
FlakyTestStats |
getTestStats()
Test statistics for the flaky test.
|
int |
hashCode() |
FlakyTestAttributes |
history(List<FlakyTestHistory> history) |
FlakyTestAttributes |
lastFlakedBranch(String lastFlakedBranch) |
FlakyTestAttributes |
lastFlakedSha(String lastFlakedSha) |
FlakyTestAttributes |
lastFlakedTs(Long lastFlakedTs) |
FlakyTestAttributes |
module(String module) |
FlakyTestAttributes |
name(String name) |
FlakyTestAttributes |
pipelineStats(FlakyTestPipelineStats pipelineStats) |
FlakyTestAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
FlakyTestAttributes |
services(List<String> services) |
void |
setAttemptToFixId(String attemptToFixId) |
void |
setCodeowners(List<String> codeowners) |
void |
setEnvs(List<String> envs) |
void |
setFirstFlakedBranch(String firstFlakedBranch) |
void |
setFirstFlakedSha(String firstFlakedSha) |
void |
setFirstFlakedTs(Long firstFlakedTs) |
void |
setFlakyCategory_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> flakyCategory) |
void |
setFlakyCategory(String flakyCategory) |
void |
setFlakyState(FlakyTestAttributesFlakyState flakyState) |
void |
setHistory(List<FlakyTestHistory> history) |
void |
setLastFlakedBranch(String lastFlakedBranch) |
void |
setLastFlakedSha(String lastFlakedSha) |
void |
setLastFlakedTs(Long lastFlakedTs) |
void |
setModule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> module) |
void |
setModule(String module) |
void |
setName(String name) |
void |
setPipelineStats(FlakyTestPipelineStats pipelineStats) |
void |
setServices(List<String> services) |
void |
setSuite(String suite) |
void |
setTestRunMetadata(FlakyTestRunMetadata testRunMetadata) |
void |
setTestStats(FlakyTestStats testStats) |
FlakyTestAttributes |
suite(String suite) |
FlakyTestAttributes |
testRunMetadata(FlakyTestRunMetadata testRunMetadata) |
FlakyTestAttributes |
testStats(FlakyTestStats testStats) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ATTEMPT_TO_FIX_ID
public static final String JSON_PROPERTY_CODEOWNERS
public static final String JSON_PROPERTY_ENVS
public static final String JSON_PROPERTY_FIRST_FLAKED_BRANCH
public static final String JSON_PROPERTY_FIRST_FLAKED_SHA
public static final String JSON_PROPERTY_FIRST_FLAKED_TS
public static final String JSON_PROPERTY_FLAKY_CATEGORY
public static final String JSON_PROPERTY_FLAKY_STATE
public static final String JSON_PROPERTY_HISTORY
public static final String JSON_PROPERTY_LAST_FLAKED_BRANCH
public static final String JSON_PROPERTY_LAST_FLAKED_SHA
public static final String JSON_PROPERTY_LAST_FLAKED_TS
public static final String JSON_PROPERTY_MODULE
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_PIPELINE_STATS
public static final String JSON_PROPERTY_SERVICES
public static final String JSON_PROPERTY_SUITE
public static final String JSON_PROPERTY_TEST_RUN_METADATA
public static final String JSON_PROPERTY_TEST_STATS
public FlakyTestAttributes attemptToFixId(String attemptToFixId)
@Nullable public String getAttemptToFixId()
When the workflow is triggered the test is automatically retried by the tracer a certain number of configurable times. When all retries pass, the test is automatically marked as fixed in Flaky Test Management. Test runs are tagged with @test.test_management.attempt_to_fix_passed and @test.test_management.is_attempt_to_fix when the attempt to fix workflow is triggered.
public void setAttemptToFixId(String attemptToFixId)
public FlakyTestAttributes codeowners(List<String> codeowners)
public FlakyTestAttributes addCodeownersItem(String codeownersItem)
@Nullable public List<String> getCodeowners()
public FlakyTestAttributes envs(List<String> envs)
public FlakyTestAttributes addEnvsItem(String envsItem)
@Nullable public List<String> getEnvs()
public FlakyTestAttributes firstFlakedBranch(String firstFlakedBranch)
@Nullable public String getFirstFlakedBranch()
public void setFirstFlakedBranch(String firstFlakedBranch)
public FlakyTestAttributes firstFlakedSha(String firstFlakedSha)
@Nullable public String getFirstFlakedSha()
public void setFirstFlakedSha(String firstFlakedSha)
public FlakyTestAttributes firstFlakedTs(Long firstFlakedTs)
@Nullable public Long getFirstFlakedTs()
public void setFirstFlakedTs(Long firstFlakedTs)
public FlakyTestAttributes flakyCategory(String flakyCategory)
@Nullable public String getFlakyCategory()
public org.openapitools.jackson.nullable.JsonNullable<String> getFlakyCategory_JsonNullable()
public void setFlakyCategory_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> flakyCategory)
public void setFlakyCategory(String flakyCategory)
public FlakyTestAttributes flakyState(FlakyTestAttributesFlakyState flakyState)
@Nullable public FlakyTestAttributesFlakyState getFlakyState()
public void setFlakyState(FlakyTestAttributesFlakyState flakyState)
public FlakyTestAttributes history(List<FlakyTestHistory> history)
public FlakyTestAttributes addHistoryItem(FlakyTestHistory historyItem)
@Nullable public List<FlakyTestHistory> getHistory()
public void setHistory(List<FlakyTestHistory> history)
public FlakyTestAttributes lastFlakedBranch(String lastFlakedBranch)
@Nullable public String getLastFlakedBranch()
public void setLastFlakedBranch(String lastFlakedBranch)
public FlakyTestAttributes lastFlakedSha(String lastFlakedSha)
@Nullable public String getLastFlakedSha()
public void setLastFlakedSha(String lastFlakedSha)
public FlakyTestAttributes lastFlakedTs(Long lastFlakedTs)
@Nullable public Long getLastFlakedTs()
public void setLastFlakedTs(Long lastFlakedTs)
public FlakyTestAttributes module(String module)
@Nullable public String getModule()
.py file as part of a test suite, which is
typically managed by a framework like unittest or pytest. - In Ruby,
a test module groups every test that is run within the same test file, which is typically
managed by a framework like RSpec or Minitest.public org.openapitools.jackson.nullable.JsonNullable<String> getModule_JsonNullable()
public void setModule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> module)
public void setModule(String module)
public FlakyTestAttributes name(String name)
@Nullable public String getName()
public void setName(String name)
public FlakyTestAttributes pipelineStats(FlakyTestPipelineStats pipelineStats)
@Nullable public FlakyTestPipelineStats getPipelineStats()
public void setPipelineStats(FlakyTestPipelineStats pipelineStats)
public FlakyTestAttributes services(List<String> services)
public FlakyTestAttributes addServicesItem(String servicesItem)
@Nullable public List<String> getServices()
A test service is a group of tests associated with a project or repository. It contains all the individual tests for your code, optionally organized into test suites, which are like folders for your tests.
public FlakyTestAttributes suite(String suite)
@Nullable public String getSuite()
public void setSuite(String suite)
public FlakyTestAttributes testRunMetadata(FlakyTestRunMetadata testRunMetadata)
@Nullable public FlakyTestRunMetadata getTestRunMetadata()
public void setTestRunMetadata(FlakyTestRunMetadata testRunMetadata)
public FlakyTestAttributes testStats(FlakyTestStats testStats)
@Nullable public FlakyTestStats getTestStats()
public void setTestStats(FlakyTestStats testStats)
public FlakyTestAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.