2121import com .google .gson .stream .JsonWriter ;
2222import com .volcengine .emr .model .NodeAttributeForListClustersOutput ;
2323import com .volcengine .emr .model .StateChangeReasonForListClustersOutput ;
24+ import com .volcengine .emr .model .TagForListClustersOutput ;
2425import io .swagger .v3 .oas .annotations .media .Schema ;
2526import java .io .IOException ;
27+ import java .util .ArrayList ;
28+ import java .util .List ;
2629import javax .validation .constraints .*;
2730import javax .validation .Valid ;
2831/**
@@ -53,6 +56,9 @@ public class ItemForListClustersOutput {
5356 @ SerializedName ("CreateTime" )
5457 private Long createTime = null ;
5558
59+ @ SerializedName ("CreateTimeStr" )
60+ private String createTimeStr = null ;
61+
5662 @ SerializedName ("Creator" )
5763 private String creator = null ;
5864
@@ -80,6 +86,9 @@ public class ItemForListClustersOutput {
8086 @ SerializedName ("StateChangeReason" )
8187 private StateChangeReasonForListClustersOutput stateChangeReason = null ;
8288
89+ @ SerializedName ("Tags" )
90+ private List <TagForListClustersOutput > tags = null ;
91+
8392 @ SerializedName ("TerminateTime" )
8493 private Long terminateTime = null ;
8594
@@ -212,6 +221,24 @@ public void setCreateTime(Long createTime) {
212221 this .createTime = createTime ;
213222 }
214223
224+ public ItemForListClustersOutput createTimeStr (String createTimeStr ) {
225+ this .createTimeStr = createTimeStr ;
226+ return this ;
227+ }
228+
229+ /**
230+ * Get createTimeStr
231+ * @return createTimeStr
232+ **/
233+ @ Schema (description = "" )
234+ public String getCreateTimeStr () {
235+ return createTimeStr ;
236+ }
237+
238+ public void setCreateTimeStr (String createTimeStr ) {
239+ this .createTimeStr = createTimeStr ;
240+ }
241+
215242 public ItemForListClustersOutput creator (String creator ) {
216243 this .creator = creator ;
217244 return this ;
@@ -376,6 +403,33 @@ public void setStateChangeReason(StateChangeReasonForListClustersOutput stateCha
376403 this .stateChangeReason = stateChangeReason ;
377404 }
378405
406+ public ItemForListClustersOutput tags (List <TagForListClustersOutput > tags ) {
407+ this .tags = tags ;
408+ return this ;
409+ }
410+
411+ public ItemForListClustersOutput addTagsItem (TagForListClustersOutput tagsItem ) {
412+ if (this .tags == null ) {
413+ this .tags = new ArrayList <TagForListClustersOutput >();
414+ }
415+ this .tags .add (tagsItem );
416+ return this ;
417+ }
418+
419+ /**
420+ * Get tags
421+ * @return tags
422+ **/
423+ @ Valid
424+ @ Schema (description = "" )
425+ public List <TagForListClustersOutput > getTags () {
426+ return tags ;
427+ }
428+
429+ public void setTags (List <TagForListClustersOutput > tags ) {
430+ this .tags = tags ;
431+ }
432+
379433 public ItemForListClustersOutput terminateTime (Long terminateTime ) {
380434 this .terminateTime = terminateTime ;
381435 return this ;
@@ -429,6 +483,7 @@ public boolean equals(java.lang.Object o) {
429483 Objects .equals (this .clusterState , itemForListClustersOutput .clusterState ) &&
430484 Objects .equals (this .clusterType , itemForListClustersOutput .clusterType ) &&
431485 Objects .equals (this .createTime , itemForListClustersOutput .createTime ) &&
486+ Objects .equals (this .createTimeStr , itemForListClustersOutput .createTimeStr ) &&
432487 Objects .equals (this .creator , itemForListClustersOutput .creator ) &&
433488 Objects .equals (this .expireTime , itemForListClustersOutput .expireTime ) &&
434489 Objects .equals (this .nodeAttribute , itemForListClustersOutput .nodeAttribute ) &&
@@ -438,13 +493,14 @@ public boolean equals(java.lang.Object o) {
438493 Objects .equals (this .releaseVersion , itemForListClustersOutput .releaseVersion ) &&
439494 Objects .equals (this .securityGroupId , itemForListClustersOutput .securityGroupId ) &&
440495 Objects .equals (this .stateChangeReason , itemForListClustersOutput .stateChangeReason ) &&
496+ Objects .equals (this .tags , itemForListClustersOutput .tags ) &&
441497 Objects .equals (this .terminateTime , itemForListClustersOutput .terminateTime ) &&
442498 Objects .equals (this .vpcId , itemForListClustersOutput .vpcId );
443499 }
444500
445501 @ Override
446502 public int hashCode () {
447- return Objects .hash (accountId , chargeType , clusterId , clusterName , clusterState , clusterType , createTime , creator , expireTime , nodeAttribute , projectName , readyTime , regionId , releaseVersion , securityGroupId , stateChangeReason , terminateTime , vpcId );
503+ return Objects .hash (accountId , chargeType , clusterId , clusterName , clusterState , clusterType , createTime , createTimeStr , creator , expireTime , nodeAttribute , projectName , readyTime , regionId , releaseVersion , securityGroupId , stateChangeReason , tags , terminateTime , vpcId );
448504 }
449505
450506
@@ -460,6 +516,7 @@ public String toString() {
460516 sb .append (" clusterState: " ).append (toIndentedString (clusterState )).append ("\n " );
461517 sb .append (" clusterType: " ).append (toIndentedString (clusterType )).append ("\n " );
462518 sb .append (" createTime: " ).append (toIndentedString (createTime )).append ("\n " );
519+ sb .append (" createTimeStr: " ).append (toIndentedString (createTimeStr )).append ("\n " );
463520 sb .append (" creator: " ).append (toIndentedString (creator )).append ("\n " );
464521 sb .append (" expireTime: " ).append (toIndentedString (expireTime )).append ("\n " );
465522 sb .append (" nodeAttribute: " ).append (toIndentedString (nodeAttribute )).append ("\n " );
@@ -469,6 +526,7 @@ public String toString() {
469526 sb .append (" releaseVersion: " ).append (toIndentedString (releaseVersion )).append ("\n " );
470527 sb .append (" securityGroupId: " ).append (toIndentedString (securityGroupId )).append ("\n " );
471528 sb .append (" stateChangeReason: " ).append (toIndentedString (stateChangeReason )).append ("\n " );
529+ sb .append (" tags: " ).append (toIndentedString (tags )).append ("\n " );
472530 sb .append (" terminateTime: " ).append (toIndentedString (terminateTime )).append ("\n " );
473531 sb .append (" vpcId: " ).append (toIndentedString (vpcId )).append ("\n " );
474532 sb .append ("}" );
0 commit comments