2020import com .google .gson .stream .JsonReader ;
2121import com .google .gson .stream .JsonWriter ;
2222import com .volcengine .rocketmq .model .ChargeDetailForDescribeInstanceDetailOutput ;
23+ import com .volcengine .rocketmq .model .InstanceTagForDescribeInstanceDetailOutput ;
2324import io .swagger .v3 .oas .annotations .media .Schema ;
2425import java .io .IOException ;
25- import java .util .HashMap ;
26+ import java .util .ArrayList ;
2627import java .util .List ;
27- import java .util .Map ;
2828import javax .validation .constraints .*;
2929import javax .validation .Valid ;
3030/**
@@ -73,6 +73,9 @@ public class BasicInfoForDescribeInstanceDetailOutput {
7373 @ SerializedName ("InstanceStatus" )
7474 private String instanceStatus = null ;
7575
76+ @ SerializedName ("InstanceTags" )
77+ private List <InstanceTagForDescribeInstanceDetailOutput > instanceTags = null ;
78+
7679 @ SerializedName ("ProjectName" )
7780 private String projectName = null ;
7881
@@ -88,9 +91,6 @@ public class BasicInfoForDescribeInstanceDetailOutput {
8891 @ SerializedName ("SubnetId" )
8992 private String subnetId = null ;
9093
91- @ SerializedName ("Tags" )
92- private Map <String , String > tags = null ;
93-
9494 @ SerializedName ("UsedGroupNumber" )
9595 private Integer usedGroupNumber = null ;
9696
@@ -347,6 +347,33 @@ public void setInstanceStatus(String instanceStatus) {
347347 this .instanceStatus = instanceStatus ;
348348 }
349349
350+ public BasicInfoForDescribeInstanceDetailOutput instanceTags (List <InstanceTagForDescribeInstanceDetailOutput > instanceTags ) {
351+ this .instanceTags = instanceTags ;
352+ return this ;
353+ }
354+
355+ public BasicInfoForDescribeInstanceDetailOutput addInstanceTagsItem (InstanceTagForDescribeInstanceDetailOutput instanceTagsItem ) {
356+ if (this .instanceTags == null ) {
357+ this .instanceTags = new ArrayList <InstanceTagForDescribeInstanceDetailOutput >();
358+ }
359+ this .instanceTags .add (instanceTagsItem );
360+ return this ;
361+ }
362+
363+ /**
364+ * Get instanceTags
365+ * @return instanceTags
366+ **/
367+ @ Valid
368+ @ Schema (description = "" )
369+ public List <InstanceTagForDescribeInstanceDetailOutput > getInstanceTags () {
370+ return instanceTags ;
371+ }
372+
373+ public void setInstanceTags (List <InstanceTagForDescribeInstanceDetailOutput > instanceTags ) {
374+ this .instanceTags = instanceTags ;
375+ }
376+
350377 public BasicInfoForDescribeInstanceDetailOutput projectName (String projectName ) {
351378 this .projectName = projectName ;
352379 return this ;
@@ -437,32 +464,6 @@ public void setSubnetId(String subnetId) {
437464 this .subnetId = subnetId ;
438465 }
439466
440- public BasicInfoForDescribeInstanceDetailOutput tags (Map <String , String > tags ) {
441- this .tags = tags ;
442- return this ;
443- }
444-
445- public BasicInfoForDescribeInstanceDetailOutput putTagsItem (String key , String tagsItem ) {
446- if (this .tags == null ) {
447- this .tags = new HashMap <String , String >();
448- }
449- this .tags .put (key , tagsItem );
450- return this ;
451- }
452-
453- /**
454- * Get tags
455- * @return tags
456- **/
457- @ Schema (description = "" )
458- public Map <String , String > getTags () {
459- return tags ;
460- }
461-
462- public void setTags (Map <String , String > tags ) {
463- this .tags = tags ;
464- }
465-
466467 public BasicInfoForDescribeInstanceDetailOutput usedGroupNumber (Integer usedGroupNumber ) {
467468 this .usedGroupNumber = usedGroupNumber ;
468469 return this ;
@@ -612,12 +613,12 @@ public boolean equals(java.lang.Object o) {
612613 Objects .equals (this .instanceId , basicInfoForDescribeInstanceDetailOutput .instanceId ) &&
613614 Objects .equals (this .instanceName , basicInfoForDescribeInstanceDetailOutput .instanceName ) &&
614615 Objects .equals (this .instanceStatus , basicInfoForDescribeInstanceDetailOutput .instanceStatus ) &&
616+ Objects .equals (this .instanceTags , basicInfoForDescribeInstanceDetailOutput .instanceTags ) &&
615617 Objects .equals (this .projectName , basicInfoForDescribeInstanceDetailOutput .projectName ) &&
616618 Objects .equals (this .regionId , basicInfoForDescribeInstanceDetailOutput .regionId ) &&
617619 Objects .equals (this .ssLMode , basicInfoForDescribeInstanceDetailOutput .ssLMode ) &&
618620 Objects .equals (this .storageSpace , basicInfoForDescribeInstanceDetailOutput .storageSpace ) &&
619621 Objects .equals (this .subnetId , basicInfoForDescribeInstanceDetailOutput .subnetId ) &&
620- Objects .equals (this .tags , basicInfoForDescribeInstanceDetailOutput .tags ) &&
621622 Objects .equals (this .usedGroupNumber , basicInfoForDescribeInstanceDetailOutput .usedGroupNumber ) &&
622623 Objects .equals (this .usedQueueNumber , basicInfoForDescribeInstanceDetailOutput .usedQueueNumber ) &&
623624 Objects .equals (this .usedStorageSpace , basicInfoForDescribeInstanceDetailOutput .usedStorageSpace ) &&
@@ -629,7 +630,7 @@ public boolean equals(java.lang.Object o) {
629630
630631 @ Override
631632 public int hashCode () {
632- return Objects .hash (accountId , applyPrivateDNSToPublic , availableQueueNumber , chargeDetail , computeSpec , createTime , eipId , enableSSL , fileReservedTime , instanceDescription , instanceId , instanceName , instanceStatus , projectName , regionId , ssLMode , storageSpace , subnetId , tags , usedGroupNumber , usedQueueNumber , usedStorageSpace , usedTopicNumber , version , vpcId , zoneId );
633+ return Objects .hash (accountId , applyPrivateDNSToPublic , availableQueueNumber , chargeDetail , computeSpec , createTime , eipId , enableSSL , fileReservedTime , instanceDescription , instanceId , instanceName , instanceStatus , instanceTags , projectName , regionId , ssLMode , storageSpace , subnetId , usedGroupNumber , usedQueueNumber , usedStorageSpace , usedTopicNumber , version , vpcId , zoneId );
633634 }
634635
635636
@@ -651,12 +652,12 @@ public String toString() {
651652 sb .append (" instanceId: " ).append (toIndentedString (instanceId )).append ("\n " );
652653 sb .append (" instanceName: " ).append (toIndentedString (instanceName )).append ("\n " );
653654 sb .append (" instanceStatus: " ).append (toIndentedString (instanceStatus )).append ("\n " );
655+ sb .append (" instanceTags: " ).append (toIndentedString (instanceTags )).append ("\n " );
654656 sb .append (" projectName: " ).append (toIndentedString (projectName )).append ("\n " );
655657 sb .append (" regionId: " ).append (toIndentedString (regionId )).append ("\n " );
656658 sb .append (" ssLMode: " ).append (toIndentedString (ssLMode )).append ("\n " );
657659 sb .append (" storageSpace: " ).append (toIndentedString (storageSpace )).append ("\n " );
658660 sb .append (" subnetId: " ).append (toIndentedString (subnetId )).append ("\n " );
659- sb .append (" tags: " ).append (toIndentedString (tags )).append ("\n " );
660661 sb .append (" usedGroupNumber: " ).append (toIndentedString (usedGroupNumber )).append ("\n " );
661662 sb .append (" usedQueueNumber: " ).append (toIndentedString (usedQueueNumber )).append ("\n " );
662663 sb .append (" usedStorageSpace: " ).append (toIndentedString (usedStorageSpace )).append ("\n " );
0 commit comments