Package com.datadog.api.client.v2.model
Class OrgGroupPolicySuggestionAttributes
java.lang.Object
com.datadog.api.client.v2.model.OrgGroupPolicySuggestionAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class OrgGroupPolicySuggestionAttributes
extends Object
Attributes of an org group policy suggestion.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrgGroupPolicySuggestionAttributes(Double consensusRatio, String policyName, Object recommendedValue, OrgGroupPolicySuggestionStatus status) -
Method Summary
Modifier and TypeMethodDescriptionconsensusRatio(Double consensusRatio) booleanReturn true if this OrgGroupPolicySuggestionAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ratio of member orgs whose configuration agrees on the recommended value.The name of the suggested policy.The recommended value for the policy, based on member org consensus.The status of the policy suggestion.inthashCode()policyName(String policyName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recommendedValue(Object recommendedValue) voidsetConsensusRatio(Double consensusRatio) voidsetPolicyName(String policyName) voidsetRecommendedValue(Object recommendedValue) voidstatus(OrgGroupPolicySuggestionStatus status) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONSENSUS_RATIO
- See Also:
-
JSON_PROPERTY_POLICY_NAME
- See Also:
-
JSON_PROPERTY_RECOMMENDED_VALUE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
OrgGroupPolicySuggestionAttributes
public OrgGroupPolicySuggestionAttributes() -
OrgGroupPolicySuggestionAttributes
public OrgGroupPolicySuggestionAttributes(Double consensusRatio, String policyName, Object recommendedValue, OrgGroupPolicySuggestionStatus status)
-
-
Method Details
-
consensusRatio
-
getConsensusRatio
The ratio of member orgs whose configuration agrees on the recommended value. minimum: 0 maximum: 1- Returns:
- consensusRatio
-
setConsensusRatio
-
policyName
-
getPolicyName
The name of the suggested policy.- Returns:
- policyName
-
setPolicyName
-
recommendedValue
-
getRecommendedValue
The recommended value for the policy, based on member org consensus.- Returns:
- recommendedValue
-
setRecommendedValue
-
status
-
getStatus
The status of the policy suggestion.- Returns:
- status
-
setStatus
-
putAdditionalProperty
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:
- OrgGroupPolicySuggestionAttributes
-
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 OrgGroupPolicySuggestionAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-