@alicloud/gpdb20160503 3.6.0 → 3.7.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 (122) hide show
  1. package/dist/client.d.ts +191 -2
  2. package/dist/client.js +518 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBranchRequest.d.ts +150 -0
  5. package/dist/models/CreateBranchRequest.js +104 -0
  6. package/dist/models/CreateBranchRequest.js.map +1 -0
  7. package/dist/models/CreateBranchResponse.d.ts +19 -0
  8. package/dist/models/CreateBranchResponse.js +69 -0
  9. package/dist/models/CreateBranchResponse.js.map +1 -0
  10. package/dist/models/CreateBranchResponseBody.d.ts +37 -0
  11. package/dist/models/CreateBranchResponseBody.js +62 -0
  12. package/dist/models/CreateBranchResponseBody.js.map +1 -0
  13. package/dist/models/CreateSnapshotRequest.d.ts +55 -0
  14. package/dist/models/CreateSnapshotRequest.js +66 -0
  15. package/dist/models/CreateSnapshotRequest.js.map +1 -0
  16. package/dist/models/CreateSnapshotResponse.d.ts +19 -0
  17. package/dist/models/CreateSnapshotResponse.js +69 -0
  18. package/dist/models/CreateSnapshotResponse.js.map +1 -0
  19. package/dist/models/CreateSnapshotResponseBody.d.ts +45 -0
  20. package/dist/models/CreateSnapshotResponseBody.js +64 -0
  21. package/dist/models/CreateSnapshotResponseBody.js.map +1 -0
  22. package/dist/models/CreateSupabaseProjectRequest.d.ts +62 -48
  23. package/dist/models/CreateSupabaseProjectRequest.js.map +1 -1
  24. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +4 -4
  25. package/dist/models/DeleteBranchRequest.d.ts +31 -0
  26. package/dist/models/DeleteBranchRequest.js +60 -0
  27. package/dist/models/DeleteBranchRequest.js.map +1 -0
  28. package/dist/models/DeleteBranchResponse.d.ts +19 -0
  29. package/dist/models/DeleteBranchResponse.js +69 -0
  30. package/dist/models/DeleteBranchResponse.js.map +1 -0
  31. package/dist/models/DeleteBranchResponseBody.d.ts +21 -0
  32. package/dist/models/DeleteBranchResponseBody.js +58 -0
  33. package/dist/models/DeleteBranchResponseBody.js.map +1 -0
  34. package/dist/models/DeleteSnapshotRequest.d.ts +34 -0
  35. package/dist/models/DeleteSnapshotRequest.js +62 -0
  36. package/dist/models/DeleteSnapshotRequest.js.map +1 -0
  37. package/dist/models/DeleteSnapshotResponse.d.ts +19 -0
  38. package/dist/models/DeleteSnapshotResponse.js +69 -0
  39. package/dist/models/DeleteSnapshotResponse.js.map +1 -0
  40. package/dist/models/DeleteSnapshotResponseBody.d.ts +18 -0
  41. package/dist/models/DeleteSnapshotResponseBody.js +58 -0
  42. package/dist/models/DeleteSnapshotResponseBody.js.map +1 -0
  43. package/dist/models/DescribeBranchRequest.d.ts +31 -0
  44. package/dist/models/DescribeBranchRequest.js +60 -0
  45. package/dist/models/DescribeBranchRequest.js.map +1 -0
  46. package/dist/models/DescribeBranchResponse.d.ts +19 -0
  47. package/dist/models/DescribeBranchResponse.js +69 -0
  48. package/dist/models/DescribeBranchResponse.js.map +1 -0
  49. package/dist/models/DescribeBranchResponseBody.d.ts +211 -0
  50. package/dist/models/DescribeBranchResponseBody.js +138 -0
  51. package/dist/models/DescribeBranchResponseBody.js.map +1 -0
  52. package/dist/models/GetBranchSchemaRequest.d.ts +51 -0
  53. package/dist/models/GetBranchSchemaRequest.js +64 -0
  54. package/dist/models/GetBranchSchemaRequest.js.map +1 -0
  55. package/dist/models/GetBranchSchemaResponse.d.ts +19 -0
  56. package/dist/models/GetBranchSchemaResponse.js +69 -0
  57. package/dist/models/GetBranchSchemaResponse.js.map +1 -0
  58. package/dist/models/GetBranchSchemaResponseBody.d.ts +29 -0
  59. package/dist/models/GetBranchSchemaResponseBody.js +60 -0
  60. package/dist/models/GetBranchSchemaResponseBody.js.map +1 -0
  61. package/dist/models/ListBranchesRequest.d.ts +106 -0
  62. package/dist/models/ListBranchesRequest.js +74 -0
  63. package/dist/models/ListBranchesRequest.js.map +1 -0
  64. package/dist/models/ListBranchesResponse.d.ts +19 -0
  65. package/dist/models/ListBranchesResponse.js +69 -0
  66. package/dist/models/ListBranchesResponse.js.map +1 -0
  67. package/dist/models/ListBranchesResponseBody.d.ts +138 -0
  68. package/dist/models/ListBranchesResponseBody.js +190 -0
  69. package/dist/models/ListBranchesResponseBody.js.map +1 -0
  70. package/dist/models/RestartSupabaseProjectRequest.d.ts +31 -0
  71. package/dist/models/RestartSupabaseProjectRequest.js +60 -0
  72. package/dist/models/RestartSupabaseProjectRequest.js.map +1 -0
  73. package/dist/models/RestartSupabaseProjectResponse.d.ts +19 -0
  74. package/dist/models/RestartSupabaseProjectResponse.js +69 -0
  75. package/dist/models/RestartSupabaseProjectResponse.js.map +1 -0
  76. package/dist/models/RestartSupabaseProjectResponseBody.d.ts +21 -0
  77. package/dist/models/RestartSupabaseProjectResponseBody.js +58 -0
  78. package/dist/models/RestartSupabaseProjectResponseBody.js.map +1 -0
  79. package/dist/models/RestoreSnapshotRequest.d.ts +73 -0
  80. package/dist/models/RestoreSnapshotRequest.js +70 -0
  81. package/dist/models/RestoreSnapshotRequest.js.map +1 -0
  82. package/dist/models/RestoreSnapshotResponse.d.ts +19 -0
  83. package/dist/models/RestoreSnapshotResponse.js +69 -0
  84. package/dist/models/RestoreSnapshotResponse.js.map +1 -0
  85. package/dist/models/RestoreSnapshotResponseBody.d.ts +37 -0
  86. package/dist/models/RestoreSnapshotResponseBody.js +62 -0
  87. package/dist/models/RestoreSnapshotResponseBody.js.map +1 -0
  88. package/dist/models/model.d.ts +34 -0
  89. package/dist/models/model.js +91 -22
  90. package/dist/models/model.js.map +1 -1
  91. package/package.json +1 -1
  92. package/src/client.ts +582 -2
  93. package/src/models/CreateBranchRequest.ts +200 -0
  94. package/src/models/CreateBranchResponse.ts +40 -0
  95. package/src/models/CreateBranchResponseBody.ts +54 -0
  96. package/src/models/CreateSnapshotRequest.ts +76 -0
  97. package/src/models/CreateSnapshotResponse.ts +40 -0
  98. package/src/models/CreateSnapshotResponseBody.ts +64 -0
  99. package/src/models/CreateSupabaseProjectRequest.ts +62 -48
  100. package/src/models/CreateSupabaseProjectResponseBody.ts +4 -4
  101. package/src/models/DeleteBranchRequest.ts +46 -0
  102. package/src/models/DeleteBranchResponse.ts +40 -0
  103. package/src/models/DeleteBranchResponseBody.ts +34 -0
  104. package/src/models/DeleteSnapshotRequest.ts +51 -0
  105. package/src/models/DeleteSnapshotResponse.ts +40 -0
  106. package/src/models/DeleteSnapshotResponseBody.ts +31 -0
  107. package/src/models/DescribeBranchRequest.ts +46 -0
  108. package/src/models/DescribeBranchResponse.ts +40 -0
  109. package/src/models/DescribeBranchResponseBody.ts +286 -0
  110. package/src/models/GetBranchSchemaRequest.ts +70 -0
  111. package/src/models/GetBranchSchemaResponse.ts +40 -0
  112. package/src/models/GetBranchSchemaResponseBody.ts +44 -0
  113. package/src/models/ListBranchesRequest.ts +135 -0
  114. package/src/models/ListBranchesResponse.ts +40 -0
  115. package/src/models/ListBranchesResponseBody.ts +247 -0
  116. package/src/models/RestartSupabaseProjectRequest.ts +46 -0
  117. package/src/models/RestartSupabaseProjectResponse.ts +40 -0
  118. package/src/models/RestartSupabaseProjectResponseBody.ts +34 -0
  119. package/src/models/RestoreSnapshotRequest.ts +98 -0
  120. package/src/models/RestoreSnapshotResponse.ts +40 -0
  121. package/src/models/RestoreSnapshotResponseBody.ts +54 -0
  122. package/src/models/model.ts +34 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSupabaseProjectResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The order ID.
