@migration-planner-ui/api-client 0.0.31 → 0.0.33

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 +5 -4
  3. package/dist/apis/AssessmentApi.d.ts.map +1 -0
  4. package/dist/apis/AssessmentApi.js +17 -9
  5. package/dist/apis/HealthApi.d.ts +4 -3
  6. package/dist/apis/HealthApi.d.ts.map +1 -0
  7. package/dist/apis/HealthApi.js +5 -4
  8. package/dist/apis/ImageApi.d.ts +5 -4
  9. package/dist/apis/ImageApi.d.ts.map +1 -0
  10. package/dist/apis/ImageApi.js +10 -6
  11. package/dist/apis/InfoApi.d.ts +5 -4
  12. package/dist/apis/InfoApi.d.ts.map +1 -0
  13. package/dist/apis/InfoApi.js +6 -5
  14. package/dist/apis/JobApi.d.ts +5 -4
  15. package/dist/apis/JobApi.d.ts.map +1 -0
  16. package/dist/apis/JobApi.js +12 -7
  17. package/dist/apis/SourceApi.d.ts +5 -4
  18. package/dist/apis/SourceApi.d.ts.map +1 -0
  19. package/dist/apis/SourceApi.js +22 -11
  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 +5 -3
  27. package/dist/models/Agent.d.ts.map +1 -0
  28. package/dist/models/Agent.js +8 -5
  29. package/dist/models/AgentProxy.d.ts +5 -3
  30. package/dist/models/AgentProxy.d.ts.map +1 -0
  31. package/dist/models/AgentProxy.js +6 -3
  32. package/dist/models/Assessment.d.ts +7 -5
  33. package/dist/models/Assessment.d.ts.map +1 -0
  34. package/dist/models/Assessment.js +10 -7
  35. package/dist/models/AssessmentForm.d.ts +6 -4
  36. package/dist/models/AssessmentForm.d.ts.map +1 -0
  37. package/dist/models/AssessmentForm.js +7 -4
  38. package/dist/models/AssessmentUpdate.d.ts +5 -3
  39. package/dist/models/AssessmentUpdate.d.ts.map +1 -0
  40. package/dist/models/AssessmentUpdate.js +6 -3
  41. package/dist/models/Datastore.d.ts +5 -3
  42. package/dist/models/Datastore.d.ts.map +1 -0
  43. package/dist/models/Datastore.js +6 -3
  44. package/dist/models/DiskSizeTierSummary.d.ts +5 -3
  45. package/dist/models/DiskSizeTierSummary.d.ts.map +1 -0
  46. package/dist/models/DiskSizeTierSummary.js +6 -3
  47. package/dist/models/DiskTypeSummary.d.ts +5 -3
  48. package/dist/models/DiskTypeSummary.d.ts.map +1 -0
  49. package/dist/models/DiskTypeSummary.js +6 -3
  50. package/dist/models/Histogram.d.ts +5 -3
  51. package/dist/models/Histogram.d.ts.map +1 -0
  52. package/dist/models/Histogram.js +6 -3
  53. package/dist/models/Host.d.ts +5 -3
  54. package/dist/models/Host.d.ts.map +1 -0
  55. package/dist/models/Host.js +6 -3
  56. package/dist/models/Info.d.ts +5 -3
  57. package/dist/models/Info.d.ts.map +1 -0
  58. package/dist/models/Info.js +6 -3
  59. package/dist/models/Infra.d.ts +11 -9
  60. package/dist/models/Infra.d.ts.map +1 -0
  61. package/dist/models/Infra.js +13 -10
  62. package/dist/models/Inventory.d.ts +7 -5
  63. package/dist/models/Inventory.d.ts.map +1 -0
  64. package/dist/models/Inventory.js +10 -7
  65. package/dist/models/InventoryData.d.ts +8 -6
  66. package/dist/models/InventoryData.d.ts.map +1 -0
  67. package/dist/models/InventoryData.js +9 -6
  68. package/dist/models/Ipv4Config.d.ts +5 -3
  69. package/dist/models/Ipv4Config.d.ts.map +1 -0
  70. package/dist/models/Ipv4Config.js +6 -3
  71. package/dist/models/Job.d.ts +6 -4
  72. package/dist/models/Job.d.ts.map +1 -0
  73. package/dist/models/Job.js +7 -4
  74. package/dist/models/JobStatus.d.ts +4 -2
  75. package/dist/models/JobStatus.d.ts.map +1 -0
  76. package/dist/models/JobStatus.js +5 -2
  77. package/dist/models/Label.d.ts +5 -3
  78. package/dist/models/Label.d.ts.map +1 -0
  79. package/dist/models/Label.js +6 -3
  80. package/dist/models/MigrationIssue.d.ts +5 -3
  81. package/dist/models/MigrationIssue.d.ts.map +1 -0
  82. package/dist/models/MigrationIssue.js +6 -3
  83. package/dist/models/ModelError.d.ts +5 -3
  84. package/dist/models/ModelError.d.ts.map +1 -0
  85. package/dist/models/ModelError.js +6 -3
  86. package/dist/models/Network.d.ts +5 -3
  87. package/dist/models/Network.d.ts.map +1 -0
  88. package/dist/models/Network.js +6 -3
  89. package/dist/models/OsInfo.d.ts +5 -3
  90. package/dist/models/OsInfo.d.ts.map +1 -0
  91. package/dist/models/OsInfo.js +6 -3
  92. package/dist/models/PresignedUrl.d.ts +5 -3
  93. package/dist/models/PresignedUrl.d.ts.map +1 -0
  94. package/dist/models/PresignedUrl.js +7 -4
  95. package/dist/models/Snapshot.d.ts +6 -4
  96. package/dist/models/Snapshot.d.ts.map +1 -0
  97. package/dist/models/Snapshot.js +8 -5
  98. package/dist/models/Source.d.ts +9 -7
  99. package/dist/models/Source.d.ts.map +1 -0
  100. package/dist/models/Source.js +12 -9
  101. package/dist/models/SourceCreate.d.ts +8 -6
  102. package/dist/models/SourceCreate.d.ts.map +1 -0
  103. package/dist/models/SourceCreate.js +9 -6
  104. package/dist/models/SourceInfra.d.ts +7 -5
  105. package/dist/models/SourceInfra.d.ts.map +1 -0
  106. package/dist/models/SourceInfra.js +8 -5
  107. package/dist/models/SourceUpdate.d.ts +8 -6
  108. package/dist/models/SourceUpdate.d.ts.map +1 -0
  109. package/dist/models/SourceUpdate.js +9 -6
  110. package/dist/models/Status.d.ts +5 -3
  111. package/dist/models/Status.d.ts.map +1 -0
  112. package/dist/models/Status.js +6 -3
  113. package/dist/models/UpdateInventory.d.ts +6 -4
  114. package/dist/models/UpdateInventory.d.ts.map +1 -0
  115. package/dist/models/UpdateInventory.js +7 -4
  116. package/dist/models/VCenter.d.ts +5 -3
  117. package/dist/models/VCenter.d.ts.map +1 -0
  118. package/dist/models/VCenter.js +6 -3
  119. package/dist/models/VMResourceBreakdown.d.ts +6 -4
  120. package/dist/models/VMResourceBreakdown.d.ts.map +1 -0
  121. package/dist/models/VMResourceBreakdown.js +7 -4
  122. package/dist/models/VMs.d.ts +13 -11
  123. package/dist/models/VMs.d.ts.map +1 -0
  124. package/dist/models/VMs.js +16 -13
  125. package/dist/models/VmNetwork.d.ts +6 -4
  126. package/dist/models/VmNetwork.d.ts.map +1 -0
  127. package/dist/models/VmNetwork.js +7 -4
  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 +7 -3
  132. package/dist/runtime.d.ts.map +1 -0
  133. package/dist/runtime.js +11 -3
  134. package/package.json +19 -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 -174
  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 -229
  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,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,4 +40,6 @@ export interface Histogram {
40
40
  export declare function instanceOfHistogram(value: object): value is Histogram;
41
41
  export declare function HistogramFromJSON(json: any): Histogram;
42
42
  export declare function HistogramFromJSONTyped(json: any, ignoreDiscriminator: boolean): Histogram;
43
- export declare function HistogramToJSON(value?: Histogram | null): any;
43
+ export declare function HistogramToJSON(json: any): Histogram;
44
+ export declare function HistogramToJSONTyped(value?: Histogram | null, ignoreDiscriminator?: boolean): any;
45
+ //# sourceMappingURL=Histogram.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Histogram.d.ts","sourceRoot":"","sources":["../../src/models/Histogram.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAKrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -36,7 +36,10 @@ export function HistogramFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'data': json['data'],
37
37
  };
