@alicloud/oos20190601 3.5.3 → 3.6.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 (157) hide show
  1. package/dist/client.d.ts +150 -0
  2. package/dist/client.js +585 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckGitRepoFileExistsRequest.d.ts +70 -0
  5. package/dist/models/CheckGitRepoFileExistsRequest.js +74 -0
  6. package/dist/models/CheckGitRepoFileExistsRequest.js.map +1 -0
  7. package/dist/models/CheckGitRepoFileExistsResponse.d.ts +19 -0
  8. package/dist/models/CheckGitRepoFileExistsResponse.js +69 -0
  9. package/dist/models/CheckGitRepoFileExistsResponse.js.map +1 -0
  10. package/dist/models/CheckGitRepoFileExistsResponseBody.d.ts +23 -0
  11. package/dist/models/CheckGitRepoFileExistsResponseBody.js +60 -0
  12. package/dist/models/CheckGitRepoFileExistsResponseBody.js.map +1 -0
  13. package/dist/models/CheckGitRepositoryExistsRequest.d.ts +57 -0
  14. package/dist/models/CheckGitRepositoryExistsRequest.js +70 -0
  15. package/dist/models/CheckGitRepositoryExistsRequest.js.map +1 -0
  16. package/dist/models/CheckGitRepositoryExistsResponse.d.ts +19 -0
  17. package/dist/models/CheckGitRepositoryExistsResponse.js +69 -0
  18. package/dist/models/CheckGitRepositoryExistsResponse.js.map +1 -0
  19. package/dist/models/CheckGitRepositoryExistsResponseBody.d.ts +23 -0
  20. package/dist/models/CheckGitRepositoryExistsResponseBody.js +60 -0
  21. package/dist/models/CheckGitRepositoryExistsResponseBody.js.map +1 -0
  22. package/dist/models/CreateGitRepositoryRequest.d.ts +74 -0
  23. package/dist/models/CreateGitRepositoryRequest.js +78 -0
  24. package/dist/models/CreateGitRepositoryRequest.js.map +1 -0
  25. package/dist/models/CreateGitRepositoryResponse.d.ts +19 -0
  26. package/dist/models/CreateGitRepositoryResponse.js +69 -0
  27. package/dist/models/CreateGitRepositoryResponse.js.map +1 -0
  28. package/dist/models/CreateGitRepositoryResponseBody.d.ts +51 -0
  29. package/dist/models/CreateGitRepositoryResponseBody.js +88 -0
  30. package/dist/models/CreateGitRepositoryResponseBody.js.map +1 -0
  31. package/dist/models/DeployApplicationGroupRequest.d.ts +1 -0
  32. package/dist/models/DeployApplicationGroupRequest.js +2 -0
  33. package/dist/models/DeployApplicationGroupRequest.js.map +1 -1
  34. package/dist/models/GetApplicationGroupResponseBody.d.ts +1 -0
  35. package/dist/models/GetApplicationGroupResponseBody.js +2 -0
  36. package/dist/models/GetApplicationGroupResponseBody.js.map +1 -1
  37. package/dist/models/GetGitBranchRequest.d.ts +57 -0
  38. package/dist/models/GetGitBranchRequest.js +70 -0
  39. package/dist/models/GetGitBranchRequest.js.map +1 -0
  40. package/dist/models/GetGitBranchResponse.d.ts +19 -0
  41. package/dist/models/GetGitBranchResponse.js +69 -0
  42. package/dist/models/GetGitBranchResponse.js.map +1 -0
  43. package/dist/models/GetGitBranchResponseBody.d.ts +47 -0
  44. package/dist/models/GetGitBranchResponseBody.js +84 -0
  45. package/dist/models/GetGitBranchResponseBody.js.map +1 -0
  46. package/dist/models/GetGitRepositoryRequest.d.ts +49 -0
  47. package/dist/models/GetGitRepositoryRequest.js +68 -0
  48. package/dist/models/GetGitRepositoryRequest.js.map +1 -0
  49. package/dist/models/GetGitRepositoryResponse.d.ts +19 -0
  50. package/dist/models/GetGitRepositoryResponse.js +69 -0
  51. package/dist/models/GetGitRepositoryResponse.js.map +1 -0
  52. package/dist/models/GetGitRepositoryResponseBody.d.ts +33 -0
  53. package/dist/models/GetGitRepositoryResponseBody.js +64 -0
  54. package/dist/models/GetGitRepositoryResponseBody.js.map +1 -0
  55. package/dist/models/GetTemplateResponseBody.d.ts +1 -0
  56. package/dist/models/GetTemplateResponseBody.js +2 -0
  57. package/dist/models/GetTemplateResponseBody.js.map +1 -1
  58. package/dist/models/ListApplicationGroupsResponseBody.d.ts +1 -0
  59. package/dist/models/ListApplicationGroupsResponseBody.js +2 -0
  60. package/dist/models/ListApplicationGroupsResponseBody.js.map +1 -1
  61. package/dist/models/ListGitAccountsRequest.d.ts +36 -0
  62. package/dist/models/ListGitAccountsRequest.js +64 -0
  63. package/dist/models/ListGitAccountsRequest.js.map +1 -0
  64. package/dist/models/ListGitAccountsResponse.d.ts +19 -0
  65. package/dist/models/ListGitAccountsResponse.js +69 -0
  66. package/dist/models/ListGitAccountsResponse.js.map +1 -0
  67. package/dist/models/ListGitAccountsResponseBody.d.ts +46 -0
  68. package/dist/models/ListGitAccountsResponseBody.js +86 -0
  69. package/dist/models/ListGitAccountsResponseBody.js.map +1 -0
  70. package/dist/models/ListGitBranchesRequest.d.ts +57 -0
  71. package/dist/models/ListGitBranchesRequest.js +70 -0
  72. package/dist/models/ListGitBranchesRequest.js.map +1 -0
  73. package/dist/models/ListGitBranchesResponse.d.ts +19 -0
  74. package/dist/models/ListGitBranchesResponse.js +69 -0
  75. package/dist/models/ListGitBranchesResponse.js.map +1 -0
  76. package/dist/models/ListGitBranchesResponseBody.d.ts +41 -0
  77. package/dist/models/ListGitBranchesResponseBody.js +84 -0
  78. package/dist/models/ListGitBranchesResponseBody.js.map +1 -0
  79. package/dist/models/ListGitOrganizationsRequest.d.ts +39 -0
  80. package/dist/models/ListGitOrganizationsRequest.js +64 -0
  81. package/dist/models/ListGitOrganizationsRequest.js.map +1 -0
  82. package/dist/models/ListGitOrganizationsResponse.d.ts +19 -0
  83. package/dist/models/ListGitOrganizationsResponse.js +69 -0
  84. package/dist/models/ListGitOrganizationsResponse.js.map +1 -0
  85. package/dist/models/ListGitOrganizationsResponseBody.d.ts +46 -0
  86. package/dist/models/ListGitOrganizationsResponseBody.js +86 -0
  87. package/dist/models/ListGitOrganizationsResponseBody.js.map +1 -0
  88. package/dist/models/ListGitRepositoriesRequest.d.ts +59 -0
  89. package/dist/models/ListGitRepositoriesRequest.js +72 -0
  90. package/dist/models/ListGitRepositoriesRequest.js.map +1 -0
  91. package/dist/models/ListGitRepositoriesResponse.d.ts +19 -0
  92. package/dist/models/ListGitRepositoriesResponse.js +69 -0
  93. package/dist/models/ListGitRepositoriesResponse.js.map +1 -0
  94. package/dist/models/ListGitRepositoriesResponseBody.d.ts +61 -0
  95. package/dist/models/ListGitRepositoriesResponseBody.js +92 -0
  96. package/dist/models/ListGitRepositoriesResponseBody.js.map +1 -0
  97. package/dist/models/ListGitRepositoryContentsRequest.d.ts +69 -0
  98. package/dist/models/ListGitRepositoryContentsRequest.js +76 -0
  99. package/dist/models/ListGitRepositoryContentsRequest.js.map +1 -0
  100. package/dist/models/ListGitRepositoryContentsResponse.d.ts +19 -0
  101. package/dist/models/ListGitRepositoryContentsResponse.js +69 -0
  102. package/dist/models/ListGitRepositoryContentsResponse.js.map +1 -0
  103. package/dist/models/ListGitRepositoryContentsResponseBody.d.ts +56 -0
  104. package/dist/models/ListGitRepositoryContentsResponseBody.js +90 -0
  105. package/dist/models/ListGitRepositoryContentsResponseBody.js.map +1 -0
  106. package/dist/models/ListInstancePackageStatesResponseBody.d.ts +1 -0
  107. package/dist/models/ListInstancePackageStatesResponseBody.js +2 -0
  108. package/dist/models/ListInstancePackageStatesResponseBody.js.map +1 -1
  109. package/dist/models/UpdateInstancePackageStateRequest.d.ts +1 -0
  110. package/dist/models/UpdateInstancePackageStateRequest.js +2 -0
  111. package/dist/models/UpdateInstancePackageStateRequest.js.map +1 -1
  112. package/dist/models/UpdateInstancePackageStateShrinkRequest.d.ts +1 -0
  113. package/dist/models/UpdateInstancePackageStateShrinkRequest.js +2 -0
  114. package/dist/models/UpdateInstancePackageStateShrinkRequest.js.map +1 -1
  115. package/dist/models/model.d.ts +37 -0
  116. package/dist/models/model.js +82 -8
  117. package/dist/models/model.js.map +1 -1
  118. package/package.json +1 -1
  119. package/src/client.ts +906 -226
  120. package/src/models/CheckGitRepoFileExistsRequest.ts +99 -0
  121. package/src/models/CheckGitRepoFileExistsResponse.ts +40 -0
  122. package/src/models/CheckGitRepoFileExistsResponseBody.ts +38 -0
  123. package/src/models/CheckGitRepositoryExistsRequest.ts +82 -0
  124. package/src/models/CheckGitRepositoryExistsResponse.ts +40 -0
  125. package/src/models/CheckGitRepositoryExistsResponseBody.ts +38 -0
  126. package/src/models/CreateGitRepositoryRequest.ts +107 -0
  127. package/src/models/CreateGitRepositoryResponse.ts +40 -0
  128. package/src/models/CreateGitRepositoryResponseBody.ts +85 -0
  129. package/src/models/DeployApplicationGroupRequest.ts +3 -0
  130. package/src/models/GetApplicationGroupResponseBody.ts +3 -0
  131. package/src/models/GetGitBranchRequest.ts +82 -0
  132. package/src/models/GetGitBranchResponse.ts +40 -0
  133. package/src/models/GetGitBranchResponseBody.ts +77 -0
  134. package/src/models/GetGitRepositoryRequest.ts +72 -0
  135. package/src/models/GetGitRepositoryResponse.ts +40 -0
  136. package/src/models/GetGitRepositoryResponseBody.ts +52 -0
  137. package/src/models/GetTemplateResponseBody.ts +3 -0
  138. package/src/models/ListApplicationGroupsResponseBody.ts +3 -0
  139. package/src/models/ListGitAccountsRequest.ts +55 -0
  140. package/src/models/ListGitAccountsResponse.ts +40 -0
  141. package/src/models/ListGitAccountsResponseBody.ts +78 -0
  142. package/src/models/ListGitBranchesRequest.ts +82 -0
  143. package/src/models/ListGitBranchesResponse.ts +40 -0
  144. package/src/models/ListGitBranchesResponseBody.ts +71 -0
  145. package/src/models/ListGitOrganizationsRequest.ts +58 -0
  146. package/src/models/ListGitOrganizationsResponse.ts +40 -0
  147. package/src/models/ListGitOrganizationsResponseBody.ts +78 -0
  148. package/src/models/ListGitRepositoriesRequest.ts +86 -0
  149. package/src/models/ListGitRepositoriesResponse.ts +40 -0
  150. package/src/models/ListGitRepositoriesResponseBody.ts +99 -0
  151. package/src/models/ListGitRepositoryContentsRequest.ts +100 -0
  152. package/src/models/ListGitRepositoryContentsResponse.ts +40 -0
  153. package/src/models/ListGitRepositoryContentsResponseBody.ts +92 -0
  154. package/src/models/ListInstancePackageStatesResponseBody.ts +3 -0
  155. package/src/models/UpdateInstancePackageStateRequest.ts +3 -0
  156. package/src/models/UpdateInstancePackageStateShrinkRequest.ts +3 -0
  157. package/src/models/model.ts +37 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetGitBranchResponseBody } from "./GetGitBranchResponseBody";
