@alicloud/elasticsearch20170613 4.2.0 → 4.3.0

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.
Files changed (109) hide show
  1. package/dist/client.d.ts +156 -0
  2. package/dist/client.js +386 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetKeystoresResponse.d.ts +19 -0
  5. package/dist/models/GetKeystoresResponse.js +69 -0
  6. package/dist/models/GetKeystoresResponse.js.map +1 -0
  7. package/dist/models/GetKeystoresResponseBody.d.ts +22 -0
  8. package/dist/models/GetKeystoresResponseBody.js +63 -0
  9. package/dist/models/GetKeystoresResponseBody.js.map +1 -0
  10. package/dist/models/InitModelRequest.d.ts +68 -0
  11. package/dist/models/InitModelRequest.js +90 -0
  12. package/dist/models/InitModelRequest.js.map +1 -0
  13. package/dist/models/InitModelResponse.d.ts +19 -0
  14. package/dist/models/InitModelResponse.js +69 -0
  15. package/dist/models/InitModelResponse.js.map +1 -0
  16. package/dist/models/InitModelResponseBody.d.ts +26 -0
  17. package/dist/models/InitModelResponseBody.js +60 -0
  18. package/dist/models/InitModelResponseBody.js.map +1 -0
  19. package/dist/models/ListUserPluginRequest.d.ts +28 -0
  20. package/dist/models/ListUserPluginRequest.js +62 -0
  21. package/dist/models/ListUserPluginRequest.js.map +1 -0
  22. package/dist/models/ListUserPluginResponse.d.ts +19 -0
  23. package/dist/models/ListUserPluginResponse.js +69 -0
  24. package/dist/models/ListUserPluginResponse.js.map +1 -0
  25. package/dist/models/ListUserPluginResponseBody.d.ts +106 -0
  26. package/dist/models/ListUserPluginResponseBody.js +129 -0
  27. package/dist/models/ListUserPluginResponseBody.js.map +1 -0
  28. package/dist/models/PluginAnalysisRequest.d.ts +29 -0
  29. package/dist/models/PluginAnalysisRequest.js +60 -0
  30. package/dist/models/PluginAnalysisRequest.js.map +1 -0
  31. package/dist/models/PluginAnalysisResponse.d.ts +19 -0
  32. package/dist/models/PluginAnalysisResponse.js +69 -0
  33. package/dist/models/PluginAnalysisResponse.js.map +1 -0
  34. package/dist/models/PluginAnalysisResponseBody.d.ts +59 -0
  35. package/dist/models/PluginAnalysisResponseBody.js +90 -0
  36. package/dist/models/PluginAnalysisResponseBody.js.map +1 -0
  37. package/dist/models/RemovePluginRequest.d.ts +28 -0
  38. package/dist/models/RemovePluginRequest.js +58 -0
  39. package/dist/models/RemovePluginRequest.js.map +1 -0
  40. package/dist/models/RemovePluginResponse.d.ts +19 -0
  41. package/dist/models/RemovePluginResponse.js +69 -0
  42. package/dist/models/RemovePluginResponse.js.map +1 -0
  43. package/dist/models/RemovePluginResponseBody.d.ts +26 -0
  44. package/dist/models/RemovePluginResponseBody.js +60 -0
  45. package/dist/models/RemovePluginResponseBody.js.map +1 -0
  46. package/dist/models/UpdateFalconSeekRequest.d.ts +18 -0
  47. package/dist/models/UpdateFalconSeekRequest.js +58 -0
  48. package/dist/models/UpdateFalconSeekRequest.js.map +1 -0
  49. package/dist/models/UpdateFalconSeekResponse.d.ts +19 -0
  50. package/dist/models/UpdateFalconSeekResponse.js +69 -0
  51. package/dist/models/UpdateFalconSeekResponse.js.map +1 -0
  52. package/dist/models/UpdateFalconSeekResponseBody.d.ts +21 -0
  53. package/dist/models/UpdateFalconSeekResponseBody.js +58 -0
  54. package/dist/models/UpdateFalconSeekResponseBody.js.map +1 -0
  55. package/dist/models/UpdateKeystoresRequest.d.ts +22 -0
  56. package/dist/models/UpdateKeystoresRequest.js +68 -0
  57. package/dist/models/UpdateKeystoresRequest.js.map +1 -0
  58. package/dist/models/UpdateKeystoresResponse.d.ts +19 -0
  59. package/dist/models/UpdateKeystoresResponse.js +69 -0
  60. package/dist/models/UpdateKeystoresResponse.js.map +1 -0
  61. package/dist/models/UpdateKeystoresResponseBody.d.ts +21 -0
  62. package/dist/models/UpdateKeystoresResponseBody.js +58 -0
  63. package/dist/models/UpdateKeystoresResponseBody.js.map +1 -0
  64. package/dist/models/UpdateKibanaSsoRequest.d.ts +31 -0
  65. package/dist/models/UpdateKibanaSsoRequest.js +60 -0
  66. package/dist/models/UpdateKibanaSsoRequest.js.map +1 -0
  67. package/dist/models/UpdateKibanaSsoResponse.d.ts +19 -0
  68. package/dist/models/UpdateKibanaSsoResponse.js +69 -0
  69. package/dist/models/UpdateKibanaSsoResponse.js.map +1 -0
  70. package/dist/models/UpdateKibanaSsoResponseBody.d.ts +26 -0
  71. package/dist/models/UpdateKibanaSsoResponseBody.js +60 -0
  72. package/dist/models/UpdateKibanaSsoResponseBody.js.map +1 -0
  73. package/dist/models/UpgradeInfoResponse.d.ts +19 -0
  74. package/dist/models/UpgradeInfoResponse.js +69 -0
  75. package/dist/models/UpgradeInfoResponse.js.map +1 -0
  76. package/dist/models/UpgradeInfoResponseBody.d.ts +82 -0
  77. package/dist/models/UpgradeInfoResponseBody.js +116 -0
  78. package/dist/models/UpgradeInfoResponseBody.js.map +1 -0
  79. package/dist/models/model.d.ts +31 -0
  80. package/dist/models/model.js +79 -16
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +419 -0
  84. package/src/models/GetKeystoresResponse.ts +40 -0
  85. package/src/models/GetKeystoresResponseBody.ts +40 -0
  86. package/src/models/InitModelRequest.ts +104 -0
  87. package/src/models/InitModelResponse.ts +40 -0
  88. package/src/models/InitModelResponseBody.ts +41 -0
  89. package/src/models/ListUserPluginRequest.ts +45 -0
  90. package/src/models/ListUserPluginResponse.ts +40 -0
  91. package/src/models/ListUserPluginResponseBody.ts +170 -0
  92. package/src/models/PluginAnalysisRequest.ts +44 -0
  93. package/src/models/PluginAnalysisResponse.ts +40 -0
  94. package/src/models/PluginAnalysisResponseBody.ts +95 -0
  95. package/src/models/RemovePluginRequest.ts +41 -0
  96. package/src/models/RemovePluginResponse.ts +40 -0
  97. package/src/models/RemovePluginResponseBody.ts +41 -0
  98. package/src/models/UpdateFalconSeekRequest.ts +31 -0
  99. package/src/models/UpdateFalconSeekResponse.ts +40 -0
  100. package/src/models/UpdateFalconSeekResponseBody.ts +34 -0
  101. package/src/models/UpdateKeystoresRequest.ts +43 -0
  102. package/src/models/UpdateKeystoresResponse.ts +40 -0
  103. package/src/models/UpdateKeystoresResponseBody.ts +34 -0
  104. package/src/models/UpdateKibanaSsoRequest.ts +46 -0
  105. package/src/models/UpdateKibanaSsoResponse.ts +40 -0
  106. package/src/models/UpdateKibanaSsoResponseBody.ts +41 -0
  107. package/src/models/UpgradeInfoResponse.ts +40 -0
  108. package/src/models/UpgradeInfoResponseBody.ts +135 -0
  109. package/src/models/model.ts +31 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetKeystoresResponseBody } from "./GetKeystoresResponseBody";
