1919/** The set action applied on the scope matching the rule */
2020@ JsonPropertyOrder ({
2121 CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_APPEND ,
22+ CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_DEFAULT_VALUE ,
23+ CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_EXPRESSION ,
2224 CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_FIELD ,
25+ CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_INHERITED ,
2326 CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_NAME ,
2427 CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_SCOPE ,
2528 CloudWorkloadSecurityAgentRuleActionSet .JSON_PROPERTY_SIZE ,
@@ -33,9 +36,18 @@ public class CloudWorkloadSecurityAgentRuleActionSet {
3336 public static final String JSON_PROPERTY_APPEND = "append" ;
3437 private Boolean append ;
3538
39+ public static final String JSON_PROPERTY_DEFAULT_VALUE = "default_value" ;
40+ private String defaultValue ;
41+
42+ public static final String JSON_PROPERTY_EXPRESSION = "expression" ;
43+ private String expression ;
44+
3645 public static final String JSON_PROPERTY_FIELD = "field" ;
3746 private String field ;
3847
48+ public static final String JSON_PROPERTY_INHERITED = "inherited" ;
49+ private Boolean inherited ;
50+
3951 public static final String JSON_PROPERTY_NAME = "name" ;
4052 private String name ;
4153
@@ -72,6 +84,48 @@ public void setAppend(Boolean append) {
7284 this .append = append ;
7385 }
7486
87+ public CloudWorkloadSecurityAgentRuleActionSet defaultValue (String defaultValue ) {
88+ this .defaultValue = defaultValue ;
89+ return this ;
90+ }
91+
92+ /**
93+ * The default value of the set action
94+ *
95+ * @return defaultValue
96+ */
97+ @ jakarta .annotation .Nullable
98+ @ JsonProperty (JSON_PROPERTY_DEFAULT_VALUE )
99+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
100+ public String getDefaultValue () {
101+ return defaultValue ;
102+ }
103+
104+ public void setDefaultValue (String defaultValue ) {
105+ this .defaultValue = defaultValue ;
106+ }
107+
108+ public CloudWorkloadSecurityAgentRuleActionSet expression (String expression ) {
109+ this .expression = expression ;
110+ return this ;
111+ }
112+
113+ /**
114+ * The expression of the set action
115+ *
116+ * @return expression
117+ */
118+ @ jakarta .annotation .Nullable
119+ @ JsonProperty (JSON_PROPERTY_EXPRESSION )
120+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
121+ public String getExpression () {
122+ return expression ;
123+ }
124+
125+ public void setExpression (String expression ) {
126+ this .expression = expression ;
127+ }
128+
75129 public CloudWorkloadSecurityAgentRuleActionSet field (String field ) {
76130 this .field = field ;
77131 return this ;
@@ -93,6 +147,27 @@ public void setField(String field) {
93147 this .field = field ;
94148 }
95149
150+ public CloudWorkloadSecurityAgentRuleActionSet inherited (Boolean inherited ) {
151+ this .inherited = inherited ;
152+ return this ;
153+ }
154+
155+ /**
156+ * Whether the value should be inherited
157+ *
158+ * @return inherited
159+ */
160+ @ jakarta .annotation .Nullable
161+ @ JsonProperty (JSON_PROPERTY_INHERITED )
162+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
163+ public Boolean getInherited () {
164+ return inherited ;
165+ }
166+
167+ public void setInherited (Boolean inherited ) {
168+ this .inherited = inherited ;
169+ }
170+
96171 public CloudWorkloadSecurityAgentRuleActionSet name (String name ) {
97172 this .name = name ;
98173 return this ;
@@ -256,7 +331,10 @@ public boolean equals(Object o) {
256331 CloudWorkloadSecurityAgentRuleActionSet cloudWorkloadSecurityAgentRuleActionSet =
257332 (CloudWorkloadSecurityAgentRuleActionSet ) o ;
258333 return Objects .equals (this .append , cloudWorkloadSecurityAgentRuleActionSet .append )
334+ && Objects .equals (this .defaultValue , cloudWorkloadSecurityAgentRuleActionSet .defaultValue )
335+ && Objects .equals (this .expression , cloudWorkloadSecurityAgentRuleActionSet .expression )
259336 && Objects .equals (this .field , cloudWorkloadSecurityAgentRuleActionSet .field )
337+ && Objects .equals (this .inherited , cloudWorkloadSecurityAgentRuleActionSet .inherited )
260338 && Objects .equals (this .name , cloudWorkloadSecurityAgentRuleActionSet .name )
261339 && Objects .equals (this .scope , cloudWorkloadSecurityAgentRuleActionSet .scope )
262340 && Objects .equals (this .size , cloudWorkloadSecurityAgentRuleActionSet .size )
@@ -269,15 +347,29 @@ public boolean equals(Object o) {
269347
270348 @ Override
271349 public int hashCode () {
272- return Objects .hash (append , field , name , scope , size , ttl , value , additionalProperties );
350+ return Objects .hash (
351+ append ,
352+ defaultValue ,
353+ expression ,
354+ field ,
355+ inherited ,
356+ name ,
357+ scope ,
358+ size ,
359+ ttl ,
360+ value ,
361+ additionalProperties );
273362 }
274363
275364 @ Override
276365 public String toString () {
277366 StringBuilder sb = new StringBuilder ();
278367 sb .append ("class CloudWorkloadSecurityAgentRuleActionSet {\n " );
279368 sb .append (" append: " ).append (toIndentedString (append )).append ("\n " );
369+ sb .append (" defaultValue: " ).append (toIndentedString (defaultValue )).append ("\n " );
370+ sb .append (" expression: " ).append (toIndentedString (expression )).append ("\n " );
280371 sb .append (" field: " ).append (toIndentedString (field )).append ("\n " );
372+ sb .append (" inherited: " ).append (toIndentedString (inherited )).append ("\n " );
281373 sb .append (" name: " ).append (toIndentedString (name )).append ("\n " );
282374 sb .append (" scope: " ).append (toIndentedString (scope )).append ("\n " );
283375 sb .append (" size: " ).append (toIndentedString (size )).append ("\n " );
0 commit comments