2222import com .volcengine .vefaas .model .EnvForDescribeSandboxOutput ;
2323import com .volcengine .vefaas .model .ImageInfoForDescribeSandboxOutput ;
2424import com .volcengine .vefaas .model .InstanceTosMountConfigForDescribeSandboxOutput ;
25+ import com .volcengine .vefaas .model .MetadataListForDescribeSandboxOutput ;
2526import io .swagger .v3 .oas .annotations .media .Schema ;
2627import java .io .IOException ;
2728import java .util .ArrayList ;
29+ import java .util .HashMap ;
2830import java .util .List ;
31+ import java .util .Map ;
2932import javax .validation .constraints .*;
3033import javax .validation .Valid ;
3134/**
@@ -77,6 +80,12 @@ public class DescribeSandboxResponse extends com.volcengine.model.AbstractRespon
7780 @ SerializedName ("MemoryMB" )
7881 private Integer memoryMB = null ;
7982
83+ @ SerializedName ("Metadata" )
84+ private Map <String , String > metadata = null ;
85+
86+ @ SerializedName ("MetadataList" )
87+ private List <MetadataListForDescribeSandboxOutput > metadataList = null ;
88+
8089 @ SerializedName ("Pending" )
8190 private Boolean pending = null ;
8291
@@ -352,6 +361,59 @@ public void setMemoryMB(Integer memoryMB) {
352361 this .memoryMB = memoryMB ;
353362 }
354363
364+ public DescribeSandboxResponse metadata (Map <String , String > metadata ) {
365+ this .metadata = metadata ;
366+ return this ;
367+ }
368+
369+ public DescribeSandboxResponse putMetadataItem (String key , String metadataItem ) {
370+ if (this .metadata == null ) {
371+ this .metadata = new HashMap <String , String >();
372+ }
373+ this .metadata .put (key , metadataItem );
374+ return this ;
375+ }
376+
377+ /**
378+ * Get metadata
379+ * @return metadata
380+ **/
381+ @ Schema (description = "" )
382+ public Map <String , String > getMetadata () {
383+ return metadata ;
384+ }
385+
386+ public void setMetadata (Map <String , String > metadata ) {
387+ this .metadata = metadata ;
388+ }
389+
390+ public DescribeSandboxResponse metadataList (List <MetadataListForDescribeSandboxOutput > metadataList ) {
391+ this .metadataList = metadataList ;
392+ return this ;
393+ }
394+
395+ public DescribeSandboxResponse addMetadataListItem (MetadataListForDescribeSandboxOutput metadataListItem ) {
396+ if (this .metadataList == null ) {
397+ this .metadataList = new ArrayList <MetadataListForDescribeSandboxOutput >();
398+ }
399+ this .metadataList .add (metadataListItem );
400+ return this ;
401+ }
402+
403+ /**
404+ * Get metadataList
405+ * @return metadataList
406+ **/
407+ @ Valid
408+ @ Schema (description = "" )
409+ public List <MetadataListForDescribeSandboxOutput > getMetadataList () {
410+ return metadataList ;
411+ }
412+
413+ public void setMetadataList (List <MetadataListForDescribeSandboxOutput > metadataList ) {
414+ this .metadataList = metadataList ;
415+ }
416+
355417 public DescribeSandboxResponse pending (Boolean pending ) {
356418 this .pending = pending ;
357419 return this ;
@@ -448,6 +510,8 @@ public boolean equals(java.lang.Object o) {
448510 Objects .equals (this .instanceType , describeSandboxResponse .instanceType ) &&
449511 Objects .equals (this .maxConcurrency , describeSandboxResponse .maxConcurrency ) &&
450512 Objects .equals (this .memoryMB , describeSandboxResponse .memoryMB ) &&
513+ Objects .equals (this .metadata , describeSandboxResponse .metadata ) &&
514+ Objects .equals (this .metadataList , describeSandboxResponse .metadataList ) &&
451515 Objects .equals (this .pending , describeSandboxResponse .pending ) &&
452516 Objects .equals (this .requestTimeout , describeSandboxResponse .requestTimeout ) &&
453517 Objects .equals (this .revisionNumber , describeSandboxResponse .revisionNumber ) &&
@@ -456,7 +520,7 @@ public boolean equals(java.lang.Object o) {
456520
457521 @ Override
458522 public int hashCode () {
459- return Objects .hash (availabilityZone , cpuMilli , createdAt , envs , errorCode , errorMessage , expireAt , functionId , id , imageInfo , instanceTosMountConfig , instanceType , maxConcurrency , memoryMB , pending , requestTimeout , revisionNumber , status );
523+ return Objects .hash (availabilityZone , cpuMilli , createdAt , envs , errorCode , errorMessage , expireAt , functionId , id , imageInfo , instanceTosMountConfig , instanceType , maxConcurrency , memoryMB , metadata , metadataList , pending , requestTimeout , revisionNumber , status );
460524 }
461525
462526
@@ -479,6 +543,8 @@ public String toString() {
479543 sb .append (" instanceType: " ).append (toIndentedString (instanceType )).append ("\n " );
480544 sb .append (" maxConcurrency: " ).append (toIndentedString (maxConcurrency )).append ("\n " );
481545 sb .append (" memoryMB: " ).append (toIndentedString (memoryMB )).append ("\n " );
546+ sb .append (" metadata: " ).append (toIndentedString (metadata )).append ("\n " );
547+ sb .append (" metadataList: " ).append (toIndentedString (metadataList )).append ("\n " );
482548 sb .append (" pending: " ).append (toIndentedString (pending )).append ("\n " );
483549 sb .append (" requestTimeout: " ).append (toIndentedString (requestTimeout )).append ("\n " );
484550 sb .append (" revisionNumber: " ).append (toIndentedString (revisionNumber )).append ("\n " );
0 commit comments