2323import com .google .gson .stream .JsonReader ;
2424import com .google .gson .stream .JsonWriter ;
2525import java .io .IOException ;
26+ import java .time .OffsetDateTime ;
2627import java .util .Arrays ;
2728import java .util .HashSet ;
2829import java .util .Map ;
3536 value = "org.openapitools.codegen.languages.JavaClientCodegen" ,
3637 comments = "Generator version: 7.15.0" )
3738public class BaseSecurityGroupRule {
39+ public static final String SERIALIZED_NAME_CREATED_AT = "createdAt" ;
40+
41+ @ SerializedName (SERIALIZED_NAME_CREATED_AT )
42+ @ javax .annotation .Nullable private OffsetDateTime createdAt ;
43+
3844 public static final String SERIALIZED_NAME_DESCRIPTION = "description" ;
3945
4046 @ SerializedName (SERIALIZED_NAME_DESCRIPTION )
@@ -81,12 +87,29 @@ public class BaseSecurityGroupRule {
8187 @ SerializedName (SERIALIZED_NAME_SECURITY_GROUP_ID )
8288 @ javax .annotation .Nullable private UUID securityGroupId ;
8389
90+ public static final String SERIALIZED_NAME_UPDATED_AT = "updatedAt" ;
91+
92+ @ SerializedName (SERIALIZED_NAME_UPDATED_AT )
93+ @ javax .annotation .Nullable private OffsetDateTime updatedAt ;
94+
8495 public BaseSecurityGroupRule () {}
8596
86- public BaseSecurityGroupRule (UUID id , UUID securityGroupId ) {
97+ public BaseSecurityGroupRule (
98+ OffsetDateTime createdAt , UUID id , UUID securityGroupId , OffsetDateTime updatedAt ) {
8799 this ();
100+ this .createdAt = createdAt ;
88101 this .id = id ;
89102 this .securityGroupId = securityGroupId ;
103+ this .updatedAt = updatedAt ;
104+ }
105+
106+ /**
107+ * Date-time when resource was created.
108+ *
109+ * @return createdAt
110+ */
111+ @ javax .annotation .Nullable public OffsetDateTime getCreatedAt () {
112+ return createdAt ;
90113 }
91114
92115 public BaseSecurityGroupRule description (@ javax .annotation .Nullable String description ) {
@@ -238,6 +261,15 @@ public void setRemoteSecurityGroupId(@javax.annotation.Nullable UUID remoteSecur
238261 return securityGroupId ;
239262 }
240263
264+ /**
265+ * Date-time when resource was last updated.
266+ *
267+ * @return updatedAt
268+ */
269+ @ javax .annotation .Nullable public OffsetDateTime getUpdatedAt () {
270+ return updatedAt ;
271+ }
272+
241273 @ Override
242274 public boolean equals (Object o ) {
243275 if (this == o ) {
@@ -247,7 +279,8 @@ public boolean equals(Object o) {
247279 return false ;
248280 }
249281 BaseSecurityGroupRule baseSecurityGroupRule = (BaseSecurityGroupRule ) o ;
250- return Objects .equals (this .description , baseSecurityGroupRule .description )
282+ return Objects .equals (this .createdAt , baseSecurityGroupRule .createdAt )
283+ && Objects .equals (this .description , baseSecurityGroupRule .description )
251284 && Objects .equals (this .direction , baseSecurityGroupRule .direction )
252285 && Objects .equals (this .ethertype , baseSecurityGroupRule .ethertype )
253286 && Objects .equals (this .icmpParameters , baseSecurityGroupRule .icmpParameters )
@@ -256,12 +289,14 @@ public boolean equals(Object o) {
256289 && Objects .equals (this .portRange , baseSecurityGroupRule .portRange )
257290 && Objects .equals (
258291 this .remoteSecurityGroupId , baseSecurityGroupRule .remoteSecurityGroupId )
259- && Objects .equals (this .securityGroupId , baseSecurityGroupRule .securityGroupId );
292+ && Objects .equals (this .securityGroupId , baseSecurityGroupRule .securityGroupId )
293+ && Objects .equals (this .updatedAt , baseSecurityGroupRule .updatedAt );
260294 }
261295
262296 @ Override
263297 public int hashCode () {
264298 return Objects .hash (
299+ createdAt ,
265300 description ,
266301 direction ,
267302 ethertype ,
@@ -270,13 +305,15 @@ public int hashCode() {
270305 ipRange ,
271306 portRange ,
272307 remoteSecurityGroupId ,
273- securityGroupId );
308+ securityGroupId ,
309+ updatedAt );
274310 }
275311
276312 @ Override
277313 public String toString () {
278314 StringBuilder sb = new StringBuilder ();
279315 sb .append ("class BaseSecurityGroupRule {\n " );
316+ sb .append (" createdAt: " ).append (toIndentedString (createdAt )).append ("\n " );
280317 sb .append (" description: " ).append (toIndentedString (description )).append ("\n " );
281318 sb .append (" direction: " ).append (toIndentedString (direction )).append ("\n " );
282319 sb .append (" ethertype: " ).append (toIndentedString (ethertype )).append ("\n " );
@@ -288,6 +325,7 @@ public String toString() {
288325 .append (toIndentedString (remoteSecurityGroupId ))
289326 .append ("\n " );
290327 sb .append (" securityGroupId: " ).append (toIndentedString (securityGroupId )).append ("\n " );
328+ sb .append (" updatedAt: " ).append (toIndentedString (updatedAt )).append ("\n " );
291329 sb .append ("}" );
292330 return sb .toString ();
293331 }
@@ -311,6 +349,7 @@ private String toIndentedString(Object o) {
311349 openapiFields =
312350 new HashSet <String >(
313351 Arrays .asList (
352+ "createdAt" ,
314353 "description" ,
315354 "direction" ,
316355 "ethertype" ,
@@ -319,7 +358,8 @@ private String toIndentedString(Object o) {
319358 "ipRange" ,
320359 "portRange" ,
321360 "remoteSecurityGroupId" ,
322- "securityGroupId" ));
361+ "securityGroupId" ,
362+ "updatedAt" ));
323363
324364 // a set of required properties/fields (JSON key names)
325365 openapiRequiredFields = new HashSet <String >(Arrays .asList ("direction" ));
0 commit comments