@alicloud/dianjin20240628 1.16.1 → 1.17.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.
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DashscopeAsyncTaskFinishEventResponseBody } from "./DashscopeAsyncTaskFinishEventResponseBody";
4
+
5
+
6
+ export class DashscopeAsyncTaskFinishEventResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DashscopeAsyncTaskFinishEventResponseBody;
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: DashscopeAsyncTaskFinishEventResponseBody,
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,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DashscopeAsyncTaskFinishEventResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 0
9
+ */
10
+ code?: string;
11
+ /**
12
+ * @example
13
+ * 成功
14
+ */
15
+ message?: string;
16
+ retryAble?: boolean;
17
+ success?: boolean;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ code: 'code',
21
+ message: 'message',
22
+ retryAble: 'retryAble',
23
+ success: 'success',
24
+ };
25
+ }
26
+
27
+ static types(): { [key: string]: any } {
28
+ return {
29
+ code: 'string',
30
+ message: 'string',
31
+ retryAble: 'boolean',
32
+ success: 'boolean',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -177,6 +177,10 @@ export { CreateVideoCreationTaskHeaders } from './CreateVideoCreationTaskHeaders
177
177
  export { CreateVideoCreationTaskRequest } from './CreateVideoCreationTaskRequest';
178
178
  export { CreateVideoCreationTaskResponseBody } from './CreateVideoCreationTaskResponseBody';
179
179
  export { CreateVideoCreationTaskResponse } from './CreateVideoCreationTaskResponse';
180
+ export { DashscopeAsyncTaskFinishEventHeaders } from './DashscopeAsyncTaskFinishEventHeaders';
181
+ export { DashscopeAsyncTaskFinishEventRequest } from './DashscopeAsyncTaskFinishEventRequest';
182
+ export { DashscopeAsyncTaskFinishEventResponseBody } from './DashscopeAsyncTaskFinishEventResponseBody';
183
+ export { DashscopeAsyncTaskFinishEventResponse } from './DashscopeAsyncTaskFinishEventResponse';
180
184
  export { DeleteDocumentRequest } from './DeleteDocumentRequest';
181
185
  export { DeleteDocumentResponseBody } from './DeleteDocumentResponseBody';
182
186
  export { DeleteDocumentResponse } from './DeleteDocumentResponse';