Package com.datadog.api.client.v2.model
Class CustomRulesetRuleEmbedded
java.lang.Object
com.datadog.api.client.v2.model.CustomRulesetRuleEmbedded
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CustomRulesetRuleEmbedded
extends Object
A custom static analysis rule as embedded in the rules list of a ruleset response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCustomRulesetRuleEmbedded(OffsetDateTime createdAt, String createdBy, String id, CustomRuleRevisionEmbedded lastRevision, String name, List<CustomRuleRevisionEmbedded> revisions) -
Method Summary
Modifier and TypeMethodDescriptionaddRevisionsItem(CustomRuleRevisionEmbedded revisionsItem) createdAt(OffsetDateTime createdAt) booleanReturn true if this CustomRulesetRuleEmbedded object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Creation timestampCreator identifiergetId()Rule identifier, which is the same as the rule name.A revision of a custom static analysis rule as embedded in a rule or ruleset response.getName()Rule nameRevision history of the rule.inthashCode()lastRevision(CustomRuleRevisionEmbedded lastRevision) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.revisions(List<CustomRuleRevisionEmbedded> revisions) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidvoidsetLastRevision(CustomRuleRevisionEmbedded lastRevision) voidvoidsetRevisions(List<CustomRuleRevisionEmbedded> revisions) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_BY
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LAST_REVISION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REVISIONS
- See Also:
-
-
Constructor Details
-
CustomRulesetRuleEmbedded
public CustomRulesetRuleEmbedded() -
CustomRulesetRuleEmbedded
public CustomRulesetRuleEmbedded(OffsetDateTime createdAt, String createdBy, String id, CustomRuleRevisionEmbedded lastRevision, String name, List<CustomRuleRevisionEmbedded> revisions)
-
-
Method Details
-
createdAt
-
getCreatedAt
Creation timestamp- Returns:
- createdAt
-
setCreatedAt
-
createdBy
-
getCreatedBy
Creator identifier- Returns:
- createdBy
-
setCreatedBy
-
id
-
getId
Rule identifier, which is the same as the rule name.- Returns:
- id
-
setId
-
lastRevision
-
getLastRevision
A revision of a custom static analysis rule as embedded in a rule or ruleset response.- Returns:
- lastRevision
-
setLastRevision
-
name
-
getName
Rule name- Returns:
- name
-
setName
-
revisions
-
addRevisionsItem
-
getRevisions
Revision history of the rule.- Returns:
- revisions
-
setRevisions
-
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:
- CustomRulesetRuleEmbedded
-
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 CustomRulesetRuleEmbedded object is equal to o. -
hashCode
public int hashCode() -
toString
-