Package com.datadog.api.client.v2.model
Class TestOptimizationFlakyTestsManagementPoliciesBranchRule
java.lang.Object
com.datadog.api.client.v2.model.TestOptimizationFlakyTestsManagementPoliciesBranchRule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TestOptimizationFlakyTestsManagementPoliciesBranchRule
extends Object
Branch filtering rule for a Flaky Tests Management policy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBranchesItem(String branchesItem) addExcludedBranchesItem(String excludedBranchesItem) addExcludedTestServicesItem(String excludedTestServicesItem) booleanReturn true if this TestOptimizationFlakyTestsManagementPoliciesBranchRule object is equal to o.excludedBranches(List<String> excludedBranches) excludedTestServices(List<String> excludedTestServices) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of branches to which the policy applies.Whether this branch rule is enabled.List of branches excluded from the policy.List of test services excluded from the policy.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBranches(List<String> branches) voidsetEnabled(Boolean enabled) voidsetExcludedBranches(List<String> excludedBranches) voidsetExcludedTestServices(List<String> excludedTestServices) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_BRANCHES
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_EXCLUDED_BRANCHES
- See Also:
-
JSON_PROPERTY_EXCLUDED_TEST_SERVICES
- See Also:
-
-
Constructor Details
-
TestOptimizationFlakyTestsManagementPoliciesBranchRule
public TestOptimizationFlakyTestsManagementPoliciesBranchRule()
-
-
Method Details
-
branches
-
addBranchesItem
-
getBranches
List of branches to which the policy applies.- Returns:
- branches
-
setBranches
-
enabled
-
getEnabled
Whether this branch rule is enabled.- Returns:
- enabled
-
setEnabled
-
excludedBranches
public TestOptimizationFlakyTestsManagementPoliciesBranchRule excludedBranches(List<String> excludedBranches) -
addExcludedBranchesItem
public TestOptimizationFlakyTestsManagementPoliciesBranchRule addExcludedBranchesItem(String excludedBranchesItem) -
getExcludedBranches
List of branches excluded from the policy.- Returns:
- excludedBranches
-
setExcludedBranches
-
excludedTestServices
public TestOptimizationFlakyTestsManagementPoliciesBranchRule excludedTestServices(List<String> excludedTestServices) -
addExcludedTestServicesItem
public TestOptimizationFlakyTestsManagementPoliciesBranchRule addExcludedTestServicesItem(String excludedTestServicesItem) -
getExcludedTestServices
List of test services excluded from the policy.- Returns:
- excludedTestServices
-
setExcludedTestServices
-
putAdditionalProperty
public TestOptimizationFlakyTestsManagementPoliciesBranchRule 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:
- TestOptimizationFlakyTestsManagementPoliciesBranchRule
-
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 TestOptimizationFlakyTestsManagementPoliciesBranchRule object is equal to o. -
hashCode
public int hashCode() -
toString
-