8
+ * The ID of the associated order.
9
9
  *
10
10
  * @example
11
11
  * 278880417310796
@@ -13,10 +13,10 @@ export class CreateSupabaseProjectResponseBody extends $dara.Model {
13
13
  orderId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The Supabase instance ID.
16
+ * The instance ID of the Supabase project.
17
17
  *
18
18
  * @example
19
- * sbp-180****
19
+ * spb-xxxx
20
20
  */
21
21
  projectId?: string;
22
22
  /**
@@ -24,7 +24,7 @@ export class CreateSupabaseProjectResponseBody extends $dara.Model {
24
24
  * The request ID.
25
25
  *
26
26
  * @example
27
- * ABB39CC3-4488-4857-905D-2E4A051D****
27
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
28
28
  */
29
29
  requestId?: string;
30
30
  static names(): { [key: string]: string } {
@@ -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 DeleteBranchRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The branch ID that uniquely identifies a Supabase branch.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * br-xxxx
14
+ */
15
+ branchId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region is inherited from the primary branch by default.
19
+ *
20
+ * @example
21
+ * cn-beijing
22
+ */
23
+ regionId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ branchId: 'BranchId',
27
+ regionId: 'RegionId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ branchId: 'string',
34
+ regionId: '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 { DeleteBranchResponseBody } from "./DeleteBranchResponseBody";
4
+
5
+
6
+ export class DeleteBranchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteBranchResponseBody;
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: DeleteBranchResponseBody,
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 DeleteBranchResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * ABB39CC3-4488-4857-905D-2E4A051D****
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,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteSnapshotRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * 0/3522648
12
+ */
13
+ lsn?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * spb-xxxx
20
+ */
21
+ projectId?: string;
22
+ /**
23
+ * @example
24
+ * cn-hangzhou
25
+ */
26
+ regionId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ lsn: 'Lsn',
30
+ projectId: 'ProjectId',
31
+ regionId: 'RegionId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ lsn: 'string',
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 { DeleteSnapshotResponseBody } from "./DeleteSnapshotResponseBody";
4
+
5
+
6
+ export class DeleteSnapshotResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteSnapshotResponseBody;
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: DeleteSnapshotResponseBody,
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 DeleteSnapshotResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * B4CAF581-2AC7-41AD-8940-D56DF7AADF5B
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,46 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeBranchRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The branch ID, which uniquely identifies a Supabase branch.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * br-xxxx
14
+ */
15
+ branchId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID. This parameter is required when you create a primary branch. When you create a child branch, the region of the primary branch is inherited by default.
19
+ *
20
+ * @example
21
+ * cn-beijing
22
+ */
23
+ regionId?: string;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ branchId: 'BranchId',
27
+ regionId: 'RegionId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ branchId: 'string',
34
+ regionId: '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 { DescribeBranchResponseBody } from "./DescribeBranchResponseBody";
4
+
5
+
6
+ export class DescribeBranchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeBranchResponseBody;
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: DescribeBranchResponseBody,
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,286 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeBranchResponseBodyBranchTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * @example
11
+ * env
12
+ */
13
+ key?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value.
17
+ *
18
+ * @example
19
+ * dev
20
+ */
21
+ value?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ key: 'Key',
25
+ value: 'Value',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ key: 'string',
32
+ value: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class DescribeBranchResponseBodyBranch extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The branch ID, which uniquely identifies a Supabase branch.
49
+ *
50
+ * @example
51
+ * br-xxxx
52
+ */
53
+ branchId?: string;
54
+ /**
55
+ * @remarks
56
+ * The branch name.
57
+ *
58
+ * @example
59
+ * dev
60
+ */
61
+ branchName?: string;
62
+ /**
63
+ * @remarks
64
+ * The connection information of the compute node associated with the branch.
65
+ *
66
+ * @example
67
+ * postgresql://user:password@host:5432/db
68
+ */
69
+ computeEndpoint?: string;
70
+ /**
71
+ * @remarks
72
+ * The time when the branch was created, in ISO 8601 UTC format.
73
+ *
74
+ * @example
75
+ * 2026-04-08T09:11:12Z
76
+ */
77
+ createTime?: string;
78
+ /**
79
+ * @remarks
80
+ * The branch description.
81
+ *
82
+ * @example
83
+ * test branch
84
+ */
85
+ description?: string;
86
+ /**
87
+ * @remarks
88
+ * The time when the branch expires and is automatically deleted, in ISO 8601 UTC format.
89
+ *
90
+ * @example
91
+ * 2026-10-08T09:11:12Z
92
+ */
93
+ expiresAt?: string;
94
+ /**
95
+ * @remarks
96
+ * The initialization source of the branch.
97
+ *
98
+ * Valid values:
99
+ * - ParentData: Copies the schema and data from the parent branch. This is the default value.
100
+ * - SchemaOnly: Copies only the schema structure.
101
+ *
102
+ * @example
103
+ * ParentData
104
+ */
105
+ initSource?: string;
106
+ /**
107
+ * @remarks
108
+ * Indicates whether this is the default branch.
109
+ *
110
+ * @example
111
+ * true
112
+ */
113
+ isDefault?: boolean;
114
+ /**
115
+ * @remarks
116
+ * The parent branch ID, which specifies the parent branch of a new branch or a query condition.
117
+ *
118
+ * @example
119
+ * br-main
120
+ */
121
+ parentBranchId?: string;
122
+ /**
123
+ * @remarks
124
+ * The parent branch name. This value is empty or displayed as - for the primary branch.
125
+ *
126
+ * @example
127
+ * main
128
+ */
129
+ parentBranchName?: string;
130
+ /**
131
+ * @remarks
132
+ * The Log Sequence Number (LSN) of the parent branch at the time this branch was created.
133
+ *
134
+ * @example
135
+ * 0/3522648
136
+ */
137
+ parentLSN?: string;
138
+ /**
139
+ * @remarks
140
+ * The data synchronization point in time selected from the parent branch when this branch was created, in ISO 8601 UTC format.
141
+ *
142
+ * Note:
143
+ * - For child branches, this value indicates the point in time of the parent branch selected during creation.
144
+ * - If no parent branch exists, the value 1970-01-01T00:00:00.000Z is returned.
145
+ *
146
+ * @example
147
+ * 2026-04-08T09:11:12Z
148
+ */
149
+ parentTimestamp?: string;
150
+ /**
151
+ * @remarks
152
+ * The Supabase project ID that corresponds to the primary branch.
153
+ *
154
+ * @example
155
+ * spb-xxxx
156
+ */
157
+ projectId?: string;
158
+ /**
159
+ * @remarks
160
+ * Indicates whether branch protection is enabled. A value of true indicates that branch protection is enabled. A value of false indicates that branch protection is disabled.
161
+ *
162
+ * @example
163
+ * false
164
+ */
165
+ protected?: boolean;
166
+ /**
167
+ * @remarks
168
+ * The service type.
169
+ *
170
+ * Valid values:
171
+ * - Supabase: Supabase service.
172
+ * - Memory: Memory service.
173
+ *
174
+ * @example
175
+ * Supabase
176
+ */
177
+ serviceType?: string;
178
+ /**
179
+ * @remarks
180
+ * The branch status.
181
+ *
182
+ * @example
183
+ * Running
184
+ */
185
+ status?: string;
186
+ /**
187
+ * @remarks
188
+ * The list of branch tags.
189
+ */
190
+ tags?: DescribeBranchResponseBodyBranchTags[];
191
+ static names(): { [key: string]: string } {
192
+ return {
193
+ branchId: 'BranchId',
194
+ branchName: 'BranchName',
195
+ computeEndpoint: 'ComputeEndpoint',
196
+ createTime: 'CreateTime',
197
+ description: 'Description',
198
+ expiresAt: 'ExpiresAt',
199
+ initSource: 'InitSource',
200
+ isDefault: 'IsDefault',
201
+ parentBranchId: 'ParentBranchId',
202
+ parentBranchName: 'ParentBranchName',
203
+ parentLSN: 'ParentLSN',
204
+ parentTimestamp: 'ParentTimestamp',
205
+ projectId: 'ProjectId',
206
+ protected: 'Protected',
207
+ serviceType: 'ServiceType',
208
+ status: 'Status',
209
+ tags: 'Tags',
210
+ };
211
+ }
212
+
213
+ static types(): { [key: string]: any } {
214
+ return {
215
+ branchId: 'string',
216
+ branchName: 'string',
217
+ computeEndpoint: 'string',
218
+ createTime: 'string',
219
+ description: 'string',
220
+ expiresAt: 'string',
221
+ initSource: 'string',
222
+ isDefault: 'boolean',
223
+ parentBranchId: 'string',
224
+ parentBranchName: 'string',
225
+ parentLSN: 'string',
226
+ parentTimestamp: 'string',
227
+ projectId: 'string',
228
+ protected: 'boolean',
229
+ serviceType: 'string',
230
+ status: 'string',
231
+ tags: { 'type': 'array', 'itemType': DescribeBranchResponseBodyBranchTags },
232
+ };
233
+ }
234
+
235
+ validate() {
236
+ if(Array.isArray(this.tags)) {
237
+ $dara.Model.validateArray(this.tags);
238
+ }
239
+ super.validate();
240
+ }
241
+
242
+ constructor(map?: { [key: string]: any }) {
243
+ super(map);
244
+ }
245
+ }
246
+
247
+ export class DescribeBranchResponseBody extends $dara.Model {
248
+ /**
249
+ * @remarks
250
+ * The branch list. Each element represents a Supabase branch.
251
+ */
252
+ branch?: DescribeBranchResponseBodyBranch;
253
+ /**
254
+ * @remarks
255
+ * The request ID.
256
+ *
257
+ * @example
258
+ * ABB39CC3-4488-4857-905D-2E4A051D****
259
+ */
260
+ requestId?: string;
261
+ static names(): { [key: string]: string } {
262
+ return {
263
+ branch: 'Branch',
264
+ requestId: 'RequestId',
265
+ };
266
+ }
267
+
268
+ static types(): { [key: string]: any } {
269
+ return {
270
+ branch: DescribeBranchResponseBodyBranch,
271
+ requestId: 'string',
272
+ };
273
+ }
274
+
275
+ validate() {
276
+ if(this.branch && typeof (this.branch as any).validate === 'function') {
277
+ (this.branch as any).validate();
278
+ }
279
+ super.validate();
280
+ }
281
+
282
+ constructor(map?: { [key: string]: any }) {
283
+ super(map);
284
+ }
285
+ }
286
+