@alicloud/emr-serverless-spark20230808 1.14.0 → 1.16.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 (97) hide show
  1. package/dist/client.d.ts +126 -0
  2. package/dist/client.js +340 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateKyuubiTokenRequest.d.ts +52 -0
  5. package/dist/models/CreateKyuubiTokenRequest.js +93 -0
  6. package/dist/models/CreateKyuubiTokenRequest.js.map +1 -0
  7. package/dist/models/CreateKyuubiTokenResponse.d.ts +19 -0
  8. package/dist/models/CreateKyuubiTokenResponse.js +69 -0
  9. package/dist/models/CreateKyuubiTokenResponse.js.map +1 -0
  10. package/dist/models/CreateKyuubiTokenResponseBody.d.ts +39 -0
  11. package/dist/models/CreateKyuubiTokenResponseBody.js +82 -0
  12. package/dist/models/CreateKyuubiTokenResponseBody.js.map +1 -0
  13. package/dist/models/CreateSqlStatementRequest.d.ts +1 -0
  14. package/dist/models/CreateSqlStatementRequest.js +2 -0
  15. package/dist/models/CreateSqlStatementRequest.js.map +1 -1
  16. package/dist/models/DeleteKyuubiTokenRequest.d.ts +18 -0
  17. package/dist/models/DeleteKyuubiTokenRequest.js +58 -0
  18. package/dist/models/DeleteKyuubiTokenRequest.js.map +1 -0
  19. package/dist/models/DeleteKyuubiTokenResponse.d.ts +19 -0
  20. package/dist/models/DeleteKyuubiTokenResponse.js +69 -0
  21. package/dist/models/DeleteKyuubiTokenResponse.js.map +1 -0
  22. package/dist/models/DeleteKyuubiTokenResponseBody.d.ts +18 -0
  23. package/dist/models/DeleteKyuubiTokenResponseBody.js +58 -0
  24. package/dist/models/DeleteKyuubiTokenResponseBody.js.map +1 -0
  25. package/dist/models/GetKyuubiTokenRequest.d.ts +18 -0
  26. package/dist/models/GetKyuubiTokenRequest.js +58 -0
  27. package/dist/models/GetKyuubiTokenRequest.js.map +1 -0
  28. package/dist/models/GetKyuubiTokenResponse.d.ts +19 -0
  29. package/dist/models/GetKyuubiTokenResponse.js +69 -0
  30. package/dist/models/GetKyuubiTokenResponse.js.map +1 -0
  31. package/dist/models/GetKyuubiTokenResponseBody.d.ts +93 -0
  32. package/dist/models/GetKyuubiTokenResponseBody.js +125 -0
  33. package/dist/models/GetKyuubiTokenResponseBody.js.map +1 -0
  34. package/dist/models/ListCatalogsRequest.d.ts +23 -0
  35. package/dist/models/ListCatalogsRequest.js +60 -0
  36. package/dist/models/ListCatalogsRequest.js.map +1 -0
  37. package/dist/models/ListCatalogsResponse.d.ts +19 -0
  38. package/dist/models/ListCatalogsResponse.js +69 -0
  39. package/dist/models/ListCatalogsResponse.js.map +1 -0
  40. package/dist/models/ListCatalogsResponseBody.d.ts +103 -0
  41. package/dist/models/ListCatalogsResponseBody.js +110 -0
  42. package/dist/models/ListCatalogsResponseBody.js.map +1 -0
  43. package/dist/models/ListJobExecutorsRequest.d.ts +38 -0
  44. package/dist/models/ListJobExecutorsRequest.js +66 -0
  45. package/dist/models/ListJobExecutorsRequest.js.map +1 -0
  46. package/dist/models/ListJobExecutorsResponse.d.ts +19 -0
  47. package/dist/models/ListJobExecutorsResponse.js +69 -0
  48. package/dist/models/ListJobExecutorsResponse.js.map +1 -0
  49. package/dist/models/ListJobExecutorsResponseBody.d.ts +154 -0
  50. package/dist/models/ListJobExecutorsResponseBody.js +128 -0
  51. package/dist/models/ListJobExecutorsResponseBody.js.map +1 -0
  52. package/dist/models/ListTemplateRequest.d.ts +18 -0
  53. package/dist/models/ListTemplateRequest.js +58 -0
  54. package/dist/models/ListTemplateRequest.js.map +1 -0
  55. package/dist/models/ListTemplateResponse.d.ts +19 -0
  56. package/dist/models/ListTemplateResponse.js +69 -0
  57. package/dist/models/ListTemplateResponse.js.map +1 -0
  58. package/dist/models/ListTemplateResponseBody.d.ts +40 -0
  59. package/dist/models/ListTemplateResponseBody.js +72 -0
  60. package/dist/models/ListTemplateResponseBody.js.map +1 -0
  61. package/dist/models/UpdateKyuubiTokenRequest.d.ts +52 -0
  62. package/dist/models/UpdateKyuubiTokenRequest.js +93 -0
  63. package/dist/models/UpdateKyuubiTokenRequest.js.map +1 -0
  64. package/dist/models/UpdateKyuubiTokenResponse.d.ts +19 -0
  65. package/dist/models/UpdateKyuubiTokenResponse.js +69 -0
  66. package/dist/models/UpdateKyuubiTokenResponse.js.map +1 -0
  67. package/dist/models/UpdateKyuubiTokenResponseBody.d.ts +18 -0
  68. package/dist/models/UpdateKyuubiTokenResponseBody.js +58 -0
  69. package/dist/models/UpdateKyuubiTokenResponseBody.js.map +1 -0
  70. package/dist/models/model.d.ts +28 -0
  71. package/dist/models/model.js +62 -5
  72. package/dist/models/model.js.map +1 -1
  73. package/package.json +1 -1
  74. package/src/client.ts +375 -0
  75. package/src/models/CreateKyuubiTokenRequest.ts +91 -0
  76. package/src/models/CreateKyuubiTokenResponse.ts +40 -0
  77. package/src/models/CreateKyuubiTokenResponseBody.ts +67 -0
  78. package/src/models/CreateSqlStatementRequest.ts +3 -0
  79. package/src/models/DeleteKyuubiTokenRequest.ts +31 -0
  80. package/src/models/DeleteKyuubiTokenResponse.ts +40 -0
  81. package/src/models/DeleteKyuubiTokenResponseBody.ts +31 -0
  82. package/src/models/GetKyuubiTokenRequest.ts +31 -0
  83. package/src/models/GetKyuubiTokenResponse.ts +40 -0
  84. package/src/models/GetKyuubiTokenResponseBody.ts +155 -0
  85. package/src/models/ListCatalogsRequest.ts +38 -0
  86. package/src/models/ListCatalogsResponse.ts +40 -0
  87. package/src/models/ListCatalogsResponseBody.ts +157 -0
  88. package/src/models/ListJobExecutorsRequest.ts +59 -0
  89. package/src/models/ListJobExecutorsResponse.ts +40 -0
  90. package/src/models/ListJobExecutorsResponseBody.ts +228 -0
  91. package/src/models/ListTemplateRequest.ts +31 -0
  92. package/src/models/ListTemplateResponse.ts +40 -0
  93. package/src/models/ListTemplateResponseBody.ts +66 -0
  94. package/src/models/UpdateKyuubiTokenRequest.ts +91 -0
  95. package/src/models/UpdateKyuubiTokenResponse.ts +40 -0
  96. package/src/models/UpdateKyuubiTokenResponseBody.ts +31 -0
  97. package/src/models/model.ts +28 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteKyuubiTokenResponseBody } from "./DeleteKyuubiTokenResponseBody";
