@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,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemovePluginRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * [
9
+ * {
10
+ * "name": "pluginName",
11
+ * "elasticsearchVersion": "8.17.0",
12
+ * "version": "8.17.0",
13
+ * "fileVersion": "CAEQbxiBgIDMoJqe6hkiIGYzM****",
14
+ * "state": "UNINSTALLED",
15
+ * "source": "USER",
16
+ * "pluginType": "CUSTOM_PLUGIN"
17
+ * }
18
+ * ]
19
+ */
20
+ body?: string;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ body: 'body',
24
+ };
25
+ }
26
+
27
+ static types(): { [key: string]: any } {
28
+ return {
29
+ body: 'string',
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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RemovePluginResponseBody } from "./RemovePluginResponseBody";
4
+
5
+
6
+ export class RemovePluginResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RemovePluginResponseBody;
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: RemovePluginResponseBody,
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 RemovePluginResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateFalconSeekRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ enable?: boolean;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ enable: 'enable',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ enable: 'boolean',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateFalconSeekResponseBody } from "./UpdateFalconSeekResponseBody";
4
+
5
+
6
+ export class UpdateFalconSeekResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateFalconSeekResponseBody;
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: UpdateFalconSeekResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateFalconSeekResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1****
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,43 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateKeystoresRequest extends $dara.Model {
6
+ remove?: string[];
7
+ update?: { [key: string]: string };
8
+ /**
9
+ * @example
10
+ * false
11
+ */
12
+ force?: string;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ remove: 'remove',
16
+ update: 'update',
17
+ force: 'force',
18
+ };
19
+ }
20
+
21
+ static types(): { [key: string]: any } {
22
+ return {
23
+ remove: { 'type': 'array', 'itemType': 'string' },
24
+ update: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25
+ force: 'string',
26
+ };
27
+ }
28
+
29
+ validate() {
30
+ if(Array.isArray(this.remove)) {
31
+ $dara.Model.validateArray(this.remove);
32
+ }
33
+ if(this.update) {
34
+ $dara.Model.validateMap(this.update);
35
+ }
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateKeystoresResponseBody } from "./UpdateKeystoresResponseBody";
4
+
5
+
6
+ export class UpdateKeystoresResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateKeystoresResponseBody;
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: UpdateKeystoresResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateKeystoresResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,46 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateKibanaSsoRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * false
12
+ */
13
+ enable?: string;
14
+ /**
15
+ * @remarks
16
+ * PUBLIC, PRIVATE
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * PUBLIC, PRIVATE
22
+ */
23
+ networkType?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ enable: 'enable',
27
+ networkType: 'networkType',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ enable: 'string',
34
+ networkType: 'string',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateKibanaSsoResponseBody } from "./UpdateKibanaSsoResponseBody";
4
+
5
+
6
+ export class UpdateKibanaSsoResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateKibanaSsoResponseBody;
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: UpdateKibanaSsoResponseBody,
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 UpdateKibanaSsoResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * C82758DD-282F-4D48-934F-92170A33****
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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpgradeInfoResponseBody } from "./UpgradeInfoResponseBody";
4
+
5
+
6
+ export class UpgradeInfoResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpgradeInfoResponseBody;
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: UpgradeInfoResponseBody,
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,135 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpgradeInfoResponseBodyResultUpgradeInfo extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 1.7.3
9
+ */
10
+ curRepoVersion?: string;
11
+ /**
12
+ * @example
13
+ * 1.7.3
14
+ */
15
+ updateRepoVersion?: string;
16
+ /**
17
+ * @example
18
+ * false
19
+ */
20
+ upgrade?: boolean;
21
+ /**
22
+ * @example
23
+ * 2.2.4
24
+ */
25
+ curApackVersion?: string;
26
+ /**
27
+ * @example
28
+ * 8.17.0
29
+ */
30
+ curEsVersion?: string;
31
+ /**
32
+ * @example
33
+ * 2.2.4
34
+ */
35
+ upgradeApackVersion?: string;
36
+ /**
37
+ * @example
38
+ * 8.17.0
39
+ */
40
+ upgradeEsVersion?: string;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ curRepoVersion: 'CurRepoVersion',
44
+ updateRepoVersion: 'UpdateRepoVersion',
45
+ upgrade: 'Upgrade',
46
+ curApackVersion: 'curApackVersion',
47
+ curEsVersion: 'curEsVersion',
48
+ upgradeApackVersion: 'upgradeApackVersion',
49
+ upgradeEsVersion: 'upgradeEsVersion',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ curRepoVersion: 'string',
56
+ updateRepoVersion: 'string',
57
+ upgrade: 'boolean',
58
+ curApackVersion: 'string',
59
+ curEsVersion: 'string',
60
+ upgradeApackVersion: 'string',
61
+ upgradeEsVersion: '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 UpgradeInfoResponseBodyResult extends $dara.Model {
75
+ upgradeInfo?: UpgradeInfoResponseBodyResultUpgradeInfo;
76
+ static names(): { [key: string]: string } {
77
+ return {
78
+ upgradeInfo: 'UpgradeInfo',
79
+ };
80
+ }
81
+
82
+ static types(): { [key: string]: any } {
83
+ return {
84
+ upgradeInfo: UpgradeInfoResponseBodyResultUpgradeInfo,
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ if(this.upgradeInfo && typeof (this.upgradeInfo as any).validate === 'function') {
90
+ (this.upgradeInfo as any).validate();
91
+ }
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
100
+ export class UpgradeInfoResponseBody extends $dara.Model {
101
+ /**
102
+ * @remarks
103
+ * Id of the request
104
+ *
105
+ * @example
106
+ * 5FFD9ED4-C2EC-4E89-B22B-1ACB6FE1D****
107
+ */
108
+ requestId?: string;
109
+ result?: UpgradeInfoResponseBodyResult;
110
+ static names(): { [key: string]: string } {
111
+ return {
112
+ requestId: 'RequestId',
113
+ result: 'Result',
114
+ };
115
+ }
116
+
117
+ static types(): { [key: string]: any } {
118
+ return {
119
+ requestId: 'string',
120
+ result: UpgradeInfoResponseBodyResult,
121
+ };
122
+ }
123
+
124
+ validate() {
125
+ if(this.result && typeof (this.result as any).validate === 'function') {
126
+ (this.result as any).validate();
127
+ }
128
+ super.validate();
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+