@@ -21,6 +21,9 @@ module DatadogAPIClient::V2
2121 class SecurityMonitoringRuleConvertResponse
2222 include BaseGenericModel
2323
24+ # the ID of the rule.
25+ attr_accessor :rule_id
26+
2427 # Terraform string as a result of converting the rule from JSON.
2528 attr_accessor :terraform_content
2629
@@ -30,6 +33,7 @@ class SecurityMonitoringRuleConvertResponse
3033 # @!visibility private
3134 def self . attribute_map
3235 {
36+ :'rule_id' => :'ruleId' ,
3337 :'terraform_content' => :'terraformContent'
3438 }
3539 end
@@ -38,6 +42,7 @@ def self.attribute_map
3842 # @!visibility private
3943 def self . openapi_types
4044 {
45+ :'rule_id' => :'String' ,
4146 :'terraform_content' => :'String'
4247 }
4348 end
@@ -60,6 +65,10 @@ def initialize(attributes = {})
6065 end
6166 }
6267
68+ if attributes . key? ( :'rule_id' )
69+ self . rule_id = attributes [ :'rule_id' ]
70+ end
71+
6372 if attributes . key? ( :'terraform_content' )
6473 self . terraform_content = attributes [ :'terraform_content' ]
6574 end
@@ -91,6 +100,7 @@ def to_hash
91100 def ==( o )
92101 return true if self . equal? ( o )
93102 self . class == o . class &&
103+ rule_id == o . rule_id &&
94104 terraform_content == o . terraform_content &&
95105 additional_properties == o . additional_properties
96106 end
@@ -99,7 +109,7 @@ def ==(o)
99109 # @return [Integer] Hash code
100110 # @!visibility private
101111 def hash
102- [ terraform_content , additional_properties ] . hash
112+ [ rule_id , terraform_content , additional_properties ] . hash
103113 end
104114 end
105115end
0 commit comments