@alicloud/gpdb20160503 3.2.2 → 3.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.
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifySupabaseAutoScalePolicyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * false
12
+ */
13
+ autoScale?: boolean;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * sbp-tyarplz****
20
+ */
21
+ projectId?: string;
22
+ /**
23
+ * @example
24
+ * cn-beijing
25
+ */
26
+ regionId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ autoScale: 'AutoScale',
30
+ projectId: 'ProjectId',
31
+ regionId: 'RegionId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ autoScale: 'boolean',
38
+ projectId: 'string',
39
+ regionId: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ModifySupabaseAutoScalePolicyResponseBody } from "./ModifySupabaseAutoScalePolicyResponseBody";
4
+
5
+
6
+ export class ModifySupabaseAutoScalePolicyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ModifySupabaseAutoScalePolicyResponseBody;
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: ModifySupabaseAutoScalePolicyResponseBody,
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 ModifySupabaseAutoScalePolicyResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 07F6177E-6DE4-408A-BB4F-0723301340F3
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
+
@@ -903,6 +903,9 @@ export { ModifyStreamingJobRequest } from './ModifyStreamingJobRequest';
903
903
  export { ModifyStreamingJobShrinkRequest } from './ModifyStreamingJobShrinkRequest';
904
904
  export { ModifyStreamingJobResponseBody } from './ModifyStreamingJobResponseBody';
905
905
  export { ModifyStreamingJobResponse } from './ModifyStreamingJobResponse';
906
+ export { ModifySupabaseAutoScalePolicyRequest } from './ModifySupabaseAutoScalePolicyRequest';
907
+ export { ModifySupabaseAutoScalePolicyResponseBody } from './ModifySupabaseAutoScalePolicyResponseBody';
908
+ export { ModifySupabaseAutoScalePolicyResponse } from './ModifySupabaseAutoScalePolicyResponse';
906
909
  export { ModifySupabaseProjectSecurityIpsRequest } from './ModifySupabaseProjectSecurityIpsRequest';
907
910
  export { ModifySupabaseProjectSecurityIpsResponseBody } from './ModifySupabaseProjectSecurityIpsResponseBody';
908
911
  export { ModifySupabaseProjectSecurityIpsResponse } from './ModifySupabaseProjectSecurityIpsResponse';