File tree Expand file tree Collapse file tree 4 files changed +39
-1
lines changed Expand file tree Collapse file tree 4 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @alicloud/pai-dlc20201203" ,
3- "version" : " 1.6.4 " ,
3+ "version" : " 1.6.5 " ,
44 "description" : " " ,
55 "main" : " dist/client.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 11// This file is auto-generated, don't edit it
22import * as $dara from '@darabonba/typescript' ;
3+ import { PodNetworkInterface } from "./PodNetworkInterface" ;
34
45
56export class PodItem extends $dara . Model {
@@ -31,6 +32,7 @@ export class PodItem extends $dara.Model {
3132 */
3233 podId ?: string ;
3334 podIp ?: string ;
35+ podIps ?: PodNetworkInterface [ ] ;
3436 /**
3537 * @example
3638 * fe846462-af2c-4521-bd6f-96787a57591d
@@ -57,6 +59,7 @@ export class PodItem extends $dara.Model {
5759 nodeName : 'NodeName' ,
5860 podId : 'PodId' ,
5961 podIp : 'PodIp' ,
62+ podIps : 'PodIps' ,
6063 podUid : 'PodUid' ,
6164 status : 'Status' ,
6265 subStatus : 'SubStatus' ,
@@ -74,6 +77,7 @@ export class PodItem extends $dara.Model {
7477 nodeName : 'string' ,
7578 podId : 'string' ,
7679 podIp : 'string' ,
80+ podIps : { 'type' : 'array' , 'itemType' : PodNetworkInterface } ,
7781 podUid : 'string' ,
7882 status : 'string' ,
7983 subStatus : 'string' ,
@@ -85,6 +89,9 @@ export class PodItem extends $dara.Model {
8589 if ( Array . isArray ( this . historyPods ) ) {
8690 $dara . Model . validateArray ( this . historyPods ) ;
8791 }
92+ if ( Array . isArray ( this . podIps ) ) {
93+ $dara . Model . validateArray ( this . podIps ) ;
94+ }
8895 super . validate ( ) ;
8996 }
9097
Original file line number Diff line number Diff line change 1+ // This file is auto-generated, don't edit it
2+ import * as $dara from '@darabonba/typescript' ;
3+
4+
5+ export class PodNetworkInterface extends $dara . Model {
6+ interfaceName ?: string ;
7+ ip ?: string ;
8+ static names ( ) : { [ key : string ] : string } {
9+ return {
10+ interfaceName : 'InterfaceName' ,
11+ ip : 'Ip' ,
12+ } ;
13+ }
14+
15+ static types ( ) : { [ key : string ] : any } {
16+ return {
17+ interfaceName : 'string' ,
18+ ip : 'string' ,
19+ } ;
20+ }
21+
22+ validate ( ) {
23+ super . validate ( ) ;
24+ }
25+
26+ constructor ( map ?: { [ key : string ] : any } ) {
27+ super ( map ) ;
28+ }
29+ }
30+
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ export { ModelConfig } from './ModelConfig';
5757export { NodeMetric } from './NodeMetric' ;
5858export { PodItem } from './PodItem' ;
5959export { PodMetric } from './PodMetric' ;
60+ export { PodNetworkInterface } from './PodNetworkInterface' ;
6061export { Quota } from './Quota' ;
6162export { QuotaConfig } from './QuotaConfig' ;
6263export { QuotaDetail } from './QuotaDetail' ;
You can’t perform that action at this time.
0 commit comments