4
+
5
+
6
+ export class GetKeystoresResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetKeystoresResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetKeystoresResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetKeystoresResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * F99407AB-2FA9-489E-A259-40CF6DCC****
12
+ */
13
+ requestId?: string;
14
+ result?: string[];
15
+ static names(): { [key: string]: string } {
16
+ return {
17
+ requestId: 'RequestId',
18
+ result: 'Result',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ requestId: 'string',
25
+ result: { 'type': 'array', 'itemType': 'string' },
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.result)) {
31
+ $dara.Model.validateArray(this.result);
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,104 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InitModelRequestModels extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * text_embedding
9
+ */
10
+ modelType?: string;
11
+ /**
12
+ * @example
13
+ * ops-text-embedding-**
14
+ */
15
+ serviceId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ modelType: 'modelType',
19
+ serviceId: 'serviceId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ modelType: 'string',
26
+ serviceId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class InitModelRequest extends $dara.Model {
40
+ /**
41
+ * @remarks
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * os-xfdddf*
46
+ */
47
+ apiKey?: string;
48
+ /**
49
+ * @remarks
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * ****.platform-cn-hangzhou-vpc.opensearch.aliyuncs.com
54
+ */
55
+ host?: string;
56
+ /**
57
+ * @remarks
58
+ * This parameter is required.
59
+ *
60
+ * @example
61
+ * https
62
+ */
63
+ httpSchema?: string;
64
+ models?: InitModelRequestModels[];
65
+ /**
66
+ * @remarks
67
+ * This parameter is required.
68
+ *
69
+ * @example
70
+ * default
71
+ */
72
+ workspace?: string;
73
+ static names(): { [key: string]: string } {
74
+ return {
75
+ apiKey: 'api_key',
76
+ host: 'host',
77
+ httpSchema: 'http_schema',
78
+ models: 'models',
79
+ workspace: 'workspace',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ apiKey: 'string',
86
+ host: 'string',
87
+ httpSchema: 'string',
88
+ models: { 'type': 'array', 'itemType': InitModelRequestModels },
89
+ workspace: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(Array.isArray(this.models)) {
95
+ $dara.Model.validateArray(this.models);
96
+ }
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { InitModelResponseBody } from "./InitModelResponseBody";
4
+
5
+
6
+ export class InitModelResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: InitModelResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: InitModelResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class InitModelResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * F99407AB-2FA9-489E-A259-40CF6DCC4****
12
+ */
13
+ requestId?: string;
14
+ /**
15
+ * @example
16
+ * true
17
+ */
18
+ result?: boolean;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ requestId: 'RequestId',
22
+ result: 'Result',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ requestId: 'string',
29
+ result: 'boolean',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserPluginRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * my-plugin
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ page?: string;
16
+ /**
17
+ * @example
18
+ * 50
19
+ */
20
+ size?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ name: 'name',
24
+ page: 'page',
25
+ size: 'size',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ name: 'string',
32
+ page: 'string',
33
+ size: 'string',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListUserPluginResponseBody } from "./ListUserPluginResponseBody";
4
+
5
+
6
+ export class ListUserPluginResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListUserPluginResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListUserPluginResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,170 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListUserPluginResponseBodyResultBingoPlugins extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * The plugin***
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * 8.17.0
14
+ */
15
+ elasticsearchVersion?: string;
16
+ /**
17
+ * @example
18
+ * CAEQaRiBgIDI2tie6hkiIGIwM2I3MjZmNjk3YzR***
19
+ */
20
+ fileVersion?: string;
21
+ /**
22
+ * @example
23
+ * dynamic-name
24
+ */
25
+ name?: string;
26
+ /**
27
+ * @example
28
+ * USER
29
+ */
30
+ source?: string;
31
+ /**
32
+ * @example
33
+ * UNINSTALLED
34
+ */
35
+ state?: string;
36
+ /**
37
+ * @example
38
+ * 8.17.0
39
+ */
40
+ version?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ description: 'description',
44
+ elasticsearchVersion: 'elasticsearchVersion',
45
+ fileVersion: 'fileVersion',
46
+ name: 'name',
47
+ source: 'source',
48
+ state: 'state',
49
+ version: 'version',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ description: 'string',
56
+ elasticsearchVersion: 'string',
57
+ fileVersion: 'string',
58
+ name: 'string',
59
+ source: 'string',
60
+ state: 'string',
61
+ version: 'string',
62
+ };
63
+ }
64
+
65
+ validate() {
66
+ super.validate();
67
+ }
68
+
69
+ constructor(map?: { [key: string]: any }) {
70
+ super(map);
71
+ }
72
+ }
73
+
74
+ export class ListUserPluginResponseBodyResult extends $dara.Model {
75
+ bingoPlugins?: ListUserPluginResponseBodyResultBingoPlugins[];
76
+ /**
77
+ * @example
78
+ * ct-test
79
+ */
80
+ name?: string;
81
+ /**
82
+ * @example
83
+ * USER
84
+ */
85
+ source?: string;
86
+ /**
87
+ * @example
88
+ * UNINSTALLED
89
+ */
90
+ state?: string;
91
+ /**
92
+ * @example
93
+ * 8.17.0
94
+ */
95
+ version?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ bingoPlugins: 'bingoPlugins',
99
+ name: 'name',
100
+ source: 'source',
101
+ state: 'state',
102
+ version: 'version',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ bingoPlugins: { 'type': 'array', 'itemType': ListUserPluginResponseBodyResultBingoPlugins },
109
+ name: 'string',
110
+ source: 'string',
111
+ state: 'string',
112
+ version: 'string',
113
+ };
114
+ }
115
+
116
+ validate() {
117
+ if(Array.isArray(this.bingoPlugins)) {
118
+ $dara.Model.validateArray(this.bingoPlugins);
119
+ }
120
+ super.validate();
121
+ }
122
+
123
+ constructor(map?: { [key: string]: any }) {
124
+ super(map);
125
+ }
126
+ }
127
+
128
+ export class ListUserPluginResponseBody extends $dara.Model {
129
+ /**
130
+ * @example
131
+ * {\\"totalCount\\": 1, \\"X-Total-Count\\": 1}
132
+ */
133
+ headers?: { [key: string]: any };
134
+ /**
135
+ * @example
136
+ * 5EEF8FAE-EEDD***
137
+ */
138
+ requestId?: string;
139
+ result?: ListUserPluginResponseBodyResult[];
140
+ static names(): { [key: string]: string } {
141
+ return {
142
+ headers: 'Headers',
143
+ requestId: 'RequestId',
144
+ result: 'Result',
145
+ };
146
+ }
147
+
148
+ static types(): { [key: string]: any } {
149
+ return {
150
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
151
+ requestId: 'string',
152
+ result: { 'type': 'array', 'itemType': ListUserPluginResponseBodyResult },
153
+ };
154
+ }
155
+
156
+ validate() {
157
+ if(this.headers) {
158
+ $dara.Model.validateMap(this.headers);
159
+ }
160
+ if(Array.isArray(this.result)) {
161
+ $dara.Model.validateArray(this.result);
162
+ }
163
+ super.validate();
164
+ }
165
+
166
+ constructor(map?: { [key: string]: any }) {
167
+ super(map);
168
+ }
169
+ }
170
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PluginAnalysisRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * {
9
+ * "name": "plugin_name.zip",// plugin name
10
+ * "ossObject": {
11
+ * "bucketName": "bucketName",// oss bucket name
12
+ * "key": "my_plugin_dir/plugin_name.zip" // oss file name
13
+ * }
14
+ * }
15
+ */
16
+ body?: string;
17
+ /**
18
+ * @example
19
+ * false
20
+ */
21
+ dryRun?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ body: 'body',
25
+ dryRun: 'dryRun',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ body: 'string',
32
+ dryRun: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { PluginAnalysisResponseBody } from "./PluginAnalysisResponseBody";
4
+
5
+
6
+ export class PluginAnalysisResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: PluginAnalysisResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: PluginAnalysisResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,95 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class PluginAnalysisResponseBodyResult extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * plugin description
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * 8.17.0
14
+ */
15
+ elasticsearchVersion?: string;
16
+ /**
17
+ * @example
18
+ * plugin_name
19
+ */
20
+ name?: string;
21
+ /**
22
+ * @example
23
+ * null
24
+ */
25
+ securityPolicy?: string;
26
+ /**
27
+ * @example
28
+ * 8.17.0
29
+ */
30
+ version?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ description: 'description',
34
+ elasticsearchVersion: 'elasticsearchVersion',
35
+ name: 'name',
36
+ securityPolicy: 'securityPolicy',
37
+ version: 'version',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ description: 'string',
44
+ elasticsearchVersion: 'string',
45
+ name: 'string',
46
+ securityPolicy: 'string',
47
+ version: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class PluginAnalysisResponseBody extends $dara.Model {
61
+ /**
62
+ * @remarks
63
+ * Id of the request
64
+ *
65
+ * @example
66
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****
67
+ */
68
+ requestId?: string;
69
+ result?: PluginAnalysisResponseBodyResult[];
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ requestId: 'RequestId',
73
+ result: 'Result',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ requestId: 'string',
80
+ result: { 'type': 'array', 'itemType': PluginAnalysisResponseBodyResult },
81
+ };
82
+ }
83
+
84
+ validate() {
85
+ if(Array.isArray(this.result)) {
86
+ $dara.Model.validateArray(this.result);
87
+ }
88
+ super.validate();
89
+ }
90
+
91
+ constructor(map?: { [key: string]: any }) {
92
+ super(map);
93
+ }
94
+ }
95
+