@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,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitOrganizationsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * -
9
+ */
10
+ clientToken?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ *
15
+ * @example
16
+ * geegenw-j-imwinmtuej
17
+ */
18
+ owner?: string;
19
+ /**
20
+ * @remarks
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * github
25
+ */
26
+ platform?: string;
27
+ /**
28
+ * @example
29
+ * cn-hangzhou
30
+ */
31
+ regionId?: string;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ clientToken: 'ClientToken',
35
+ owner: 'Owner',
36
+ platform: 'Platform',
37
+ regionId: 'RegionId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ clientToken: 'string',
44
+ owner: 'string',
45
+ platform: 'string',
46
+ regionId: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListGitOrganizationsResponseBody } from "./ListGitOrganizationsResponseBody";
4
+
5
+
6
+ export class ListGitOrganizationsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListGitOrganizationsResponseBody;
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: ListGitOrganizationsResponseBody,
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 ListGitOrganizationsResponseBodyGitOrgs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * dfj3535
9
+ */
10
+ orgId?: string;
11
+ /**
12
+ * @example
13
+ * aliyun-computenest
14
+ */
15
+ orgName?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ orgId: 'OrgId',
19
+ orgName: 'OrgName',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ orgId: 'string',
26
+ orgName: '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 ListGitOrganizationsResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * 1
43
+ */
44
+ count?: number;
45
+ gitOrgs?: ListGitOrganizationsResponseBodyGitOrgs[];
46
+ /**
47
+ * @example
48
+ * 9E011F98-4EE5-5E3A-8FA3-D38F2C531C1F
49
+ */
50
+ requestId?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ count: 'Count',
54
+ gitOrgs: 'GitOrgs',
55
+ requestId: 'RequestId',
56
+ };
57
+ }
58
+
59
+ static types(): { [key: string]: any } {
60
+ return {
61
+ count: 'number',
62
+ gitOrgs: { 'type': 'array', 'itemType': ListGitOrganizationsResponseBodyGitOrgs },
63
+ requestId: 'string',
64
+ };
65
+ }
66
+
67
+ validate() {
68
+ if(Array.isArray(this.gitOrgs)) {
69
+ $dara.Model.validateArray(this.gitOrgs);
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitRepositoriesRequest 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
+ * @example
18
+ * aliyun-computenest
19
+ */
20
+ orgName?: string;
21
+ /**
22
+ * @remarks
23
+ * This parameter is required.
24
+ *
25
+ * @example
26
+ * dhuai
27
+ */
28
+ owner?: string;
29
+ /**
30
+ * @example
31
+ * 1
32
+ */
33
+ pageNumber?: number;
34
+ /**
35
+ * @example
36
+ * 1
37
+ */
38
+ pageSize?: number;
39
+ /**
40
+ * @remarks
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * github
45
+ */
46
+ platform?: string;
47
+ /**
48
+ * @example
49
+ * cn-hangzhou
50
+ */
51
+ regionId?: string;
52
+ static names(): { [key: string]: string } {
53
+ return {
54
+ clientToken: 'ClientToken',
55
+ orgId: 'OrgId',
56
+ orgName: 'OrgName',
57
+ owner: 'Owner',
58
+ pageNumber: 'PageNumber',
59
+ pageSize: 'PageSize',
60
+ platform: 'Platform',
61
+ regionId: 'RegionId',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ clientToken: 'string',
68
+ orgId: 'string',
69
+ orgName: 'string',
70
+ owner: 'string',
71
+ pageNumber: 'number',
72
+ pageSize: 'number',
73
+ platform: 'string',
74
+ regionId: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListGitRepositoriesResponseBody } from "./ListGitRepositoriesResponseBody";
4
+
5
+
6
+ export class ListGitRepositoriesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListGitRepositoriesResponseBody;
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: ListGitRepositoriesResponseBody,
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,99 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitRepositoriesResponseBodyGitRepos extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * Test secret parameter for vulnerability testing - 1757298077.453695
9
+ */
10
+ description?: string;
11
+ /**
12
+ * @example
13
+ * aliyun/repo
14
+ */
15
+ fullName?: string;
16
+ /**
17
+ * @example
18
+ * https://github.com/alibaba/fastjson
19
+ */
20
+ htmlUrl?: string;
21
+ /**
22
+ * @example
23
+ * False
24
+ */
25
+ isPrivate?: boolean;
26
+ /**
27
+ * @example
28
+ * 22351123
29
+ */
30
+ repoId?: number;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ description: 'Description',
34
+ fullName: 'FullName',
35
+ htmlUrl: 'HtmlUrl',
36
+ isPrivate: 'IsPrivate',
37
+ repoId: 'RepoId',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ description: 'string',
44
+ fullName: 'string',
45
+ htmlUrl: 'string',
46
+ isPrivate: 'boolean',
47
+ repoId: 'number',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class ListGitRepositoriesResponseBody extends $dara.Model {
61
+ /**
62
+ * @example
63
+ * 1
64
+ */
65
+ count?: number;
66
+ gitRepos?: ListGitRepositoriesResponseBodyGitRepos[];
67
+ /**
68
+ * @example
69
+ * DBA6E6C8-F75D-41DE-AFF5-1FA03F551CA3
70
+ */
71
+ requestId?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ count: 'Count',
75
+ gitRepos: 'GitRepos',
76
+ requestId: 'RequestId',
77
+ };
78
+ }
79
+
80
+ static types(): { [key: string]: any } {
81
+ return {
82
+ count: 'number',
83
+ gitRepos: { 'type': 'array', 'itemType': ListGitRepositoriesResponseBodyGitRepos },
84
+ requestId: 'string',
85
+ };
86
+ }
87
+
88
+ validate() {
89
+ if(Array.isArray(this.gitRepos)) {
90
+ $dara.Model.validateArray(this.gitRepos);
91
+ }
92
+ super.validate();
93
+ }
94
+
95
+ constructor(map?: { [key: string]: any }) {
96
+ super(map);
97
+ }
98
+ }
99
+
@@ -0,0 +1,100 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitRepositoryContentsRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * dev
9
+ */
10
+ branch?: string;
11
+ /**
12
+ * @example
13
+ * -
14
+ */
15
+ clientToken?: string;
16
+ /**
17
+ * @example
18
+ * dir
19
+ */
20
+ contentType?: string;
21
+ /**
22
+ * @example
23
+ * 6fekfmnfll135123kdf33
24
+ */
25
+ orgId?: string;
26
+ /**
27
+ * @remarks
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * dhuai
32
+ */
33
+ owner?: string;
34
+ /**
35
+ * @example
36
+ * dir1
37
+ */
38
+ path?: string;
39
+ /**
40
+ * @remarks
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * gitee
45
+ */
46
+ platform?: string;
47
+ /**
48
+ * @example
49
+ * cn-hangzhou
50
+ */
51
+ regionId?: string;
52
+ /**
53
+ * @example
54
+ * LYH-RAIN/vue-color-avatar
55
+ */
56
+ repoFullName?: string;
57
+ /**
58
+ * @example
59
+ * 2642213
60
+ */
61
+ repoId?: number;
62
+ static names(): { [key: string]: string } {
63
+ return {
64
+ branch: 'Branch',
65
+ clientToken: 'ClientToken',
66
+ contentType: 'ContentType',
67
+ orgId: 'OrgId',
68
+ owner: 'Owner',
69
+ path: 'Path',
70
+ platform: 'Platform',
71
+ regionId: 'RegionId',
72
+ repoFullName: 'RepoFullName',
73
+ repoId: 'RepoId',
74
+ };
75
+ }
76
+
77
+ static types(): { [key: string]: any } {
78
+ return {
79
+ branch: 'string',
80
+ clientToken: 'string',
81
+ contentType: 'string',
82
+ orgId: 'string',
83
+ owner: 'string',
84
+ path: 'string',
85
+ platform: 'string',
86
+ regionId: 'string',
87
+ repoFullName: 'string',
88
+ repoId: 'number',
89
+ };
90
+ }
91
+
92
+ validate() {
93
+ super.validate();
94
+ }
95
+
96
+ constructor(map?: { [key: string]: any }) {
97
+ super(map);
98
+ }
99
+ }
100
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListGitRepositoryContentsResponseBody } from "./ListGitRepositoryContentsResponseBody";
4
+
5
+
6
+ export class ListGitRepositoryContentsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListGitRepositoryContentsResponseBody;
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: ListGitRepositoryContentsResponseBody,
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,92 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListGitRepositoryContentsResponseBodyContents extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * mydir
9
+ */
10
+ content?: string;
11
+ /**
12
+ * @example
13
+ * mydir
14
+ */
15
+ name?: string;
16
+ /**
17
+ * @example
18
+ * dir1
19
+ */
20
+ path?: string;
21
+ /**
22
+ * @example
23
+ * dir
24
+ */
25
+ type?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ content: 'Content',
29
+ name: 'Name',
30
+ path: 'Path',
31
+ type: 'Type',
32
+ };
33
+ }
34
+
35
+ static types(): { [key: string]: any } {
36
+ return {
37
+ content: 'string',
38
+ name: 'string',
39
+ path: 'string',
40
+ type: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
53
+ export class ListGitRepositoryContentsResponseBody extends $dara.Model {
54
+ contents?: ListGitRepositoryContentsResponseBodyContents[];
55
+ /**
56
+ * @example
57
+ * 1
58
+ */
59
+ count?: number;
60
+ /**
61
+ * @example
62
+ * 2075899A-585D-4A41-A9B2-28DA8534
63
+ */
64
+ requestId?: string;
65
+ static names(): { [key: string]: string } {
66
+ return {
67
+ contents: 'Contents',
68
+ count: 'Count',
69
+ requestId: 'RequestId',
70
+ };
71
+ }
72
+
73
+ static types(): { [key: string]: any } {
74
+ return {
75
+ contents: { 'type': 'array', 'itemType': ListGitRepositoryContentsResponseBodyContents },
76
+ count: 'number',
77
+ requestId: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ if(Array.isArray(this.contents)) {
83
+ $dara.Model.validateArray(this.contents);
84
+ }
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListInstancePackageStatesResponseBodyPackageStates extends $dara.Model {
6
+ configurationInfo?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * Description
@@ -77,6 +78,7 @@ export class ListInstancePackageStatesResponseBodyPackageStates extends $dara.Mo
77
78
  updateTime?: string;
78
79
  static names(): { [key: string]: string } {
79
80
  return {
81
+ configurationInfo: 'ConfigurationInfo',
80
82
  description: 'Description',
81
83
  parameters: 'Parameters',
82
84
  publisher: 'Publisher',
@@ -91,6 +93,7 @@ export class ListInstancePackageStatesResponseBodyPackageStates extends $dara.Mo
91
93
 
92
94
  static types(): { [key: string]: any } {
93
95
  return {
96
+ configurationInfo: 'string',
94
97
  description: 'string',
95
98
  parameters: 'string',
96
99
  publisher: 'string',
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateInstancePackageStateRequest extends $dara.Model {
6
+ configurationInfo?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The operation type.
@@ -64,6 +65,7 @@ export class UpdateInstancePackageStateRequest extends $dara.Model {
64
65
  templateVersion?: string;
65
66
  static names(): { [key: string]: string } {
66
67
  return {
68
+ configurationInfo: 'ConfigurationInfo',
67
69
  configureAction: 'ConfigureAction',
68
70
  instanceId: 'InstanceId',
69
71
  parameters: 'Parameters',
@@ -75,6 +77,7 @@ export class UpdateInstancePackageStateRequest extends $dara.Model {
75
77
 
76
78
  static types(): { [key: string]: any } {
77
79
  return {
80
+ configurationInfo: 'string',
78
81
  configureAction: 'string',
79
82
  instanceId: 'string',
80
83
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateInstancePackageStateShrinkRequest extends $dara.Model {
6
+ configurationInfo?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The operation type.
@@ -64,6 +65,7 @@ export class UpdateInstancePackageStateShrinkRequest extends $dara.Model {
64
65
  templateVersion?: string;
65
66
  static names(): { [key: string]: string } {
66
67
  return {
68
+ configurationInfo: 'ConfigurationInfo',
67
69
  configureAction: 'ConfigureAction',
68
70
  instanceId: 'InstanceId',
69
71
  parametersShrink: 'Parameters',
@@ -75,6 +77,7 @@ export class UpdateInstancePackageStateShrinkRequest extends $dara.Model {
75
77
 
76
78
  static types(): { [key: string]: any } {
77
79
  return {
80
+ configurationInfo: 'string',
78
81
  configureAction: 'string',
79
82
  instanceId: 'string',
80
83
  parametersShrink: 'string',