Skip to content

Commit fae9d01

Browse files
committed
Generated ts 2020-12-03 for pai-dlc.
1 parent 61ffcfd commit fae9d01

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

pai-dlc-20201203/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

pai-dlc-20201203/src/models/PodItem.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// This file is auto-generated, don't edit it
22
import * as $dara from '@darabonba/typescript';
3+
import { PodNetworkInterface } from "./PodNetworkInterface";
34

45

56
export 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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+

pai-dlc-20201203/src/models/model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export { ModelConfig } from './ModelConfig';
5757
export { NodeMetric } from './NodeMetric';
5858
export { PodItem } from './PodItem';
5959
export { PodMetric } from './PodMetric';
60+
export { PodNetworkInterface } from './PodNetworkInterface';
6061
export { Quota } from './Quota';
6162
export { QuotaConfig } from './QuotaConfig';
6263
export { QuotaDetail } from './QuotaDetail';

0 commit comments

Comments
 (0)