1818
1919/** A Cloud Workload Security Agent rule returned by the API. */
2020@ JsonPropertyOrder ({
21+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_AGENT_CONSTRAINT ,
2122 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CATEGORY ,
23+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_AUTHOR_UU_ID ,
2224 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATION_DATE ,
2325 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_CREATOR ,
2426 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DEFAULT_RULE ,
2527 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_DESCRIPTION ,
2628 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_ENABLED ,
2729 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_EXPRESSION ,
2830 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_NAME ,
31+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATE_AUTHOR_UU_ID ,
32+ CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATE_DATE ,
2933 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATED_AT ,
3034 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_UPDATER ,
3135 CloudWorkloadSecurityAgentRuleAttributes .JSON_PROPERTY_VERSION
3438 value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator" )
3539public class CloudWorkloadSecurityAgentRuleAttributes {
3640 @ JsonIgnore public boolean unparsed = false ;
41+ public static final String JSON_PROPERTY_AGENT_CONSTRAINT = "agentConstraint" ;
42+ private String agentConstraint ;
43+
3744 public static final String JSON_PROPERTY_CATEGORY = "category" ;
3845 private String category ;
3946
47+ public static final String JSON_PROPERTY_CREATION_AUTHOR_UU_ID = "creationAuthorUuId" ;
48+ private String creationAuthorUuId ;
49+
4050 public static final String JSON_PROPERTY_CREATION_DATE = "creationDate" ;
4151 private Long creationDate ;
4252
@@ -58,6 +68,12 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
5868 public static final String JSON_PROPERTY_NAME = "name" ;
5969 private String name ;
6070
71+ public static final String JSON_PROPERTY_UPDATE_AUTHOR_UU_ID = "updateAuthorUuId" ;
72+ private String updateAuthorUuId ;
73+
74+ public static final String JSON_PROPERTY_UPDATE_DATE = "updateDate" ;
75+ private Long updateDate ;
76+
6177 public static final String JSON_PROPERTY_UPDATED_AT = "updatedAt" ;
6278 private Long updatedAt ;
6379
@@ -67,6 +83,27 @@ public class CloudWorkloadSecurityAgentRuleAttributes {
6783 public static final String JSON_PROPERTY_VERSION = "version" ;
6884 private Long version ;
6985
86+ public CloudWorkloadSecurityAgentRuleAttributes agentConstraint (String agentConstraint ) {
87+ this .agentConstraint = agentConstraint ;
88+ return this ;
89+ }
90+
91+ /**
92+ * The version of the agent.
93+ *
94+ * @return agentConstraint
95+ */
96+ @ jakarta .annotation .Nullable
97+ @ JsonProperty (JSON_PROPERTY_AGENT_CONSTRAINT )
98+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
99+ public String getAgentConstraint () {
100+ return agentConstraint ;
101+ }
102+
103+ public void setAgentConstraint (String agentConstraint ) {
104+ this .agentConstraint = agentConstraint ;
105+ }
106+
70107 public CloudWorkloadSecurityAgentRuleAttributes category (String category ) {
71108 this .category = category ;
72109 return this ;
@@ -88,6 +125,27 @@ public void setCategory(String category) {
88125 this .category = category ;
89126 }
90127
128+ public CloudWorkloadSecurityAgentRuleAttributes creationAuthorUuId (String creationAuthorUuId ) {
129+ this .creationAuthorUuId = creationAuthorUuId ;
130+ return this ;
131+ }
132+
133+ /**
134+ * The ID of the user who created the rule.
135+ *
136+ * @return creationAuthorUuId
137+ */
138+ @ jakarta .annotation .Nullable
139+ @ JsonProperty (JSON_PROPERTY_CREATION_AUTHOR_UU_ID )
140+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
141+ public String getCreationAuthorUuId () {
142+ return creationAuthorUuId ;
143+ }
144+
145+ public void setCreationAuthorUuId (String creationAuthorUuId ) {
146+ this .creationAuthorUuId = creationAuthorUuId ;
147+ }
148+
91149 public CloudWorkloadSecurityAgentRuleAttributes creationDate (Long creationDate ) {
92150 this .creationDate = creationDate ;
93151 return this ;
@@ -237,6 +295,48 @@ public void setName(String name) {
237295 this .name = name ;
238296 }
239297
298+ public CloudWorkloadSecurityAgentRuleAttributes updateAuthorUuId (String updateAuthorUuId ) {
299+ this .updateAuthorUuId = updateAuthorUuId ;
300+ return this ;
301+ }
302+
303+ /**
304+ * The ID of the user who updated the rule.
305+ *
306+ * @return updateAuthorUuId
307+ */
308+ @ jakarta .annotation .Nullable
309+ @ JsonProperty (JSON_PROPERTY_UPDATE_AUTHOR_UU_ID )
310+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
311+ public String getUpdateAuthorUuId () {
312+ return updateAuthorUuId ;
313+ }
314+
315+ public void setUpdateAuthorUuId (String updateAuthorUuId ) {
316+ this .updateAuthorUuId = updateAuthorUuId ;
317+ }
318+
319+ public CloudWorkloadSecurityAgentRuleAttributes updateDate (Long updateDate ) {
320+ this .updateDate = updateDate ;
321+ return this ;
322+ }
323+
324+ /**
325+ * Timestamp in milliseconds when the Agent rule was last updated.
326+ *
327+ * @return updateDate
328+ */
329+ @ jakarta .annotation .Nullable
330+ @ JsonProperty (JSON_PROPERTY_UPDATE_DATE )
331+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
332+ public Long getUpdateDate () {
333+ return updateDate ;
334+ }
335+
336+ public void setUpdateDate (Long updateDate ) {
337+ this .updateDate = updateDate ;
338+ }
339+
240340 public CloudWorkloadSecurityAgentRuleAttributes updatedAt (Long updatedAt ) {
241341 this .updatedAt = updatedAt ;
242342 return this ;
@@ -359,14 +459,21 @@ public boolean equals(Object o) {
359459 }
360460 CloudWorkloadSecurityAgentRuleAttributes cloudWorkloadSecurityAgentRuleAttributes =
361461 (CloudWorkloadSecurityAgentRuleAttributes ) o ;
362- return Objects .equals (this .category , cloudWorkloadSecurityAgentRuleAttributes .category )
462+ return Objects .equals (
463+ this .agentConstraint , cloudWorkloadSecurityAgentRuleAttributes .agentConstraint )
464+ && Objects .equals (this .category , cloudWorkloadSecurityAgentRuleAttributes .category )
465+ && Objects .equals (
466+ this .creationAuthorUuId , cloudWorkloadSecurityAgentRuleAttributes .creationAuthorUuId )
363467 && Objects .equals (this .creationDate , cloudWorkloadSecurityAgentRuleAttributes .creationDate )
364468 && Objects .equals (this .creator , cloudWorkloadSecurityAgentRuleAttributes .creator )
365469 && Objects .equals (this .defaultRule , cloudWorkloadSecurityAgentRuleAttributes .defaultRule )
366470 && Objects .equals (this .description , cloudWorkloadSecurityAgentRuleAttributes .description )
367471 && Objects .equals (this .enabled , cloudWorkloadSecurityAgentRuleAttributes .enabled )
368472 && Objects .equals (this .expression , cloudWorkloadSecurityAgentRuleAttributes .expression )
369473 && Objects .equals (this .name , cloudWorkloadSecurityAgentRuleAttributes .name )
474+ && Objects .equals (
475+ this .updateAuthorUuId , cloudWorkloadSecurityAgentRuleAttributes .updateAuthorUuId )
476+ && Objects .equals (this .updateDate , cloudWorkloadSecurityAgentRuleAttributes .updateDate )
370477 && Objects .equals (this .updatedAt , cloudWorkloadSecurityAgentRuleAttributes .updatedAt )
371478 && Objects .equals (this .updater , cloudWorkloadSecurityAgentRuleAttributes .updater )
372479 && Objects .equals (this .version , cloudWorkloadSecurityAgentRuleAttributes .version )
@@ -378,14 +485,18 @@ public boolean equals(Object o) {
378485 @ Override
379486 public int hashCode () {
380487 return Objects .hash (
488+ agentConstraint ,
381489 category ,
490+ creationAuthorUuId ,
382491 creationDate ,
383492 creator ,
384493 defaultRule ,
385494 description ,
386495 enabled ,
387496 expression ,
388497 name ,
498+ updateAuthorUuId ,
499+ updateDate ,
389500 updatedAt ,
390501 updater ,
391502 version ,
@@ -396,14 +507,18 @@ public int hashCode() {
396507 public String toString () {
397508 StringBuilder sb = new StringBuilder ();
398509 sb .append ("class CloudWorkloadSecurityAgentRuleAttributes {\n " );
510+ sb .append (" agentConstraint: " ).append (toIndentedString (agentConstraint )).append ("\n " );
399511 sb .append (" category: " ).append (toIndentedString (category )).append ("\n " );
512+ sb .append (" creationAuthorUuId: " ).append (toIndentedString (creationAuthorUuId )).append ("\n " );
400513 sb .append (" creationDate: " ).append (toIndentedString (creationDate )).append ("\n " );
401514 sb .append (" creator: " ).append (toIndentedString (creator )).append ("\n " );
402515 sb .append (" defaultRule: " ).append (toIndentedString (defaultRule )).append ("\n " );
403516 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
404517 sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
405518 sb .append (" expression: " ).append (toIndentedString (expression )).append ("\n " );
406519 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
520+ sb .append (" updateAuthorUuId: " ).append (toIndentedString (updateAuthorUuId )).append ("\n " );
521+ sb .append (" updateDate: " ).append (toIndentedString (updateDate )).append ("\n " );
407522 sb .append (" updatedAt: " ).append (toIndentedString (updatedAt )).append ("\n " );
408523 sb .append (" updater: " ).append (toIndentedString (updater )).append ("\n " );
409524 sb .append (" version: " ).append (toIndentedString (version )).append ("\n " );
0 commit comments