38
38
  }
39
- export function HistogramToJSON(value) {
39
+ export function HistogramToJSON(json) {
40
+ return HistogramToJSONTyped(json, false);
41
+ }
42
+ export function HistogramToJSONTyped(value, ignoreDiscriminator = false) {
40
43
  if (value == null) {
41
44
  return value;
42
45
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -58,4 +58,6 @@ export interface Host {
58
58
  export declare function instanceOfHost(value: object): value is Host;
59
59
  export declare function HostFromJSON(json: any): Host;
60
60
  export declare function HostFromJSONTyped(json: any, ignoreDiscriminator: boolean): Host;
61
- export declare function HostToJSON(value?: Host | null): any;
61
+ export declare function HostToJSON(json: any): Host;
62
+ export declare function HostToJSONTyped(value?: Host | null, ignoreDiscriminator?: boolean): any;
63
+ //# sourceMappingURL=Host.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Host.d.ts","sourceRoot":"","sources":["../../src/models/Host.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAI3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAa/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc9F"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -37,7 +37,10 @@ export function HostFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'memoryMB': json['memoryMB'] == null ? undefined : json['memoryMB'],
38
38
  };
39
39
  }
40
- export function HostToJSON(value) {
40
+ export function HostToJSON(json) {
41
+ return HostToJSONTyped(json, false);
42
+ }
43
+ export function HostToJSONTyped(value, ignoreDiscriminator = false) {
41
44
  if (value == null) {
42
45
  return value;
43
46
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,4 +34,6 @@ export interface Info {
34
34
  export declare function instanceOfInfo(value: object): value is Info;
35
35
  export declare function InfoFromJSON(json: any): Info;
36
36
  export declare function InfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Info;
37
- export declare function InfoToJSON(value?: Info | null): any;
37
+ export declare function InfoToJSON(json: any): Info;
38
+ export declare function InfoToJSONTyped(value?: Info | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=Info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Info.d.ts","sourceRoot":"","sources":["../../src/models/Info.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,IAAI;IACjB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,IAAI,CAI3D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE5C;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAS/E;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI,CAE1C;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9F"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,7 +33,10 @@ export function InfoFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'versionName': json['versionName'],
34
34
  };
35
35
  }
36
- export function InfoToJSON(value) {
36
+ export function InfoToJSON(json) {
37
+ return InfoToJSONTyped(json, false);
38
+ }
39
+ export function InfoToJSONTyped(value, ignoreDiscriminator = false) {
37
40
  if (value == null) {
38
41
  return value;
39
42
  }
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Datastore } from './Datastore';
13
- import type { Network } from './Network';
14
- import type { Host } from './Host';
12
+ import type { Datastore } from './Datastore.js';
13
+ import type { Network } from './Network.js';
14
+ import type { Host } from './Host.js';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -82,19 +82,19 @@ export interface Infra {
82
82
  */
83
83
  hostPowerStates: {
84
84
  [key: string]: number;
85
- };
85
+ } | null;
86
86
  /**
87
87
  *
88
88
  * @type {Array<Network>}
89
89
  * @memberof Infra
90
90
  */
91
- networks: Array<Network>;
91
+ networks: Array<Network> | null;
92
92
  /**
93
93
  *
94
94
  * @type {Array<Datastore>}
95
95
  * @memberof Infra
96
96
  */
97
- datastores: Array<Datastore>;
97
+ datastores: Array<Datastore> | null;
98
98
  }
99
99
  /**
100
100
  * Check if a given object implements the Infra interface.
@@ -102,4 +102,6 @@ export interface Infra {
102
102
  export declare function instanceOfInfra(value: object): value is Infra;
103
103
  export declare function InfraFromJSON(json: any): Infra;
104
104
  export declare function InfraFromJSONTyped(json: any, ignoreDiscriminator: boolean): Infra;
105
- export declare function InfraToJSON(value?: Infra | null): any;
105
+ export declare function InfraToJSON(json: any): Infra;
106
+ export declare function InfraToJSONTyped(value?: Infra | null, ignoreDiscriminator?: boolean): any;
107
+ //# sourceMappingURL=Infra.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Infra.d.ts","sourceRoot":"","sources":["../../src/models/Infra.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAOhD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAQtC;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;IACpB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;;OAIG;IACH,eAAe,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAM7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAmBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAoBhG"}
@@ -2,18 +2,18 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { DatastoreFromJSON, DatastoreToJSON, } from './Datastore';
15
- import { NetworkFromJSON, NetworkToJSON, } from './Network';
16
- import { HostFromJSON, HostToJSON, } from './Host';
14
+ import { DatastoreFromJSON, DatastoreToJSON, } from './Datastore.js';
15
+ import { NetworkFromJSON, NetworkToJSON, } from './Network.js';
16
+ import { HostFromJSON, HostToJSON, } from './Host.js';
17
17
  /**
18
18
  * Check if a given object implements the Infra interface.
19
19
  */
@@ -46,11 +46,14 @@ export function InfraFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'hostsPerCluster': json['hostsPerCluster'] == null ? undefined : json['hostsPerCluster'],
47
47
  'vmsPerCluster': json['vmsPerCluster'] == null ? undefined : json['vmsPerCluster'],
48
48
  'hostPowerStates': json['hostPowerStates'],
49
- 'networks': json['networks'] == null ? undefined : (json['networks'].map(NetworkFromJSON)),
50
- 'datastores': json['datastores'] == null ? undefined : (json['datastores'].map(DatastoreFromJSON)),
49
+ 'networks': (json['networks'] == null ? null : json['networks'].map(NetworkFromJSON)),
50
+ 'datastores': (json['datastores'] == null ? null : json['datastores'].map(DatastoreFromJSON)),
51
51
  };
52
52
  }
53
- export function InfraToJSON(value) {
53
+ export function InfraToJSON(json) {
54
+ return InfraToJSONTyped(json, false);
55
+ }
56
+ export function InfraToJSONTyped(value, ignoreDiscriminator = false) {
54
57
  if (value == null) {
55
58
  return value;
56
59
  }
@@ -65,7 +68,7 @@ export function InfraToJSON(value) {
65
68
  'hostsPerCluster': value['hostsPerCluster'],
66
69
  'vmsPerCluster': value['vmsPerCluster'],
67
70
  'hostPowerStates': value['hostPowerStates'],
68
- 'networks': (value['networks'].map(NetworkToJSON)),
69
- 'datastores': (value['datastores'].map(DatastoreToJSON)),
71
+ 'networks': (value['networks'] == null ? null : value['networks'].map(NetworkToJSON)),
72
+ 'datastores': (value['datastores'] == null ? null : value['datastores'].map(DatastoreToJSON)),
70
73
  };
71
74
  }
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { InventoryData } from './InventoryData';
12
+ import type { InventoryData } from './InventoryData.js';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -29,7 +29,7 @@ export interface Inventory {
29
29
  */
30
30
  clusters: {
31
31
  [key: string]: InventoryData;
32
- };
32
+ } | null;
33
33
  /**
34
34
  *
35
35
  * @type {InventoryData}
@@ -43,4 +43,6 @@ export interface Inventory {
43
43
  export declare function instanceOfInventory(value: object): value is Inventory;
44
44
  export declare function InventoryFromJSON(json: any): Inventory;
45
45
  export declare function InventoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inventory;
46
- export declare function InventoryToJSON(value?: Inventory | null): any;
46
+ export declare function InventoryToJSON(json: any): Inventory;
47
+ export declare function InventoryToJSONTyped(value?: Inventory | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=Inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Inventory.d.ts","sourceRoot":"","sources":["../../src/models/Inventory.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQxD;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACtB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;KAAE,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,SAAS,CAIrE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAUzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEpD;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
@@ -2,17 +2,17 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { mapValues } from '../runtime';
15
- import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData';
14
+ import { mapValues } from '../runtime.js';
15
+ import { InventoryDataFromJSON, InventoryDataToJSON, } from './InventoryData.js';
16
16
  /**
17
17
  * Check if a given object implements the Inventory interface.
18
18
  */
@@ -32,17 +32,20 @@ export function InventoryFromJSONTyped(json, ignoreDiscriminator) {
32
32
  }
33
33
  return {
34
34
  'vcenterId': json['vcenter_id'],
35
- 'clusters': json['clusters'] == null ? undefined : (mapValues(json['clusters'], InventoryDataFromJSON)),
35
+ 'clusters': (json['clusters'] == null ? null : mapValues(json['clusters'], InventoryDataFromJSON)),
36
36
  'vcenter': json['vcenter'] == null ? undefined : InventoryDataFromJSON(json['vcenter']),
37
37
  };
38
38
  }
39
- export function InventoryToJSON(value) {
39
+ export function InventoryToJSON(json) {
40
+ return InventoryToJSONTyped(json, false);
41
+ }
42
+ export function InventoryToJSONTyped(value, ignoreDiscriminator = false) {
40
43
  if (value == null) {
41
44
  return value;
42
45
  }
43
46
  return {
44
47
  'vcenter_id': value['vcenterId'],
45
- 'clusters': value['clusters'] == null ? undefined : (mapValues(value['clusters'], InventoryDataToJSON)),
48
+ 'clusters': (value['clusters'] == null ? null : mapValues(value['clusters'], InventoryDataToJSON)),
46
49
  'vcenter': InventoryDataToJSON(value['vcenter']),
47
50
  };
48
51
  }
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { VCenter } from './VCenter';
13
- import type { Infra } from './Infra';
14
- import type { VMs } from './VMs';
12
+ import type { VCenter } from './VCenter.js';
13
+ import type { Infra } from './Infra.js';
14
+ import type { VMs } from './VMs.js';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -43,4 +43,6 @@ export interface InventoryData {
43
43
  export declare function instanceOfInventoryData(value: object): value is InventoryData;
44
44
  export declare function InventoryDataFromJSON(json: any): InventoryData;
45
45
  export declare function InventoryDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryData;
46
- export declare function InventoryDataToJSON(value?: InventoryData | null): any;
46
+ export declare function InventoryDataToJSON(json: any): InventoryData;
47
+ export declare function InventoryDataToJSONTyped(value?: InventoryData | null, ignoreDiscriminator?: boolean): any;
48
+ //# sourceMappingURL=InventoryData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventoryData.d.ts","sourceRoot":"","sources":["../../src/models/InventoryData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAO5C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAOxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAQpC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,GAAG,EAAE,GAAG,CAAC;IACT;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAI7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,aAAa,CAUjG;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWhH"}
@@ -2,18 +2,18 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { VCenterFromJSON, VCenterToJSON, } from './VCenter';
15
- import { InfraFromJSON, InfraToJSON, } from './Infra';
16
- import { VMsFromJSON, VMsToJSON, } from './VMs';
14
+ import { VCenterFromJSON, VCenterToJSON, } from './VCenter.js';
15
+ import { InfraFromJSON, InfraToJSON, } from './Infra.js';
16
+ import { VMsFromJSON, VMsToJSON, } from './VMs.js';
17
17
  /**
18
18
  * Check if a given object implements the InventoryData interface.
19
19
  */
@@ -37,7 +37,10 @@ export function InventoryDataFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'infra': InfraFromJSON(json['infra']),
38
38
  };
39
39
  }
40
- export function InventoryDataToJSON(value) {
40
+ export function InventoryDataToJSON(json) {
41
+ return InventoryDataToJSONTyped(json, false);
42
+ }
43
+ export function InventoryDataToJSONTyped(value, ignoreDiscriminator = false) {
41
44
  if (value == null) {
42
45
  return value;
43
46
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,4 +46,6 @@ export interface Ipv4Config {
46
46
  export declare function instanceOfIpv4Config(value: object): value is Ipv4Config;
47
47
  export declare function Ipv4ConfigFromJSON(json: any): Ipv4Config;
48
48
  export declare function Ipv4ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ipv4Config;
49
- export declare function Ipv4ConfigToJSON(value?: Ipv4Config | null): any;
49
+ export declare function Ipv4ConfigToJSON(json: any): Ipv4Config;
50
+ export declare function Ipv4ConfigToJSONTyped(value?: Ipv4Config | null, ignoreDiscriminator?: boolean): any;
51
+ //# sourceMappingURL=Ipv4Config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Ipv4Config.d.ts","sourceRoot":"","sources":["../../src/models/Ipv4Config.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAMvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAW3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY1G"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -39,7 +39,10 @@ export function Ipv4ConfigFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'dns': json['dns'],
40
40
  };
41
41
  }
42
- export function Ipv4ConfigToJSON(value) {
42
+ export function Ipv4ConfigToJSON(json) {
43
+ return Ipv4ConfigToJSONTyped(json, false);
44
+ }
45
+ export function Ipv4ConfigToJSONTyped(value, ignoreDiscriminator = false) {
43
46
  if (value == null) {
44
47
  return value;
45
48
  }
@@ -1,15 +1,15 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { JobStatus } from './JobStatus';
12
+ import type { JobStatus } from './JobStatus.js';
13
13
  /**
14
14
  * Background job for async assessment creation
15
15
  * @export
@@ -47,4 +47,6 @@ export interface Job {
47
47
  export declare function instanceOfJob(value: object): value is Job;
48
48
  export declare function JobFromJSON(json: any): Job;
49
49
  export declare function JobFromJSONTyped(json: any, ignoreDiscriminator: boolean): Job;
50
- export declare function JobToJSON(value?: Job | null): any;
50
+ export declare function JobToJSON(json: any): Job;
51
+ export declare function JobToJSONTyped(value?: Job | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=Job.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Job.d.ts","sourceRoot":"","sources":["../../src/models/Job.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQhD;;;;GAIG;AACH,MAAM,WAAW,GAAG;IAChB;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,MAAM,EAAE,SAAS,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB;AAID;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,GAAG,CAIzD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAE1C;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,GAAG,CAW7E;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAExC;AAED,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAY5F"}
@@ -2,16 +2,16 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { JobStatusFromJSON, JobStatusToJSON, } from './JobStatus';
14
+ import { JobStatusFromJSON, JobStatusToJSON, } from './JobStatus.js';
15
15
  /**
16
16
  * Check if a given object implements the Job interface.
17
17
  */
@@ -36,7 +36,10 @@ export function JobFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'assessmentId': json['assessmentId'] == null ? undefined : json['assessmentId'],
37
37
  };
38
38
  }
39
- export function JobToJSON(value) {
39
+ export function JobToJSON(json) {
40
+ return JobToJSONTyped(json, false);
41
+ }
42
+ export function JobToJSONTyped(value, ignoreDiscriminator = false) {
40
43
  if (value == null) {
41
44
  return value;
42
45
  }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,3 +33,5 @@ export declare function instanceOfJobStatus(value: any): boolean;
33
33
  export declare function JobStatusFromJSON(json: any): JobStatus;
34
34
  export declare function JobStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobStatus;
35
35
  export declare function JobStatusToJSON(value?: JobStatus | null): any;
36
+ export declare function JobStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): JobStatus;
37
+ //# sourceMappingURL=JobStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobStatus.d.ts","sourceRoot":"","sources":["../../src/models/JobStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AACX,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAGjE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASvD;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAEzF;AAED,wBAAgB,eAAe,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,GAAG,GAAG,CAE7D;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAExF"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -49,3 +49,6 @@ export function JobStatusFromJSONTyped(json, ignoreDiscriminator) {
49
49
  export function JobStatusToJSON(value) {
50
50
  return value;
51
51
  }
52
+ export function JobStatusToJSONTyped(value, ignoreDiscriminator) {
53
+ return value;
54
+ }
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Migration Planner API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
3
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
4
4
  *
5
- * The version of the OpenAPI document: undefined
5
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -34,4 +34,6 @@ export interface Label {
34
34
  export declare function instanceOfLabel(value: object): value is Label;
35
35
  export declare function LabelFromJSON(json: any): Label;
36
36
  export declare function LabelFromJSONTyped(json: any, ignoreDiscriminator: boolean): Label;
37
- export declare function LabelToJSON(value?: Label | null): any;
37
+ export declare function LabelToJSON(json: any): Label;
38
+ export declare function LabelToJSONTyped(value?: Label | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../src/models/Label.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAI7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CASjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhG"}
@@ -2,9 +2,9 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Migration Planner API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ * Based on: https://github.com/kubev2v/migration-planner/blob/e8c0ddb122bf87bd9fc79cba6e52d159a334f093/api/v1alpha1/openapi.yaml
6
6
  *
7
- * The version of the OpenAPI document: undefined
7
+ * The version of the OpenAPI document: 0.4.0-e8c0ddb1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,7 +33,10 @@ export function LabelFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'value': json['value'],
34
34
  };
35
35
  }
36
- export function LabelToJSON(value) {
36
+ export function LabelToJSON(json) {
37
+ return LabelToJSONTyped(json, false);
38
+ }
39
+ export function LabelToJSONTyped(value, ignoreDiscriminator = false) {
37
40
  if (value == null) {
38
41
  return value;
39
42
  }