@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateRuleResponseData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CreateRuleResponseData() |
| Modifier and Type | Method and Description |
|---|---|
CreateRuleResponseData |
attributes(RuleAttributes attributes) |
boolean |
equals(Object o)
Return true if this CreateRuleResponseData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RuleAttributes |
getAttributes()
Details of a rule.
|
String |
getId()
The unique ID for a scorecard rule.
|
RelationshipToRule |
getRelationships()
Scorecard create rule response relationship.
|
RuleType |
getType()
The JSON:API type for scorecard rules.
|
int |
hashCode() |
CreateRuleResponseData |
id(String id) |
CreateRuleResponseData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
CreateRuleResponseData |
relationships(RelationshipToRule relationships) |
void |
setAttributes(RuleAttributes attributes) |
void |
setId(String id) |
void |
setRelationships(RelationshipToRule relationships) |
void |
setType(RuleType type) |
String |
toString() |
CreateRuleResponseData |
type(RuleType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public CreateRuleResponseData attributes(RuleAttributes attributes)
@Nullable public RuleAttributes getAttributes()
public void setAttributes(RuleAttributes attributes)
public CreateRuleResponseData id(String id)
@Nullable public String getId()
public void setId(String id)
public CreateRuleResponseData relationships(RelationshipToRule relationships)
@Nullable public RelationshipToRule getRelationships()
public void setRelationships(RelationshipToRule relationships)
public CreateRuleResponseData type(RuleType type)
@Nullable public RuleType getType()
public void setType(RuleType type)
public CreateRuleResponseData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.