@alicloud/apig20240327 7.0.3 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class Attachment extends $dara.Model {
|
|
3
|
+
attachResourceId?: string;
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
5
6
|
* The resource IDs.
|
|
6
7
|
*/
|
|
7
8
|
attachResourceIds?: string[];
|
|
9
|
+
attachResourceParentIds?: string[];
|
|
8
10
|
/**
|
|
9
11
|
* @remarks
|
|
10
12
|
* The supported mount point type. Valid values:
|
|
@@ -39,7 +39,9 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class Attachment extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
attachResourceId: 'attachResourceId',
|
|
42
43
|
attachResourceIds: 'attachResourceIds',
|
|
44
|
+
attachResourceParentIds: 'attachResourceParentIds',
|
|
43
45
|
attachResourceType: 'attachResourceType',
|
|
44
46
|
environmentId: 'environmentId',
|
|
45
47
|
gatewayId: 'gatewayId',
|
|
@@ -48,7 +50,9 @@ class Attachment extends $dara.Model {
|
|
|
48
50
|
}
|
|
49
51
|
static types() {
|
|
50
52
|
return {
|
|
53
|
+
attachResourceId: 'string',
|
|
51
54
|
attachResourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
55
|
+
attachResourceParentIds: { 'type': 'array', 'itemType': 'string' },
|
|
52
56
|
attachResourceType: 'string',
|
|
53
57
|
environmentId: 'string',
|
|
54
58
|
gatewayId: 'string',
|
|
@@ -59,6 +63,9 @@ class Attachment extends $dara.Model {
|
|
|
59
63
|
if (Array.isArray(this.attachResourceIds)) {
|
|
60
64
|
$dara.Model.validateArray(this.attachResourceIds);
|
|
61
65
|
}
|
|
66
|
+
if (Array.isArray(this.attachResourceParentIds)) {
|
|
67
|
+
$dara.Model.validateArray(this.attachResourceParentIds);
|
|
68
|
+
}
|
|
62
69
|
super.validate();
|
|
63
70
|
}
|
|
64
71
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../src/models/Attachment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,UAAW,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"Attachment.js","sourceRoot":"","sources":["../../src/models/Attachment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,UAAW,SAAQ,KAAK,CAAC,KAAK;IAgDzC,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,iBAAiB,EAAE,mBAAmB;YACtC,uBAAuB,EAAE,yBAAyB;YAClD,kBAAkB,EAAE,oBAAoB;YACxC,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;YACtB,kBAAkB,EAAE,oBAAoB;SACzC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,iBAAiB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC5D,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAClE,kBAAkB,EAAE,QAAQ;YAC5B,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;YACnB,kBAAkB,EAAE,QAAQ;SAC7B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC;YACzC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,CAAC;YAC/C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC1D,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArFD,gCAqFC"}
|
package/package.json
CHANGED
package/src/models/Attachment.ts
CHANGED
|
@@ -3,11 +3,13 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class Attachment extends $dara.Model {
|
|
6
|
+
attachResourceId?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The resource IDs.
|
|
9
10
|
*/
|
|
10
11
|
attachResourceIds?: string[];
|
|
12
|
+
attachResourceParentIds?: string[];
|
|
11
13
|
/**
|
|
12
14
|
* @remarks
|
|
13
15
|
* The supported mount point type. Valid values:
|
|
@@ -50,7 +52,9 @@ export class Attachment extends $dara.Model {
|
|
|
50
52
|
policyAttachmentId?: string;
|
|
51
53
|
static names(): { [key: string]: string } {
|
|
52
54
|
return {
|
|
55
|
+
attachResourceId: 'attachResourceId',
|
|
53
56
|
attachResourceIds: 'attachResourceIds',
|
|
57
|
+
attachResourceParentIds: 'attachResourceParentIds',
|
|
54
58
|
attachResourceType: 'attachResourceType',
|
|
55
59
|
environmentId: 'environmentId',
|
|
56
60
|
gatewayId: 'gatewayId',
|
|
@@ -60,7 +64,9 @@ export class Attachment extends $dara.Model {
|
|
|
60
64
|
|
|
61
65
|
static types(): { [key: string]: any } {
|
|
62
66
|
return {
|
|
67
|
+
attachResourceId: 'string',
|
|
63
68
|
attachResourceIds: { 'type': 'array', 'itemType': 'string' },
|
|
69
|
+
attachResourceParentIds: { 'type': 'array', 'itemType': 'string' },
|
|
64
70
|
attachResourceType: 'string',
|
|
65
71
|
environmentId: 'string',
|
|
66
72
|
gatewayId: 'string',
|
|
@@ -72,6 +78,9 @@ export class Attachment extends $dara.Model {
|
|
|
72
78
|
if(Array.isArray(this.attachResourceIds)) {
|
|
73
79
|
$dara.Model.validateArray(this.attachResourceIds);
|
|
74
80
|
}
|
|
81
|
+
if(Array.isArray(this.attachResourceParentIds)) {
|
|
82
|
+
$dara.Model.validateArray(this.attachResourceParentIds);
|
|
83
|
+
}
|
|
75
84
|
super.validate();
|
|
76
85
|
}
|
|
77
86
|
|