Package com.datadog.api.client.v2.model
Class TestOptimizationUpdateServiceSettingsRequestAttributes
java.lang.Object
com.datadog.api.client.v2.model.TestOptimizationUpdateServiceSettingsRequestAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TestOptimizationUpdateServiceSettingsRequestAttributes
extends Object
Attributes for updating Test Optimization service settings. All non-required fields are optional;
only provided fields will be updated. Setting a field to
null is a no-op. To reset a
setting to inherit from the repository level, use the corresponding <setting>_inherit
field.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionTestOptimizationUpdateServiceSettingsRequestAttributes(String repositoryId, String serviceName) -
Method Summary
Modifier and TypeMethodDescriptionautoTestRetriesEnabled(Boolean autoTestRetriesEnabled) autoTestRetriesEnabledInherit(Boolean autoTestRetriesEnabledInherit) codeCoverageEnabled(Boolean codeCoverageEnabled) codeCoverageEnabledInherit(Boolean codeCoverageEnabledInherit) earlyFlakeDetectionEnabled(Boolean earlyFlakeDetectionEnabled) earlyFlakeDetectionEnabledInherit(Boolean earlyFlakeDetectionEnabledInherit) booleanReturn true if this TestOptimizationUpdateServiceSettingsRequestAttributes object is equal to o.failedTestReplayEnabled(Boolean failedTestReplayEnabled) failedTestReplayEnabledInherit(Boolean failedTestReplayEnabledInherit) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether Auto Test Retries are enabled for this service.Whentrue, resets the Auto Test Retries setting to inherit from the repository level.Whether Code Coverage is enabled for this service.Whentrue, resets the Code Coverage setting to inherit from the repository level.Whether Early Flake Detection is enabled for this service.Whentrue, resets the Early Flake Detection setting to inherit from the repository level.getEnv()The environment name.Whether Failed Test Replay is enabled for this service.Whentrue, resets the Failed Test Replay setting to inherit from the repository level.This field is ignored.The repository identifier.The service name.Whether Test Impact Analysis is enabled for this service.Whentrue, resets the Test Impact Analysis setting to inherit from the repository level.inthashCode()prCommentsEnabled(Boolean prCommentsEnabled) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.repositoryId(String repositoryId) serviceName(String serviceName) voidsetAutoTestRetriesEnabled(Boolean autoTestRetriesEnabled) voidsetAutoTestRetriesEnabledInherit(Boolean autoTestRetriesEnabledInherit) voidsetCodeCoverageEnabled(Boolean codeCoverageEnabled) voidsetCodeCoverageEnabledInherit(Boolean codeCoverageEnabledInherit) voidsetEarlyFlakeDetectionEnabled(Boolean earlyFlakeDetectionEnabled) voidsetEarlyFlakeDetectionEnabledInherit(Boolean earlyFlakeDetectionEnabledInherit) voidvoidsetFailedTestReplayEnabled(Boolean failedTestReplayEnabled) voidsetFailedTestReplayEnabledInherit(Boolean failedTestReplayEnabledInherit) voidsetPrCommentsEnabled(Boolean prCommentsEnabled) voidsetRepositoryId(String repositoryId) voidsetServiceName(String serviceName) voidsetTestImpactAnalysisEnabled(Boolean testImpactAnalysisEnabled) voidsetTestImpactAnalysisEnabledInherit(Boolean testImpactAnalysisEnabledInherit) testImpactAnalysisEnabled(Boolean testImpactAnalysisEnabled) testImpactAnalysisEnabledInherit(Boolean testImpactAnalysisEnabledInherit) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED
- See Also:
-
JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED_INHERIT
- See Also:
-
JSON_PROPERTY_CODE_COVERAGE_ENABLED
- See Also:
-
JSON_PROPERTY_CODE_COVERAGE_ENABLED_INHERIT
- See Also:
-
JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED
- See Also:
-
JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED_INHERIT
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED
- See Also:
-
JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED_INHERIT
- See Also:
-
JSON_PROPERTY_PR_COMMENTS_ENABLED
- See Also:
-
JSON_PROPERTY_REPOSITORY_ID
- See Also:
-
JSON_PROPERTY_SERVICE_NAME
- See Also:
-
JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED
- See Also:
-
JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED_INHERIT
- See Also:
-
-
Constructor Details
-
TestOptimizationUpdateServiceSettingsRequestAttributes
public TestOptimizationUpdateServiceSettingsRequestAttributes() -
TestOptimizationUpdateServiceSettingsRequestAttributes
-
-
Method Details
-
autoTestRetriesEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes autoTestRetriesEnabled(Boolean autoTestRetriesEnabled) -
getAutoTestRetriesEnabled
Whether Auto Test Retries are enabled for this service. Setting tonullis a no-op; useauto_test_retries_enabled_inheritto reset to repository-level inheritance.- Returns:
- autoTestRetriesEnabled
-
setAutoTestRetriesEnabled
-
autoTestRetriesEnabledInherit
public TestOptimizationUpdateServiceSettingsRequestAttributes autoTestRetriesEnabledInherit(Boolean autoTestRetriesEnabledInherit) -
getAutoTestRetriesEnabledInherit
Whentrue, resets the Auto Test Retries setting to inherit from the repository level.- Returns:
- autoTestRetriesEnabledInherit
-
setAutoTestRetriesEnabledInherit
-
codeCoverageEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes codeCoverageEnabled(Boolean codeCoverageEnabled) -
getCodeCoverageEnabled
Whether Code Coverage is enabled for this service. Setting tonullis a no-op; usecode_coverage_enabled_inheritto reset to repository-level inheritance.- Returns:
- codeCoverageEnabled
-
setCodeCoverageEnabled
-
codeCoverageEnabledInherit
public TestOptimizationUpdateServiceSettingsRequestAttributes codeCoverageEnabledInherit(Boolean codeCoverageEnabledInherit) -
getCodeCoverageEnabledInherit
Whentrue, resets the Code Coverage setting to inherit from the repository level.- Returns:
- codeCoverageEnabledInherit
-
setCodeCoverageEnabledInherit
-
earlyFlakeDetectionEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes earlyFlakeDetectionEnabled(Boolean earlyFlakeDetectionEnabled) -
getEarlyFlakeDetectionEnabled
Whether Early Flake Detection is enabled for this service. Setting tonullis a no-op; useearly_flake_detection_enabled_inheritto reset to repository-level inheritance.- Returns:
- earlyFlakeDetectionEnabled
-
setEarlyFlakeDetectionEnabled
-
earlyFlakeDetectionEnabledInherit
public TestOptimizationUpdateServiceSettingsRequestAttributes earlyFlakeDetectionEnabledInherit(Boolean earlyFlakeDetectionEnabledInherit) -
getEarlyFlakeDetectionEnabledInherit
Whentrue, resets the Early Flake Detection setting to inherit from the repository level.- Returns:
- earlyFlakeDetectionEnabledInherit
-
setEarlyFlakeDetectionEnabledInherit
-
env
-
getEnv
The environment name. If omitted, defaults tonone.- Returns:
- env
-
setEnv
-
failedTestReplayEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes failedTestReplayEnabled(Boolean failedTestReplayEnabled) -
getFailedTestReplayEnabled
Whether Failed Test Replay is enabled for this service. Setting tonullis a no-op; usefailed_test_replay_enabled_inheritto reset to repository-level inheritance.- Returns:
- failedTestReplayEnabled
-
setFailedTestReplayEnabled
-
failedTestReplayEnabledInherit
public TestOptimizationUpdateServiceSettingsRequestAttributes failedTestReplayEnabledInherit(Boolean failedTestReplayEnabledInherit) -
getFailedTestReplayEnabledInherit
Whentrue, resets the Failed Test Replay setting to inherit from the repository level.- Returns:
- failedTestReplayEnabledInherit
-
setFailedTestReplayEnabledInherit
-
prCommentsEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes prCommentsEnabled(Boolean prCommentsEnabled) -
getPrCommentsEnabled
This field is ignored. PR Comments cannot be overridden at the service level.- Returns:
- prCommentsEnabled
-
setPrCommentsEnabled
-
repositoryId
-
getRepositoryId
The repository identifier.- Returns:
- repositoryId
-
setRepositoryId
-
serviceName
-
getServiceName
The service name.- Returns:
- serviceName
-
setServiceName
-
testImpactAnalysisEnabled
public TestOptimizationUpdateServiceSettingsRequestAttributes testImpactAnalysisEnabled(Boolean testImpactAnalysisEnabled) -
getTestImpactAnalysisEnabled
Whether Test Impact Analysis is enabled for this service. Setting tonullis a no-op; usetest_impact_analysis_enabled_inheritto reset to repository-level inheritance.- Returns:
- testImpactAnalysisEnabled
-
setTestImpactAnalysisEnabled
-
testImpactAnalysisEnabledInherit
public TestOptimizationUpdateServiceSettingsRequestAttributes testImpactAnalysisEnabledInherit(Boolean testImpactAnalysisEnabledInherit) -
getTestImpactAnalysisEnabledInherit
Whentrue, resets the Test Impact Analysis setting to inherit from the repository level.- Returns:
- testImpactAnalysisEnabledInherit
-
setTestImpactAnalysisEnabledInherit
-
putAdditionalProperty
public TestOptimizationUpdateServiceSettingsRequestAttributes putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- TestOptimizationUpdateServiceSettingsRequestAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this TestOptimizationUpdateServiceSettingsRequestAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-