4
+
5
+
6
+ export class DeleteKyuubiTokenResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteKyuubiTokenResponseBody;
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: DeleteKyuubiTokenResponseBody,
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteKyuubiTokenResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'requestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
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,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetKyuubiTokenRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * cn-hangzhou
9
+ */
10
+ regionId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ regionId: 'regionId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ regionId: 'string',
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 { GetKyuubiTokenResponseBody } from "./GetKyuubiTokenResponseBody";
4
+
5
+
6
+ export class GetKyuubiTokenResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetKyuubiTokenResponseBody;
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: GetKyuubiTokenResponseBody,
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,155 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetKyuubiTokenResponseBodyDataAutoExpireConfiguration extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ enable?: boolean;
11
+ /**
12
+ * @example
13
+ * 365
14
+ */
15
+ expireDays?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ enable: 'enable',
19
+ expireDays: 'expireDays',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ enable: 'boolean',
26
+ expireDays: 'number',
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 GetKyuubiTokenResponseBodyData extends $dara.Model {
40
+ autoExpireConfiguration?: GetKyuubiTokenResponseBodyDataAutoExpireConfiguration;
41
+ /**
42
+ * @example
43
+ * 1749456094000
44
+ */
45
+ createTime?: number;
46
+ /**
47
+ * @example
48
+ * admin
49
+ */
50
+ createdBy?: string;
51
+ /**
52
+ * @example
53
+ * 1753932319390
54
+ */
55
+ expireTime?: number;
56
+ /**
57
+ * @example
58
+ * 1749456098000
59
+ */
60
+ lastUsedTime?: number;
61
+ memberArns?: string[];
62
+ /**
63
+ * @example
64
+ * dev_serverless_spark
65
+ */
66
+ name?: string;
67
+ /**
68
+ * @example
69
+ * dxj**********wfg
70
+ */
71
+ token?: string;
72
+ /**
73
+ * @remarks
74
+ * Token ID。
75
+ *
76
+ * @example
77
+ * tk-zpi0*****hdv4y
78
+ */
79
+ tokenId?: string;
80
+ static names(): { [key: string]: string } {
81
+ return {
82
+ autoExpireConfiguration: 'autoExpireConfiguration',
83
+ createTime: 'createTime',
84
+ createdBy: 'createdBy',
85
+ expireTime: 'expireTime',
86
+ lastUsedTime: 'lastUsedTime',
87
+ memberArns: 'memberArns',
88
+ name: 'name',
89
+ token: 'token',
90
+ tokenId: 'tokenId',
91
+ };
92
+ }
93
+
94
+ static types(): { [key: string]: any } {
95
+ return {
96
+ autoExpireConfiguration: GetKyuubiTokenResponseBodyDataAutoExpireConfiguration,
97
+ createTime: 'number',
98
+ createdBy: 'string',
99
+ expireTime: 'number',
100
+ lastUsedTime: 'number',
101
+ memberArns: { 'type': 'array', 'itemType': 'string' },
102
+ name: 'string',
103
+ token: 'string',
104
+ tokenId: 'string',
105
+ };
106
+ }
107
+
108
+ validate() {
109
+ if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
110
+ (this.autoExpireConfiguration as any).validate();
111
+ }
112
+ if(Array.isArray(this.memberArns)) {
113
+ $dara.Model.validateArray(this.memberArns);
114
+ }
115
+ super.validate();
116
+ }
117
+
118
+ constructor(map?: { [key: string]: any }) {
119
+ super(map);
120
+ }
121
+ }
122
+
123
+ export class GetKyuubiTokenResponseBody extends $dara.Model {
124
+ data?: GetKyuubiTokenResponseBodyData;
125
+ /**
126
+ * @example
127
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
128
+ */
129
+ requestId?: string;
130
+ static names(): { [key: string]: string } {
131
+ return {
132
+ data: 'data',
133
+ requestId: 'requestId',
134
+ };
135
+ }
136
+
137
+ static types(): { [key: string]: any } {
138
+ return {
139
+ data: GetKyuubiTokenResponseBodyData,
140
+ requestId: 'string',
141
+ };
142
+ }
143
+
144
+ validate() {
145
+ if(this.data && typeof (this.data as any).validate === 'function') {
146
+ (this.data as any).validate();
147
+ }
148
+ super.validate();
149
+ }
150
+
151
+ constructor(map?: { [key: string]: any }) {
152
+ super(map);
153
+ }
154
+ }
155
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCatalogsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * dev
9
+ */
10
+ environment?: string;
11
+ /**
12
+ * @example
13
+ * cn-hangzhou
14
+ */
15
+ regionId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ environment: 'environment',
19
+ regionId: 'regionId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ environment: 'string',
26
+ regionId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListCatalogsResponseBody } from "./ListCatalogsResponseBody";
4
+
5
+
6
+ export class ListCatalogsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListCatalogsResponseBody;
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: ListCatalogsResponseBody,
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,157 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * regionId。
9
+ *
10
+ * @example
11
+ * 15097**********
12
+ */
13
+ catalogId?: string;
14
+ /**
15
+ * @example
16
+ * HMS
17
+ */
18
+ catalogProvider?: string;
19
+ /**
20
+ * @example
21
+ * default_catalog
22
+ */
23
+ catalogType?: string;
24
+ environments?: string[];
25
+ extras?: { [key: string]: string };
26
+ /**
27
+ * @example
28
+ * 1760604889
29
+ */
30
+ gmtCreate?: number;
31
+ /**
32
+ * @example
33
+ * 1760604889
34
+ */
35
+ gmtModified?: number;
36
+ /**
37
+ * @example
38
+ * 15097**********
39
+ */
40
+ resourceOwnerId?: string;
41
+ /**
42
+ * @remarks
43
+ * 工作空间id。
44
+ *
45
+ * @example
46
+ * w-d2d82aa09155****
47
+ */
48
+ workspaceId?: string;
49
+ static names(): { [key: string]: string } {
50
+ return {
51
+ catalogId: 'catalogId',
52
+ catalogProvider: 'catalogProvider',
53
+ catalogType: 'catalogType',
54
+ environments: 'environments',
55
+ extras: 'extras',
56
+ gmtCreate: 'gmtCreate',
57
+ gmtModified: 'gmtModified',
58
+ resourceOwnerId: 'resourceOwnerId',
59
+ workspaceId: 'workspaceId',
60
+ };
61
+ }
62
+
63
+ static types(): { [key: string]: any } {
64
+ return {
65
+ catalogId: 'string',
66
+ catalogProvider: 'string',
67
+ catalogType: 'string',
68
+ environments: { 'type': 'array', 'itemType': 'string' },
69
+ extras: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
70
+ gmtCreate: 'number',
71
+ gmtModified: 'number',
72
+ resourceOwnerId: 'string',
73
+ workspaceId: 'string',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(Array.isArray(this.environments)) {
79
+ $dara.Model.validateArray(this.environments);
80
+ }
81
+ if(this.extras) {
82
+ $dara.Model.validateMap(this.extras);
83
+ }
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
92
+ export class ListCatalogsResponseBody extends $dara.Model {
93
+ catalogs?: ListCatalogsResponseBodyCatalogs[];
94
+ /**
95
+ * @remarks
96
+ * 一次获取的最大记录数。
97
+ *
98
+ * @example
99
+ * 20
100
+ */
101
+ maxResults?: number;
102
+ /**
103
+ * @remarks
104
+ * 下一页TOKEN。
105
+ *
106
+ * @example
107
+ * 1
108
+ */
109
+ nextToken?: string;
110
+ /**
111
+ * @remarks
112
+ * 请求ID。
113
+ *
114
+ * @example
115
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
116
+ */
117
+ requestId?: string;
118
+ /**
119
+ * @remarks
120
+ * 记录总数。
121
+ *
122
+ * @example
123
+ * 200
124
+ */
125
+ totalCount?: number;
126
+ static names(): { [key: string]: string } {
127
+ return {
128
+ catalogs: 'catalogs',
129
+ maxResults: 'maxResults',
130
+ nextToken: 'nextToken',
131
+ requestId: 'requestId',
132
+ totalCount: 'totalCount',
133
+ };
134
+ }
135
+
136
+ static types(): { [key: string]: any } {
137
+ return {
138
+ catalogs: { 'type': 'array', 'itemType': ListCatalogsResponseBodyCatalogs },
139
+ maxResults: 'number',
140
+ nextToken: 'string',
141
+ requestId: 'string',
142
+ totalCount: 'number',
143
+ };
144
+ }
145
+
146
+ validate() {
147
+ if(Array.isArray(this.catalogs)) {
148
+ $dara.Model.validateArray(this.catalogs);
149
+ }
150
+ super.validate();
151
+ }
152
+
153
+ constructor(map?: { [key: string]: any }) {
154
+ super(map);
155
+ }
156
+ }
157
+
@@ -0,0 +1,59 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListJobExecutorsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * driver
9
+ */
10
+ executorType?: string;
11
+ /**
12
+ * @example
13
+ * 20
14
+ */
15
+ maxResults?: number;
16
+ /**
17
+ * @example
18
+ * 2
19
+ */
20
+ nextToken?: string;
21
+ /**
22
+ * @example
23
+ * cn-hangzhou
24
+ */
25
+ regionId?: string;
26
+ /**
27
+ * @example
28
+ * Dead
29
+ */
30
+ status?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ executorType: 'executorType',
34
+ maxResults: 'maxResults',
35
+ nextToken: 'nextToken',
36
+ regionId: 'regionId',
37
+ status: 'status',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ executorType: 'string',
44
+ maxResults: 'number',
45
+ nextToken: 'string',
46
+ regionId: 'string',
47
+ status: 'string',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListJobExecutorsResponseBody } from "./ListJobExecutorsResponseBody";
4
+
5
+
6
+ export class ListJobExecutorsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListJobExecutorsResponseBody;
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: ListJobExecutorsResponseBody,
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
+