4
+
5
+
6
+ export class GetGitBranchResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetGitBranchResponseBody;
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: GetGitBranchResponseBody,
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,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetGitBranchResponseBodyCommit extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * git commit message
9
+ *
10
+ * @example
11
+ * OK
12
+ */
13
+ message?: string;
14
+ /**
15
+ * @remarks
16
+ * git commit hash
17
+ *
18
+ * @example
19
+ * 51417755
20
+ */
21
+ sha?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ message: 'Message',
25
+ sha: 'Sha',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ message: 'string',
32
+ sha: '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 GetGitBranchResponseBody extends $dara.Model {
46
+ commit?: GetGitBranchResponseBodyCommit;
47
+ /**
48
+ * @example
49
+ * AA9FA778-AE4B-55EC-81CC-C46BAF08A166
50
+ */
51
+ requestId?: string;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ commit: 'Commit',
55
+ requestId: 'RequestId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ commit: GetGitBranchResponseBodyCommit,
62
+ requestId: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(this.commit && typeof (this.commit as any).validate === 'function') {
68
+ (this.commit as any).validate();
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,72 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetGitRepositoryRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 5e9ee15af89c9700014a558a
9
+ */
10
+ orgId?: string;
11
+ /**
12
+ * @example
13
+ * testowner
14
+ */
15
+ owner?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * github
22
+ */
23
+ platform?: string;
24
+ /**
25
+ * @example
26
+ * cn-hangzhou
27
+ */
28
+ regionId?: string;
29
+ /**
30
+ * @remarks
31
+ * This parameter is required.
32
+ *
33
+ * @example
34
+ * alibaba/fastjson
35
+ */
36
+ repoFullName?: string;
37
+ /**
38
+ * @example
39
+ * 286584
40
+ */
41
+ repoId?: number;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ orgId: 'OrgId',
45
+ owner: 'Owner',
46
+ platform: 'Platform',
47
+ regionId: 'RegionId',
48
+ repoFullName: 'RepoFullName',
49
+ repoId: 'RepoId',
50
+ };
51
+ }
52
+
53
+ static types(): { [key: string]: any } {
54
+ return {
55
+ orgId: 'string',
56
+ owner: 'string',
57
+ platform: 'string',
58
+ regionId: 'string',
59
+ repoFullName: 'string',
60
+ repoId: 'number',
61
+ };
62
+ }
63
+
64
+ validate() {
65
+ super.validate();
66
+ }
67
+
68
+ constructor(map?: { [key: string]: any }) {
69
+ super(map);
70
+ }
71
+ }
72
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetGitRepositoryResponseBody } from "./GetGitRepositoryResponseBody";
4
+
5
+
6
+ export class GetGitRepositoryResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetGitRepositoryResponseBody;
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: GetGitRepositoryResponseBody,
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,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetGitRepositoryResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * FASTJSON 2.0.x has been released, faster and more secure, recommend you upgrade.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * https://github.com/alibaba/fastjson
14
+ */
15
+ htmlUrl?: string;
16
+ /**
17
+ * @example
18
+ * False
19
+ */
20
+ isPrivate?: boolean;
21
+ /**
22
+ * @example
23
+ * 13B71887-D215-53B5-8818-4D3190604B26
24
+ */
25
+ requestId?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ description: 'Description',
29
+ htmlUrl: 'HtmlUrl',
30
+ isPrivate: 'IsPrivate',
31
+ requestId: 'RequestId',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ description: 'string',
38
+ htmlUrl: 'string',
39
+ isPrivate: 'boolean',
40
+ requestId: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -59,6 +59,7 @@ export class GetTemplateResponseBodyTemplate extends $dara.Model {
59
59
  * Public
60
60
  */
61
61
  shareType?: string;
62
+ sharedAccounts?: string;
62
63
  /**
63
64
  * @remarks
64
65
  * The tag keys and values. The number of key-value pairs ranges from 1 to 20.
@@ -140,6 +141,7 @@ export class GetTemplateResponseBodyTemplate extends $dara.Model {
140
141
  hash: 'Hash',
141
142
  resourceGroupId: 'ResourceGroupId',
142
143
  shareType: 'ShareType',
144
+ sharedAccounts: 'SharedAccounts',
143
145
  tags: 'Tags',
144
146
  templateFormat: 'TemplateFormat',
145
147
  templateId: 'TemplateId',
@@ -161,6 +163,7 @@ export class GetTemplateResponseBodyTemplate extends $dara.Model {
161
163
  hash: 'string',
162
164
  resourceGroupId: 'string',
163
165
  shareType: 'string',
166
+ sharedAccounts: 'string',
164
167
  tags: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
165
168
  templateFormat: 'string',
166
169
  templateId: 'string',
@@ -54,6 +54,7 @@ export class ListApplicationGroupsResponseBodyApplicationGroups extends $dara.Mo
54
54
  description?: string;
55
55
  errorDetail?: string;
56
56
  errorType?: string;
57
+ executionId?: string;
57
58
  /**
58
59
  * @remarks
59
60
  * The tag key.
@@ -113,6 +114,7 @@ export class ListApplicationGroupsResponseBodyApplicationGroups extends $dara.Mo
113
114
  description: 'Description',
114
115
  errorDetail: 'ErrorDetail',
115
116
  errorType: 'ErrorType',
117
+ executionId: 'ExecutionId',
116
118
  importTagKey: 'ImportTagKey',
117
119
  importTagValue: 'ImportTagValue',
118
120
  name: 'Name',
@@ -133,6 +135,7 @@ export class ListApplicationGroupsResponseBodyApplicationGroups extends $dara.Mo
133
135
  description: 'string',
134
136
  errorDetail: 'string',
135
137
  errorType: 'string',
138
+ executionId: 'string',
136
139
  importTagKey: 'string',
137
140
  importTagValue: 'string',
138
141
  name: 'string',
@@ -0,0 +1,55 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitAccountsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * -
9
+ */
10
+ clientToken?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * github
17
+ */
18
+ platform?: string;
19
+ /**
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ /**
25
+ * @example
26
+ * roleName
27
+ */
28
+ roleName?: string;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ clientToken: 'ClientToken',
32
+ platform: 'Platform',
33
+ regionId: 'RegionId',
34
+ roleName: 'RoleName',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ clientToken: 'string',
41
+ platform: 'string',
42
+ regionId: 'string',
43
+ roleName: 'string',
44
+ };
45
+ }
46
+
47
+ validate() {
48
+ super.validate();
49
+ }
50
+
51
+ constructor(map?: { [key: string]: any }) {
52
+ super(map);
53
+ }
54
+ }
55
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListGitAccountsResponseBody } from "./ListGitAccountsResponseBody";
4
+
5
+
6
+ export class ListGitAccountsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListGitAccountsResponseBody;
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: ListGitAccountsResponseBody,
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,78 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitAccountsResponseBodyGitAccounts extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ isActive?: boolean;
11
+ /**
12
+ * @example
13
+ * LYH-RAIN
14
+ */
15
+ owner?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ isActive: 'IsActive',
19
+ owner: 'Owner',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ isActive: 'boolean',
26
+ owner: 'string',
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 ListGitAccountsResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 1
43
+ */
44
+ count?: number;
45
+ gitAccounts?: ListGitAccountsResponseBodyGitAccounts[];
46
+ /**
47
+ * @example
48
+ * 1457F46C-7AAE-59FA-BD12-0BDB3751E6F8
49
+ */
50
+ requestId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ count: 'Count',
54
+ gitAccounts: 'GitAccounts',
55
+ requestId: 'RequestId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ count: 'number',
62
+ gitAccounts: { 'type': 'array', 'itemType': ListGitAccountsResponseBodyGitAccounts },
63
+ requestId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.gitAccounts)) {
69
+ $dara.Model.validateArray(this.gitAccounts);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,82 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitBranchesRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * TF-CreateApplication-1647587475-84104b89-eba5-47a8-b2fd-807b8b7d
9
+ */
10
+ clientToken?: string;
11
+ /**
12
+ * @example
13
+ * 6fekfmnfll135123kdf33
14
+ */
15
+ orgId?: string;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * geegenw-j-imwinmtuej
22
+ */
23
+ owner?: string;
24
+ /**
25
+ * @remarks
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * gitee
30
+ */
31
+ platform?: string;
32
+ /**
33
+ * @example
34
+ * cn-hangzhou
35
+ */
36
+ regionId?: string;
37
+ /**
38
+ * @remarks
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * alibaba/fastjson
43
+ */
44
+ repoFullName?: string;
45
+ /**
46
+ * @example
47
+ * 2642213
48
+ */
49
+ repoId?: number;
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ clientToken: 'ClientToken',
53
+ orgId: 'OrgId',
54
+ owner: 'Owner',
55
+ platform: 'Platform',
56
+ regionId: 'RegionId',
57
+ repoFullName: 'RepoFullName',
58
+ repoId: 'RepoId',
59
+ };
60
+ }
61
+
62
+ static types(): { [key: string]: any } {
63
+ return {
64
+ clientToken: 'string',
65
+ orgId: 'string',
66
+ owner: 'string',
67
+ platform: 'string',
68
+ regionId: 'string',
69
+ repoFullName: 'string',
70
+ repoId: 'number',
71
+ };
72
+ }
73
+
74
+ validate() {
75
+ super.validate();
76
+ }
77
+
78
+ constructor(map?: { [key: string]: any }) {
79
+ super(map);
80
+ }
81
+ }
82
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListGitBranchesResponseBody } from "./ListGitBranchesResponseBody";
4
+
5
+
6
+ export class ListGitBranchesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListGitBranchesResponseBody;
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: ListGitBranchesResponseBody,
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,71 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitBranchesResponseBodyGitBranches extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * master
9
+ */
10
+ name?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ name: 'Name',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ name: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
32
+ export class ListGitBranchesResponseBody extends $dara.Model {
33
+ /**
34
+ * @example
35
+ * 1
36
+ */
37
+ count?: number;
38
+ gitBranches?: ListGitBranchesResponseBodyGitBranches[];
39
+ /**
40
+ * @example
41
+ * DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3
42
+ */
43
+ requestId?: string;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ count: 'Count',
47
+ gitBranches: 'GitBranches',
48
+ requestId: 'RequestId',
49
+ };
50
+ }
51
+
52
+ static types(): { [key: string]: any } {
53
+ return {
54
+ count: 'number',
55
+ gitBranches: { 'type': 'array', 'itemType': ListGitBranchesResponseBodyGitBranches },
56
+ requestId: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.gitBranches)) {
62
+ $dara.Model.validateArray(this.gitBranches);
63
+ }
64
+ super.validate();
65
+ }
66
+
67
+ constructor(map?: { [key: string]: any }) {
68
+ super(map);
69
+ }
70
+ }
71
+