Package com.datadog.api.client.v2.model
Class TeamsOwnershipRuleResponseData
java.lang.Object
com.datadog.api.client.v2.model.TeamsOwnershipRuleResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TeamsOwnershipRuleResponseData
extends Object
The JSON:API data envelope for a teams ownership rule.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTeamsOwnershipRuleResponseData(TeamsOwnershipRuleResponseAttributes attributes, String id, TeamsOwnershipRuleType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(TeamsOwnershipRuleResponseAttributes attributes) booleanReturn true if this TeamsOwnershipRuleResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes of a teams ownership rule.getId()A deterministic identifier derived from the rule's grouping key.getType()The type of the resource.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(TeamsOwnershipRuleResponseAttributes attributes) voidvoidtoString()type(TeamsOwnershipRuleType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
TeamsOwnershipRuleResponseData
public TeamsOwnershipRuleResponseData() -
TeamsOwnershipRuleResponseData
public TeamsOwnershipRuleResponseData(TeamsOwnershipRuleResponseAttributes attributes, String id, TeamsOwnershipRuleType type)
-
-
Method Details
-
attributes
-
getAttributes
The attributes of a teams ownership rule.- Returns:
- attributes
-
setAttributes
-
id
-
getId
A deterministic identifier derived from the rule's grouping key. This ID cannot be used to delete the rule directly; delete individual mappings using themapping_idunderteamsinstead.- Returns:
- id
-
setId
-
type
-
getType
The type of the resource. The value should always be teams_ownership_grouped_mappings.- Returns:
- type
-
setType
-
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:
- TeamsOwnershipRuleResponseData
-
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 TeamsOwnershipRuleResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-