Package com.datadog.api.client.v2.model
Class SastRulesetData
java.lang.Object
com.datadog.api.client.v2.model.SastRulesetData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SastRulesetData
extends Object
The primary data object representing a SAST ruleset.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSastRulesetData(SastRulesetDataAttributes attributes, String id, GetMultipleRulesetsResponseDataAttributesRulesetsItemsDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(SastRulesetDataAttributes attributes) booleanReturn true if this SastRulesetData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The attributes of a SAST ruleset, including its name, description, and rules.getId()The unique identifier of the ruleset resource.getType()Rulesets resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(SastRulesetDataAttributes attributes) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SastRulesetData
public SastRulesetData() -
SastRulesetData
public SastRulesetData(SastRulesetDataAttributes attributes, String id, GetMultipleRulesetsResponseDataAttributesRulesetsItemsDataType type)
-
-
Method Details
-
attributes
-
getAttributes
The attributes of a SAST ruleset, including its name, description, and rules.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The unique identifier of the ruleset resource.- Returns:
- id
-
setId
-
type
-
getType
Rulesets resource type.- 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:
- SastRulesetData
-
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 SastRulesetData object is equal to o. -
hashCode
public int hashCode() -
toString
-