@migration-planner-ui/api-client 0.0.30 → 0.0.32

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 (212) hide show
  1. package/README.md +145 -28
  2. package/dist/apis/AssessmentApi.d.ts +3 -2
  3. package/dist/apis/AssessmentApi.d.ts.map +1 -0
  4. package/dist/apis/AssessmentApi.js +15 -7
  5. package/dist/apis/HealthApi.d.ts +2 -1
  6. package/dist/apis/HealthApi.d.ts.map +1 -0
  7. package/dist/apis/HealthApi.js +3 -2
  8. package/dist/apis/ImageApi.d.ts +3 -2
  9. package/dist/apis/ImageApi.d.ts.map +1 -0
  10. package/dist/apis/ImageApi.js +8 -4
  11. package/dist/apis/InfoApi.d.ts +3 -2
  12. package/dist/apis/InfoApi.d.ts.map +1 -0
  13. package/dist/apis/InfoApi.js +4 -3
  14. package/dist/apis/JobApi.d.ts +3 -2
  15. package/dist/apis/JobApi.d.ts.map +1 -0
  16. package/dist/apis/JobApi.js +10 -5
  17. package/dist/apis/SourceApi.d.ts +3 -2
  18. package/dist/apis/SourceApi.d.ts.map +1 -0
  19. package/dist/apis/SourceApi.js +20 -9
  20. package/dist/apis/index.d.ts +7 -7
  21. package/dist/apis/index.d.ts.map +1 -0
  22. package/dist/apis/index.js +6 -7
  23. package/dist/index.d.ts +4 -3
  24. package/dist/index.d.ts.map +1 -0
  25. package/dist/index.js +3 -3
  26. package/dist/models/Agent.d.ts +3 -1
  27. package/dist/models/Agent.d.ts.map +1 -0
  28. package/dist/models/Agent.js +6 -3
  29. package/dist/models/AgentProxy.d.ts +3 -1
  30. package/dist/models/AgentProxy.d.ts.map +1 -0
  31. package/dist/models/AgentProxy.js +4 -1
  32. package/dist/models/Assessment.d.ts +4 -2
  33. package/dist/models/Assessment.d.ts.map +1 -0
  34. package/dist/models/Assessment.js +7 -4
  35. package/dist/models/AssessmentForm.d.ts +4 -2
  36. package/dist/models/AssessmentForm.d.ts.map +1 -0
  37. package/dist/models/AssessmentForm.js +5 -2
  38. package/dist/models/AssessmentUpdate.d.ts +3 -1
  39. package/dist/models/AssessmentUpdate.d.ts.map +1 -0
  40. package/dist/models/AssessmentUpdate.js +4 -1
  41. package/dist/models/Datastore.d.ts +3 -1
  42. package/dist/models/Datastore.d.ts.map +1 -0
  43. package/dist/models/Datastore.js +4 -1
  44. package/dist/models/DiskSizeTierSummary.d.ts +3 -1
  45. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  46. package/dist/models/DiskSizeTierSummary.js +4 -1
  47. package/dist/models/DiskTypeSummary.d.ts +3 -1
  48. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  49. package/dist/models/DiskTypeSummary.js +4 -1
  50. package/dist/models/Histogram.d.ts +3 -1
  51. package/dist/models/Histogram.d.ts.map +1 -0
  52. package/dist/models/Histogram.js +4 -1
  53. package/dist/models/Host.d.ts +3 -1
  54. package/dist/models/Host.d.ts.map +1 -0
  55. package/dist/models/Host.js +4 -1
  56. package/dist/models/Info.d.ts +3 -1
  57. package/dist/models/Info.d.ts.map +1 -0
  58. package/dist/models/Info.js +4 -1
  59. package/dist/models/Infra.d.ts +12 -4
  60. package/dist/models/Infra.d.ts.map +1 -0
  61. package/dist/models/Infra.js +11 -6
  62. package/dist/models/Inventory.d.ts +4 -2
  63. package/dist/models/Inventory.d.ts.map +1 -0
  64. package/dist/models/Inventory.js +8 -5
  65. package/dist/models/InventoryData.d.ts +6 -4
  66. package/dist/models/InventoryData.d.ts.map +1 -0
  67. package/dist/models/InventoryData.js +7 -4
  68. package/dist/models/Ipv4Config.d.ts +3 -1
  69. package/dist/models/Ipv4Config.d.ts.map +1 -0
  70. package/dist/models/Ipv4Config.js +4 -1
  71. package/dist/models/Job.d.ts +4 -2
  72. package/dist/models/Job.d.ts.map +1 -0
  73. package/dist/models/Job.js +5 -2
  74. package/dist/models/JobStatus.d.ts +2 -0
  75. package/dist/models/JobStatus.d.ts.map +1 -0
  76. package/dist/models/JobStatus.js +3 -0
  77. package/dist/models/Label.d.ts +3 -1
  78. package/dist/models/Label.d.ts.map +1 -0
  79. package/dist/models/Label.js +4 -1
  80. package/dist/models/MigrationIssue.d.ts +3 -1
  81. package/dist/models/MigrationIssue.d.ts.map +1 -0
  82. package/dist/models/MigrationIssue.js +4 -1
  83. package/dist/models/ModelError.d.ts +3 -1
  84. package/dist/models/ModelError.d.ts.map +1 -0
  85. package/dist/models/ModelError.js +4 -1
  86. package/dist/models/Network.d.ts +3 -1
  87. package/dist/models/Network.d.ts.map +1 -0
  88. package/dist/models/Network.js +4 -1
  89. package/dist/models/OsInfo.d.ts +3 -1
  90. package/dist/models/OsInfo.d.ts.map +1 -0
  91. package/dist/models/OsInfo.js +4 -1
  92. package/dist/models/PresignedUrl.d.ts +3 -1
  93. package/dist/models/PresignedUrl.d.ts.map +1 -0
  94. package/dist/models/PresignedUrl.js +5 -2
  95. package/dist/models/Snapshot.d.ts +4 -2
  96. package/dist/models/Snapshot.d.ts.map +1 -0
  97. package/dist/models/Snapshot.js +6 -3
  98. package/dist/models/Source.d.ts +7 -5
  99. package/dist/models/Source.d.ts.map +1 -0
  100. package/dist/models/Source.js +10 -7
  101. package/dist/models/SourceCreate.d.ts +6 -4
  102. package/dist/models/SourceCreate.d.ts.map +1 -0
  103. package/dist/models/SourceCreate.js +7 -4
  104. package/dist/models/SourceInfra.d.ts +5 -3
  105. package/dist/models/SourceInfra.d.ts.map +1 -0
  106. package/dist/models/SourceInfra.js +6 -3
  107. package/dist/models/SourceUpdate.d.ts +6 -4
  108. package/dist/models/SourceUpdate.d.ts.map +1 -0
  109. package/dist/models/SourceUpdate.js +7 -4
  110. package/dist/models/Status.d.ts +3 -1
  111. package/dist/models/Status.d.ts.map +1 -0
  112. package/dist/models/Status.js +4 -1
  113. package/dist/models/UpdateInventory.d.ts +4 -2
  114. package/dist/models/UpdateInventory.d.ts.map +1 -0
  115. package/dist/models/UpdateInventory.js +5 -2
  116. package/dist/models/VCenter.d.ts +3 -1
  117. package/dist/models/VCenter.d.ts.map +1 -0
  118. package/dist/models/VCenter.js +4 -1
  119. package/dist/models/VMResourceBreakdown.d.ts +6 -3
  120. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  121. package/dist/models/VMResourceBreakdown.js +6 -5
  122. package/dist/models/VMs.d.ts +24 -6
  123. package/dist/models/VMs.d.ts.map +1 -0
  124. package/dist/models/VMs.js +16 -9
  125. package/dist/models/VmNetwork.d.ts +4 -2
  126. package/dist/models/VmNetwork.d.ts.map +1 -0
  127. package/dist/models/VmNetwork.js +5 -2
  128. package/dist/models/index.d.ts +35 -34
  129. package/dist/models/index.d.ts.map +1 -0
  130. package/dist/models/index.js +34 -34
  131. package/dist/runtime.d.ts +5 -1
  132. package/dist/runtime.d.ts.map +1 -0
  133. package/dist/runtime.js +10 -2
  134. package/package.json +18 -9
  135. package/.openapi-generator/FILES +0 -44
  136. package/.openapi-generator/VERSION +0 -1
  137. package/.openapi-generator-ignore +0 -30
  138. package/dist/apis/AgentApi.d.ts +0 -69
  139. package/dist/apis/AgentApi.js +0 -82
  140. package/dist/models/Event.d.ts +0 -38
  141. package/dist/models/Event.js +0 -45
  142. package/dist/models/EventData.d.ts +0 -37
  143. package/dist/models/EventData.js +0 -44
  144. package/dist/models/InfraDatastoresInner.d.ts +0 -43
  145. package/dist/models/InfraDatastoresInner.js +0 -48
  146. package/dist/models/InfraNetworksInner.d.ts +0 -59
  147. package/dist/models/InfraNetworksInner.js +0 -57
  148. package/dist/models/MigrationIssuesInner.d.ts +0 -43
  149. package/dist/models/MigrationIssuesInner.js +0 -48
  150. package/dist/models/SourceAgentItem.d.ts +0 -37
  151. package/dist/models/SourceAgentItem.js +0 -44
  152. package/dist/models/SourceUpdateOnPrem.d.ts +0 -38
  153. package/dist/models/SourceUpdateOnPrem.js +0 -45
  154. package/dist/models/UploadRvtoolsFile200Response.d.ts +0 -31
  155. package/dist/models/UploadRvtoolsFile200Response.js +0 -38
  156. package/dist/models/VMResourceBreakdownHistogram.d.ts +0 -43
  157. package/dist/models/VMResourceBreakdownHistogram.js +0 -48
  158. package/src/apis/AgentApi.ts +0 -131
  159. package/src/apis/AssessmentApi.ts +0 -303
  160. package/src/apis/HealthApi.ts +0 -70
  161. package/src/apis/ImageApi.ts +0 -140
  162. package/src/apis/InfoApi.ts +0 -78
  163. package/src/apis/JobApi.ts +0 -226
  164. package/src/apis/SourceApi.ts +0 -411
  165. package/src/apis/index.ts +0 -50
  166. package/src/index.ts +0 -5
  167. package/src/models/Agent.ts +0 -130
  168. package/src/models/AgentProxy.ts +0 -76
  169. package/src/models/Assessment.ts +0 -140
  170. package/src/models/AssessmentForm.ts +0 -96
  171. package/src/models/AssessmentUpdate.ts +0 -60
  172. package/src/models/Datastore.ts +0 -132
  173. package/src/models/DiskSizeTierSummary.ts +0 -70
  174. package/src/models/DiskTypeSummary.ts +0 -70
  175. package/src/models/Event.ts +0 -77
  176. package/src/models/EventData.ts +0 -70
  177. package/src/models/Histogram.ts +0 -79
  178. package/src/models/Host.ts +0 -102
  179. package/src/models/Info.ts +0 -70
  180. package/src/models/Infra.ts +0 -166
  181. package/src/models/InfraDatastoresInner.ts +0 -79
  182. package/src/models/InfraNetworksInner.ts +0 -99
  183. package/src/models/Inventory.ts +0 -83
  184. package/src/models/InventoryData.ts +0 -97
  185. package/src/models/Ipv4Config.ts +0 -88
  186. package/src/models/Job.ts +0 -95
  187. package/src/models/JobStatus.ts +0 -60
  188. package/src/models/Label.ts +0 -70
  189. package/src/models/MigrationIssue.ts +0 -87
  190. package/src/models/MigrationIssuesInner.ts +0 -79
  191. package/src/models/ModelError.ts +0 -69
  192. package/src/models/Network.ts +0 -107
  193. package/src/models/OsInfo.ts +0 -78
  194. package/src/models/PresignedUrl.ts +0 -69
  195. package/src/models/Snapshot.ts +0 -77
  196. package/src/models/Source.ts +0 -154
  197. package/src/models/SourceAgentItem.ts +0 -70
  198. package/src/models/SourceCreate.ts +0 -120
  199. package/src/models/SourceInfra.ts +0 -89
  200. package/src/models/SourceUpdate.ts +0 -119
  201. package/src/models/SourceUpdateOnPrem.ts +0 -77
  202. package/src/models/Status.ts +0 -76
  203. package/src/models/UpdateInventory.ts +0 -77
  204. package/src/models/UploadRvtoolsFile200Response.ts +0 -60
  205. package/src/models/VCenter.ts +0 -61
  206. package/src/models/VMResourceBreakdown.ts +0 -104
  207. package/src/models/VMResourceBreakdownHistogram.ts +0 -79
  208. package/src/models/VMs.ts +0 -213
  209. package/src/models/VmNetwork.ts +0 -67
  210. package/src/models/index.ts +0 -36
  211. package/src/runtime.ts +0 -426
  212. package/tsconfig.json +0 -14
