Package com.datadog.api.client.v2.model
Class GetMultipleRulesetsResponseDataAttributesRulesetsItems
java.lang.Object
com.datadog.api.client.v2.model.GetMultipleRulesetsResponseDataAttributesRulesetsItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class GetMultipleRulesetsResponseDataAttributesRulesetsItems
extends Object
A ruleset returned in the response, containing its metadata and associated rules.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGetMultipleRulesetsResponseDataAttributesRulesetsItems(String description, String id, String name, List<GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItems> rules, String shortDescription) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this GetMultipleRulesetsResponseDataAttributesRulesetsItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A detailed description of the ruleset's purpose and the types of issues it targets.getId()The unique identifier of the ruleset, which is the same as its name.getName()The unique name of the ruleset.getRules()The list of static analysis rules included in this ruleset.A brief summary of the ruleset, suitable for display in listings.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidvoidvoidvoidsetShortDescription(String shortDescription) shortDescription(String shortDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
JSON_PROPERTY_SHORT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
GetMultipleRulesetsResponseDataAttributesRulesetsItems
public GetMultipleRulesetsResponseDataAttributesRulesetsItems() -
GetMultipleRulesetsResponseDataAttributesRulesetsItems
-
-
Method Details
-
description
-
getDescription
A detailed description of the ruleset's purpose and the types of issues it targets.- Returns:
- description
-
setDescription
-
id
-
getId
The unique identifier of the ruleset, which is the same as its name.- Returns:
- id
-
setId
-
name
-
getName
The unique name of the ruleset.- Returns:
- name
-
setName
-
rules
-
addRulesItem
public GetMultipleRulesetsResponseDataAttributesRulesetsItems addRulesItem(GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItems rulesItem) -
getRules
The list of static analysis rules included in this ruleset.- Returns:
- rules
-
setRules
-
shortDescription
public GetMultipleRulesetsResponseDataAttributesRulesetsItems shortDescription(String shortDescription) -
getShortDescription
A brief summary of the ruleset, suitable for display in listings.- Returns:
- shortDescription
-
setShortDescription
-
putAdditionalProperty
public GetMultipleRulesetsResponseDataAttributesRulesetsItems 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:
- GetMultipleRulesetsResponseDataAttributesRulesetsItems
-
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 GetMultipleRulesetsResponseDataAttributesRulesetsItems object is equal to o. -
hashCode
public int hashCode() -
toString
-