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 Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED

      public static final String JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED
      See Also:
    • JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED_INHERIT

      public static final String JSON_PROPERTY_AUTO_TEST_RETRIES_ENABLED_INHERIT
      See Also:
    • JSON_PROPERTY_CODE_COVERAGE_ENABLED

      public static final String JSON_PROPERTY_CODE_COVERAGE_ENABLED
      See Also:
    • JSON_PROPERTY_CODE_COVERAGE_ENABLED_INHERIT

      public static final String JSON_PROPERTY_CODE_COVERAGE_ENABLED_INHERIT
      See Also:
    • JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED

      public static final String JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED
      See Also:
    • JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED_INHERIT

      public static final String JSON_PROPERTY_EARLY_FLAKE_DETECTION_ENABLED_INHERIT
      See Also:
    • JSON_PROPERTY_ENV

      public static final String JSON_PROPERTY_ENV
      See Also:
    • JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED

      public static final String JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED
      See Also:
    • JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED_INHERIT

      public static final String JSON_PROPERTY_FAILED_TEST_REPLAY_ENABLED_INHERIT
      See Also:
    • JSON_PROPERTY_PR_COMMENTS_ENABLED

      public static final String JSON_PROPERTY_PR_COMMENTS_ENABLED
      See Also:
    • JSON_PROPERTY_REPOSITORY_ID

      public static final String JSON_PROPERTY_REPOSITORY_ID
      See Also:
    • JSON_PROPERTY_SERVICE_NAME

      public static final String JSON_PROPERTY_SERVICE_NAME
      See Also:
    • JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED

      public static final String JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED
      See Also:
    • JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED_INHERIT

      public static final String JSON_PROPERTY_TEST_IMPACT_ANALYSIS_ENABLED_INHERIT
      See Also:
  • Constructor Details

    • TestOptimizationUpdateServiceSettingsRequestAttributes

      public TestOptimizationUpdateServiceSettingsRequestAttributes()
    • TestOptimizationUpdateServiceSettingsRequestAttributes

      public TestOptimizationUpdateServiceSettingsRequestAttributes(String repositoryId, String serviceName)
  • Method Details

    • autoTestRetriesEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes autoTestRetriesEnabled(Boolean autoTestRetriesEnabled)
    • getAutoTestRetriesEnabled

      @Nullable public Boolean getAutoTestRetriesEnabled()
      Whether Auto Test Retries are enabled for this service. Setting to null is a no-op; use auto_test_retries_enabled_inherit to reset to repository-level inheritance.
      Returns:
      autoTestRetriesEnabled
    • setAutoTestRetriesEnabled

      public void setAutoTestRetriesEnabled(Boolean autoTestRetriesEnabled)
    • autoTestRetriesEnabledInherit

      public TestOptimizationUpdateServiceSettingsRequestAttributes autoTestRetriesEnabledInherit(Boolean autoTestRetriesEnabledInherit)
    • getAutoTestRetriesEnabledInherit

      @Nullable public Boolean getAutoTestRetriesEnabledInherit()
      When true, resets the Auto Test Retries setting to inherit from the repository level.
      Returns:
      autoTestRetriesEnabledInherit
    • setAutoTestRetriesEnabledInherit

      public void setAutoTestRetriesEnabledInherit(Boolean autoTestRetriesEnabledInherit)
    • codeCoverageEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes codeCoverageEnabled(Boolean codeCoverageEnabled)
    • getCodeCoverageEnabled

      @Nullable public Boolean getCodeCoverageEnabled()
      Whether Code Coverage is enabled for this service. Setting to null is a no-op; use code_coverage_enabled_inherit to reset to repository-level inheritance.
      Returns:
      codeCoverageEnabled
    • setCodeCoverageEnabled

      public void setCodeCoverageEnabled(Boolean codeCoverageEnabled)
    • codeCoverageEnabledInherit

      public TestOptimizationUpdateServiceSettingsRequestAttributes codeCoverageEnabledInherit(Boolean codeCoverageEnabledInherit)
    • getCodeCoverageEnabledInherit

      @Nullable public Boolean getCodeCoverageEnabledInherit()
      When true, resets the Code Coverage setting to inherit from the repository level.
      Returns:
      codeCoverageEnabledInherit
    • setCodeCoverageEnabledInherit

      public void setCodeCoverageEnabledInherit(Boolean codeCoverageEnabledInherit)
    • earlyFlakeDetectionEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes earlyFlakeDetectionEnabled(Boolean earlyFlakeDetectionEnabled)
    • getEarlyFlakeDetectionEnabled

      @Nullable public Boolean getEarlyFlakeDetectionEnabled()
      Whether Early Flake Detection is enabled for this service. Setting to null is a no-op; use early_flake_detection_enabled_inherit to reset to repository-level inheritance.
      Returns:
      earlyFlakeDetectionEnabled
    • setEarlyFlakeDetectionEnabled

      public void setEarlyFlakeDetectionEnabled(Boolean earlyFlakeDetectionEnabled)
    • earlyFlakeDetectionEnabledInherit

      public TestOptimizationUpdateServiceSettingsRequestAttributes earlyFlakeDetectionEnabledInherit(Boolean earlyFlakeDetectionEnabledInherit)
    • getEarlyFlakeDetectionEnabledInherit

      @Nullable public Boolean getEarlyFlakeDetectionEnabledInherit()
      When true, resets the Early Flake Detection setting to inherit from the repository level.
      Returns:
      earlyFlakeDetectionEnabledInherit
    • setEarlyFlakeDetectionEnabledInherit

      public void setEarlyFlakeDetectionEnabledInherit(Boolean earlyFlakeDetectionEnabledInherit)
    • env

    • getEnv

      @Nullable public String getEnv()
      The environment name. If omitted, defaults to none.
      Returns:
      env
    • setEnv

      public void setEnv(String env)
    • failedTestReplayEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes failedTestReplayEnabled(Boolean failedTestReplayEnabled)
    • getFailedTestReplayEnabled

      @Nullable public Boolean getFailedTestReplayEnabled()
      Whether Failed Test Replay is enabled for this service. Setting to null is a no-op; use failed_test_replay_enabled_inherit to reset to repository-level inheritance.
      Returns:
      failedTestReplayEnabled
    • setFailedTestReplayEnabled

      public void setFailedTestReplayEnabled(Boolean failedTestReplayEnabled)
    • failedTestReplayEnabledInherit

      public TestOptimizationUpdateServiceSettingsRequestAttributes failedTestReplayEnabledInherit(Boolean failedTestReplayEnabledInherit)
    • getFailedTestReplayEnabledInherit

      @Nullable public Boolean getFailedTestReplayEnabledInherit()
      When true, resets the Failed Test Replay setting to inherit from the repository level.
      Returns:
      failedTestReplayEnabledInherit
    • setFailedTestReplayEnabledInherit

      public void setFailedTestReplayEnabledInherit(Boolean failedTestReplayEnabledInherit)
    • prCommentsEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes prCommentsEnabled(Boolean prCommentsEnabled)
    • getPrCommentsEnabled

      @Nullable public Boolean getPrCommentsEnabled()
      This field is ignored. PR Comments cannot be overridden at the service level.
      Returns:
      prCommentsEnabled
    • setPrCommentsEnabled

      public void setPrCommentsEnabled(Boolean prCommentsEnabled)
    • repositoryId

    • getRepositoryId

      public String getRepositoryId()
      The repository identifier.
      Returns:
      repositoryId
    • setRepositoryId

      public void setRepositoryId(String repositoryId)
    • serviceName

    • getServiceName

      public String getServiceName()
      The service name.
      Returns:
      serviceName
    • setServiceName

      public void setServiceName(String serviceName)
    • testImpactAnalysisEnabled

      public TestOptimizationUpdateServiceSettingsRequestAttributes testImpactAnalysisEnabled(Boolean testImpactAnalysisEnabled)
    • getTestImpactAnalysisEnabled

      @Nullable public Boolean getTestImpactAnalysisEnabled()
      Whether Test Impact Analysis is enabled for this service. Setting to null is a no-op; use test_impact_analysis_enabled_inherit to reset to repository-level inheritance.
      Returns:
      testImpactAnalysisEnabled
    • setTestImpactAnalysisEnabled

      public void setTestImpactAnalysisEnabled(Boolean testImpactAnalysisEnabled)
    • testImpactAnalysisEnabledInherit

      public TestOptimizationUpdateServiceSettingsRequestAttributes testImpactAnalysisEnabledInherit(Boolean testImpactAnalysisEnabledInherit)
    • getTestImpactAnalysisEnabledInherit

      @Nullable public Boolean getTestImpactAnalysisEnabledInherit()
      When true, resets the Test Impact Analysis setting to inherit from the repository level.
      Returns:
      testImpactAnalysisEnabledInherit
    • setTestImpactAnalysisEnabledInherit

      public void setTestImpactAnalysisEnabledInherit(Boolean testImpactAnalysisEnabledInherit)
    • 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 set
      value - The associated value
      Returns:
      TestOptimizationUpdateServiceSettingsRequestAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this TestOptimizationUpdateServiceSettingsRequestAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object