@@ -1,120 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { VmNetwork } from './VmNetwork';
17
- import {
18
- VmNetworkFromJSON,
19
- VmNetworkFromJSONTyped,
20
- VmNetworkToJSON,
21
- } from './VmNetwork';
22
- import type { AgentProxy } from './AgentProxy';
23
- import {
24
- AgentProxyFromJSON,
25
- AgentProxyFromJSONTyped,
26
- AgentProxyToJSON,
27
- } from './AgentProxy';
28
- import type { Label } from './Label';
29
- import {
30
- LabelFromJSON,
31
- LabelFromJSONTyped,
32
- LabelToJSON,
33
- } from './Label';
34
-
35
- /**
36
- *
37
- * @export
38
- * @interface SourceCreate
39
- */
40
- export interface SourceCreate {
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SourceCreate
45
- */
46
- name: string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof SourceCreate
51
- */
52
- sshPublicKey?: string | null;
53
- /**
54
- *
55
- * @type {AgentProxy}
56
- * @memberof SourceCreate
57
- */
58
- proxy?: AgentProxy;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof SourceCreate
63
- */
64
- certificateChain?: string | null;
65
- /**
66
- *
67
- * @type {VmNetwork}
68
- * @memberof SourceCreate
69
- */
70
- network?: VmNetwork;
71
- /**
72
- *
73
- * @type {Array<Label>}
74
- * @memberof SourceCreate
75
- */
76
- labels?: Array<Label>;
77
- }
78
-
79
- /**
80
- * Check if a given object implements the SourceCreate interface.
81
- */
82
- export function instanceOfSourceCreate(value: object): value is SourceCreate {
83
- if (!('name' in value) || value['name'] === undefined) return false;
84
- return true;
85
- }
86
-
87
- export function SourceCreateFromJSON(json: any): SourceCreate {
88
- return SourceCreateFromJSONTyped(json, false);
89
- }
90
-
91
- export function SourceCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceCreate {
92
- if (json == null) {
93
- return json;
94
- }
95
- return {
96
-
97
- 'name': json['name'],
98
- 'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
99
- 'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
100
- 'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
101
- 'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
102
- 'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
103
- };
104
- }
105
-
106
- export function SourceCreateToJSON(value?: SourceCreate | null): any {
107
- if (value == null) {
108
- return value;
109
- }
110
- return {
111
-
112
- 'name': value['name'],
113
- 'sshPublicKey': value['sshPublicKey'],
114
- 'proxy': AgentProxyToJSON(value['proxy']),
115
- 'certificateChain': value['certificateChain'],
116
- 'network': VmNetworkToJSON(value['network']),
117
- 'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
118
- };
119
- }
120
-
@@ -1,89 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { VmNetwork } from './VmNetwork';
17
- import {
18
- VmNetworkFromJSON,
19
- VmNetworkFromJSONTyped,
20
- VmNetworkToJSON,
21
- } from './VmNetwork';
22
- import type { AgentProxy } from './AgentProxy';
23
- import {
24
- AgentProxyFromJSON,
25
- AgentProxyFromJSONTyped,
26
- AgentProxyToJSON,
27
- } from './AgentProxy';
28
-
29
- /**
30
- *
31
- * @export
32
- * @interface SourceInfra
33
- */
34
- export interface SourceInfra {
35
- /**
36
- *
37
- * @type {AgentProxy}
38
- * @memberof SourceInfra
39
- */
40
- proxy?: AgentProxy;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SourceInfra
45
- */
46
- sshPublicKey?: string | null;
47
- /**
48
- *
49
- * @type {VmNetwork}
50
- * @memberof SourceInfra
51
- */
52
- vmNetwork?: VmNetwork;
53
- }
54
-
55
- /**
56
- * Check if a given object implements the SourceInfra interface.
57
- */
58
- export function instanceOfSourceInfra(value: object): value is SourceInfra {
59
- return true;
60
- }
61
-
62
- export function SourceInfraFromJSON(json: any): SourceInfra {
63
- return SourceInfraFromJSONTyped(json, false);
64
- }
65
-
66
- export function SourceInfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceInfra {
67
- if (json == null) {
68
- return json;
69
- }
70
- return {
71
-
72
- 'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
73
- 'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
74
- 'vmNetwork': json['vmNetwork'] == null ? undefined : VmNetworkFromJSON(json['vmNetwork']),
75
- };
76
- }
77
-
78
- export function SourceInfraToJSON(value?: SourceInfra | null): any {
79
- if (value == null) {
80
- return value;
81
- }
82
- return {
83
-
84
- 'proxy': AgentProxyToJSON(value['proxy']),
85
- 'sshPublicKey': value['sshPublicKey'],
86
- 'vmNetwork': VmNetworkToJSON(value['vmNetwork']),
87
- };
88
- }
89
-
@@ -1,119 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { VmNetwork } from './VmNetwork';
17
- import {
18
- VmNetworkFromJSON,
19
- VmNetworkFromJSONTyped,
20
- VmNetworkToJSON,
21
- } from './VmNetwork';
22
- import type { AgentProxy } from './AgentProxy';
23
- import {
24
- AgentProxyFromJSON,
25
- AgentProxyFromJSONTyped,
26
- AgentProxyToJSON,
27
- } from './AgentProxy';
28
- import type { Label } from './Label';
29
- import {
30
- LabelFromJSON,
31
- LabelFromJSONTyped,
32
- LabelToJSON,
33
- } from './Label';
34
-
35
- /**
36
- *
37
- * @export
38
- * @interface SourceUpdate
39
- */
40
- export interface SourceUpdate {
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SourceUpdate
45
- */
46
- name?: string;
47
- /**
48
- *
49
- * @type {Array<Label>}
50
- * @memberof SourceUpdate
51
- */
52
- labels?: Array<Label>;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof SourceUpdate
57
- */
58
- sshPublicKey?: string | null;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof SourceUpdate
63
- */
64
- certificateChain?: string | null;
65
- /**
66
- *
67
- * @type {AgentProxy}
68
- * @memberof SourceUpdate
69
- */
70
- proxy?: AgentProxy;
71
- /**
72
- *
73
- * @type {VmNetwork}
74
- * @memberof SourceUpdate
75
- */
76
- network?: VmNetwork;
77
- }
78
-
79
- /**
80
- * Check if a given object implements the SourceUpdate interface.
81
- */
82
- export function instanceOfSourceUpdate(value: object): value is SourceUpdate {
83
- return true;
84
- }
85
-
86
- export function SourceUpdateFromJSON(json: any): SourceUpdate {
87
- return SourceUpdateFromJSONTyped(json, false);
88
- }
89
-
90
- export function SourceUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdate {
91
- if (json == null) {
92
- return json;
93
- }
94
- return {
95
-
96
- 'name': json['name'] == null ? undefined : json['name'],
97
- 'labels': json['labels'] == null ? undefined : ((json['labels'] as Array<any>).map(LabelFromJSON)),
98
- 'sshPublicKey': json['sshPublicKey'] == null ? undefined : json['sshPublicKey'],
99
- 'certificateChain': json['certificateChain'] == null ? undefined : json['certificateChain'],
100
- 'proxy': json['proxy'] == null ? undefined : AgentProxyFromJSON(json['proxy']),
101
- 'network': json['network'] == null ? undefined : VmNetworkFromJSON(json['network']),
102
- };
103
- }
104
-
105
- export function SourceUpdateToJSON(value?: SourceUpdate | null): any {
106
- if (value == null) {
107
- return value;
108
- }
109
- return {
110
-
111
- 'name': value['name'],
112
- 'labels': value['labels'] == null ? undefined : ((value['labels'] as Array<any>).map(LabelToJSON)),
113
- 'sshPublicKey': value['sshPublicKey'],
114
- 'certificateChain': value['certificateChain'],
115
- 'proxy': AgentProxyToJSON(value['proxy']),
116
- 'network': VmNetworkToJSON(value['network']),
117
- };
118
- }
119
-
@@ -1,77 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { Inventory } from './Inventory';
17
- import {
18
- InventoryFromJSON,
19
- InventoryFromJSONTyped,
20
- InventoryToJSON,
21
- } from './Inventory';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface SourceUpdateOnPrem
27
- */
28
- export interface SourceUpdateOnPrem {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof SourceUpdateOnPrem
33
- */
34
- agentId: string;
35
- /**
36
- *
37
- * @type {Inventory}
38
- * @memberof SourceUpdateOnPrem
39
- */
40
- inventory: Inventory;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the SourceUpdateOnPrem interface.
45
- */
46
- export function instanceOfSourceUpdateOnPrem(value: object): value is SourceUpdateOnPrem {
47
- if (!('agentId' in value) || value['agentId'] === undefined) return false;
48
- if (!('inventory' in value) || value['inventory'] === undefined) return false;
49
- return true;
50
- }
51
-
52
- export function SourceUpdateOnPremFromJSON(json: any): SourceUpdateOnPrem {
53
- return SourceUpdateOnPremFromJSONTyped(json, false);
54
- }
55
-
56
- export function SourceUpdateOnPremFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceUpdateOnPrem {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'agentId': json['agentId'],
63
- 'inventory': InventoryFromJSON(json['inventory']),
64
- };
65
- }
66
-
67
- export function SourceUpdateOnPremToJSON(value?: SourceUpdateOnPrem | null): any {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
-
73
- 'agentId': value['agentId'],
74
- 'inventory': InventoryToJSON(value['inventory']),
75
- };
76
- }
77
-
@@ -1,76 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- * Status is a return value for calls that don't return other objects.
18
- * @export
19
- * @interface Status
20
- */
21
- export interface Status {
22
- /**
23
- * A human-readable description of the status of this operation.
24
- * @type {string}
25
- * @memberof Status
26
- */
27
- message?: string;
28
- /**
29
- * A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
30
- * @type {string}
31
- * @memberof Status
32
- */
33
- reason?: string;
34
- /**
35
- * Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
36
- * @type {string}
37
- * @memberof Status
38
- */
39
- status?: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the Status interface.
44
- */
45
- export function instanceOfStatus(value: object): value is Status {
46
- return true;
47
- }
48
-
49
- export function StatusFromJSON(json: any): Status {
50
- return StatusFromJSONTyped(json, false);
51
- }
52
-
53
- export function StatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): Status {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
-
59
- 'message': json['message'] == null ? undefined : json['message'],
60
- 'reason': json['reason'] == null ? undefined : json['reason'],
61
- 'status': json['status'] == null ? undefined : json['status'],
62
- };
63
- }
64
-
65
- export function StatusToJSON(value?: Status | null): any {
66
- if (value == null) {
67
- return value;
68
- }
69
- return {
70
-
71
- 'message': value['message'],
72
- 'reason': value['reason'],
73
- 'status': value['status'],
74
- };
75
- }
76
-
@@ -1,77 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { Inventory } from './Inventory';
17
- import {
18
- InventoryFromJSON,
19
- InventoryFromJSONTyped,
20
- InventoryToJSON,
21
- } from './Inventory';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface UpdateInventory
27
- */
28
- export interface UpdateInventory {
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof UpdateInventory
33
- */
34
- agentId: string;
35
- /**
36
- *
37
- * @type {Inventory}
38
- * @memberof UpdateInventory
39
- */
40
- inventory: Inventory;
41
- }
42
-
43
- /**
44
- * Check if a given object implements the UpdateInventory interface.
45
- */
46
- export function instanceOfUpdateInventory(value: object): value is UpdateInventory {
47
- if (!('agentId' in value) || value['agentId'] === undefined) return false;
48
- if (!('inventory' in value) || value['inventory'] === undefined) return false;
49
- return true;
50
- }
51
-
52
- export function UpdateInventoryFromJSON(json: any): UpdateInventory {
53
- return UpdateInventoryFromJSONTyped(json, false);
54
- }
55
-
56
- export function UpdateInventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInventory {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'agentId': json['agentId'],
63
- 'inventory': InventoryFromJSON(json['inventory']),
64
- };
65
- }
66
-
67
- export function UpdateInventoryToJSON(value?: UpdateInventory | null): any {
68
- if (value == null) {
69
- return value;
70
- }
71
- return {
72
-
73
- 'agentId': value['agentId'],
74
- 'inventory': InventoryToJSON(value['inventory']),
75
- };
76
- }
77
-
@@ -1,60 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface UploadRvtoolsFile200Response
20
- */
21
- export interface UploadRvtoolsFile200Response {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof UploadRvtoolsFile200Response
26
- */
27
- message?: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the UploadRvtoolsFile200Response interface.
32
- */
33
- export function instanceOfUploadRvtoolsFile200Response(value: object): value is UploadRvtoolsFile200Response {
34
- return true;
35
- }
36
-
37
- export function UploadRvtoolsFile200ResponseFromJSON(json: any): UploadRvtoolsFile200Response {
38
- return UploadRvtoolsFile200ResponseFromJSONTyped(json, false);
39
- }
40
-
41
- export function UploadRvtoolsFile200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadRvtoolsFile200Response {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
-
47
- 'message': json['message'] == null ? undefined : json['message'],
48
- };
49
- }
50
-
51
- export function UploadRvtoolsFile200ResponseToJSON(value?: UploadRvtoolsFile200Response | null): any {
52
- if (value == null) {
53
- return value;
54
- }
55
- return {
56
-
57
- 'message': value['message'],
58
- };
59
- }
60
-
@@ -1,61 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: undefined
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface VCenter
20
- */
21
- export interface VCenter {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof VCenter
26
- */
27
- id: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the VCenter interface.
32
- */
33
- export function instanceOfVCenter(value: object): value is VCenter {
34
- if (!('id' in value) || value['id'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function VCenterFromJSON(json: any): VCenter {
39
- return VCenterFromJSONTyped(json, false);
40
- }
41
-
42
- export function VCenterFromJSONTyped(json: any, ignoreDiscriminator: boolean): VCenter {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'id': json['id'],
49
- };
50
- }
51
-
52
- export function VCenterToJSON(value?: VCenter | null): any {
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
-
58
- 'id': value['id'],
59
- };
60
- }
61
-