Package com.datadog.api.client.v2.model
Class SastRulesetDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.SastRulesetDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SastRulesetDataAttributes
extends Object
The attributes of a SAST ruleset, including its name, description, and rules.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSastRulesetDataAttributes(String description, String name, List<GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItems> rules, String shortDescription) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this SastRulesetDataAttributes 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.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) voidvoidvoidsetShortDescription(String shortDescription) shortDescription(String shortDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RULES
- See Also:
-
JSON_PROPERTY_SHORT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
SastRulesetDataAttributes
public SastRulesetDataAttributes() -
SastRulesetDataAttributes
public SastRulesetDataAttributes(String description, String name, List<GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItems> rules, String shortDescription)
-
-
Method Details
-
description
-
getDescription
A detailed description of the ruleset's purpose and the types of issues it targets.- Returns:
- description
-
setDescription
-
name
-
getName
The unique name of the ruleset.- Returns:
- name
-
setName
-
rules
-
addRulesItem
public SastRulesetDataAttributes addRulesItem(GetMultipleRulesetsResponseDataAttributesRulesetsItemsRulesItems rulesItem) -
getRules
The list of static analysis rules included in this ruleset.- Returns:
- rules
-
setRules
-
shortDescription
-
getShortDescription
A brief summary of the ruleset, suitable for display in listings.- Returns:
- shortDescription
-
setShortDescription
-
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:
- SastRulesetDataAttributes
-
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 SastRulesetDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-