@sonatype/nexus-iq-api-client 0.184.1 → 0.184.3

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 (256) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/dist/apis/ComponentsApi.d.ts +5 -5
  4. package/dist/apis/ComponentsApi.js +3 -2
  5. package/dist/esm/apis/ComponentsApi.d.ts +5 -5
  6. package/dist/esm/apis/ComponentsApi.js +4 -3
  7. package/dist/esm/models/ApiComponentDTOV2.d.ts +1 -1
  8. package/dist/esm/models/GetSuggestedRemediationForComponent200Response.d.ts +33 -0
  9. package/dist/esm/models/GetSuggestedRemediationForComponent200Response.js +44 -0
  10. package/dist/esm/models/index.d.ts +1 -0
  11. package/dist/esm/models/index.js +1 -0
  12. package/dist/esm/runtime.d.ts +1 -0
  13. package/dist/esm/runtime.js +4 -0
  14. package/dist/models/ApiComponentDTOV2.d.ts +1 -1
  15. package/dist/models/GetSuggestedRemediationForComponent200Response.d.ts +33 -0
  16. package/dist/models/GetSuggestedRemediationForComponent200Response.js +51 -0
  17. package/dist/models/index.d.ts +1 -0
  18. package/dist/models/index.js +1 -0
  19. package/dist/runtime.d.ts +1 -0
  20. package/dist/runtime.js +5 -0
  21. package/package.json +2 -1
  22. package/src/apis/ComponentsApi.ts +10 -6
  23. package/src/models/Action.ts +4 -4
  24. package/src/models/ApiApplicationBaseDTO.ts +4 -4
  25. package/src/models/ApiApplicationCategoryDTO.ts +4 -4
  26. package/src/models/ApiApplicationDTO.ts +4 -4
  27. package/src/models/ApiApplicationEvaluationCommitDTO.ts +4 -4
  28. package/src/models/ApiApplicationEvaluationResultDTOV2.ts +4 -4
  29. package/src/models/ApiApplicationEvaluationStatusDTOV2.ts +4 -4
  30. package/src/models/ApiApplicationListDTO.ts +4 -4
  31. package/src/models/ApiApplicationReportDTOV2.ts +4 -4
  32. package/src/models/ApiApplicationTagDTO.ts +4 -4
  33. package/src/models/ApiApplicationViolationDTOV2.ts +4 -4
  34. package/src/models/ApiApplicationViolationListDTOV2.ts +4 -4
  35. package/src/models/ApiApplicationWaiverDTO.ts +4 -4
  36. package/src/models/ApiArtifactoryConnectionDTO.ts +4 -4
  37. package/src/models/ApiArtifactoryConnectionStatusRequestDTO.ts +4 -4
  38. package/src/models/ApiArtifactoryConnectionStatusResponseDTO.ts +4 -4
  39. package/src/models/ApiAutoPolicyWaiverDTO.ts +4 -4
  40. package/src/models/ApiAutoPolicyWaiverRevocationDTO.ts +4 -4
  41. package/src/models/ApiAutoPolicyWaiverStatusDTO.ts +4 -4
  42. package/src/models/ApiComponentChangeActionDTO.ts +4 -4
  43. package/src/models/ApiComponentDTOV2.ts +5 -5
  44. package/src/models/ApiComponentDetailsDTOV2.ts +4 -4
  45. package/src/models/ApiComponentDetailsRequestDTOV2.ts +4 -4
  46. package/src/models/ApiComponentDetailsResultDTOV2.ts +4 -4
  47. package/src/models/ApiComponentEvaluationRequestDTOV2.ts +4 -4
  48. package/src/models/ApiComponentEvaluationResultDTOV2.ts +4 -4
  49. package/src/models/ApiComponentEvaluationTicketDTOV2.ts +4 -4
  50. package/src/models/ApiComponentIdentifierDTOV2.ts +4 -4
  51. package/src/models/ApiComponentOrPurlIdentifierDTOV2.ts +4 -4
  52. package/src/models/ApiComponentPolicyViolationDTO.ts +4 -4
  53. package/src/models/ApiComponentPolicyViolationListDTOV2.ts +4 -4
  54. package/src/models/ApiComponentPolicyWaiversDTO.ts +4 -4
  55. package/src/models/ApiComponentProjectDataDTO.ts +4 -4
  56. package/src/models/ApiComponentProjectMetadataDTO.ts +4 -4
  57. package/src/models/ApiComponentProjectScmDTO.ts +4 -4
  58. package/src/models/ApiComponentProjectScmDetailsDTO.ts +4 -4
  59. package/src/models/ApiComponentProjectScmMetadataDTO.ts +4 -4
  60. package/src/models/ApiComponentReleasedFromQuarantineDTO.ts +4 -4
  61. package/src/models/ApiComponentRemediationDTO.ts +4 -4
  62. package/src/models/ApiComponentRemediationValueDTO.ts +4 -4
  63. package/src/models/ApiComponentTransitivePolicyViolationsDTO.ts +4 -4
  64. package/src/models/ApiComponentWaiversDTO.ts +4 -4
  65. package/src/models/ApiComponentsInQuarantineDTO.ts +4 -4
  66. package/src/models/ApiCompositeSourceControlDTO.ts +4 -4
  67. package/src/models/ApiCompositeValueDTOBoolean.ts +4 -4
  68. package/src/models/ApiCompositeValueDTOString.ts +4 -4
  69. package/src/models/ApiConditionFactReasonDTO.ts +4 -4
  70. package/src/models/ApiConstraintFactDTO.ts +4 -4
  71. package/src/models/ApiConstraintViolationDTO.ts +4 -4
  72. package/src/models/ApiConstraintViolationReasonDTO.ts +4 -4
  73. package/src/models/ApiCrossStageViolationDTOV2.ts +4 -4
  74. package/src/models/ApiCrowdConfigurationDTO.ts +4 -4
  75. package/src/models/ApiDataRetentionPoliciesDTO.ts +4 -4
  76. package/src/models/ApiDependencyDataDTO.ts +4 -4
  77. package/src/models/ApiDependencyTreeNodeDTO.ts +4 -4
  78. package/src/models/ApiDependencyTreeResponseDTO.ts +4 -4
  79. package/src/models/ApiEnhancedPolicyViolationDTOV2.ts +4 -4
  80. package/src/models/ApiEvaluationResultCounterDTO.ts +4 -4
  81. package/src/models/ApiFirewallMetricsResultDTO.ts +4 -4
  82. package/src/models/ApiFirewallQuarantineSummaryDTO.ts +4 -4
  83. package/src/models/ApiFirewallReleaseQuarantineConfigDTO.ts +4 -4
  84. package/src/models/ApiFirewallReleaseQuarantineSummaryDTO.ts +4 -4
  85. package/src/models/ApiGlobalInformationDTOV2.ts +4 -4
  86. package/src/models/ApiHashComponentIdentifierDTO.ts +4 -4
  87. package/src/models/ApiHashComponentIdentifiersDTO.ts +4 -4
  88. package/src/models/ApiJiraConfigurationDTO.ts +4 -4
  89. package/src/models/ApiLabelDTO.ts +4 -4
  90. package/src/models/ApiLicenseDTO.ts +4 -4
  91. package/src/models/ApiLicenseDataDTO.ts +4 -4
  92. package/src/models/ApiLicenseDataDTOV2.ts +4 -4
  93. package/src/models/ApiLicenseLegalApplicationReportDTO.ts +4 -4
  94. package/src/models/ApiLicenseLegalComponentDTO.ts +4 -4
  95. package/src/models/ApiLicenseLegalComponentReportDTO.ts +4 -4
  96. package/src/models/ApiLicenseLegalCopyrightDTO.ts +4 -4
  97. package/src/models/ApiLicenseLegalDataDTO.ts +4 -4
  98. package/src/models/ApiLicenseLegalFileDTO.ts +4 -4
  99. package/src/models/ApiLicenseLegalMetadataDTO.ts +4 -4
  100. package/src/models/ApiLicenseLegalObligationDTO.ts +4 -4
  101. package/src/models/ApiLicenseLegalStageScanDTO.ts +4 -4
  102. package/src/models/ApiLicenseThreatDTOV2.ts +4 -4
  103. package/src/models/ApiLicensedSolutionDTO.ts +4 -4
  104. package/src/models/ApiMailConfigurationDTO.ts +4 -4
  105. package/src/models/ApiMalwareComponentEvaluationRequest.ts +4 -4
  106. package/src/models/ApiMalwareComponentEvaluationRequestList.ts +4 -4
  107. package/src/models/ApiMatchStateSummaryDTOV2.ts +4 -4
  108. package/src/models/ApiMemberDTO.ts +4 -4
  109. package/src/models/ApiMetricsReportingQueryDTOV2.ts +4 -4
  110. package/src/models/ApiMoveApplicationResponseDTOV2.ts +4 -4
  111. package/src/models/ApiOrganizationDTO.ts +4 -4
  112. package/src/models/ApiOrganizationListDTO.ts +4 -4
  113. package/src/models/ApiOwnerArtifactoryConnectionDTO.ts +4 -4
  114. package/src/models/ApiOwnerDTO.ts +4 -4
  115. package/src/models/ApiPageResultPrioritizedComponent.ts +4 -4
  116. package/src/models/ApiPolicyDTO.ts +4 -4
  117. package/src/models/ApiPolicyListDTO.ts +4 -4
  118. package/src/models/ApiPolicyViolationDTOV2.ts +4 -4
  119. package/src/models/ApiPolicyViolationDiffDTO.ts +4 -4
  120. package/src/models/ApiPolicyViolationForDiffDTO.ts +4 -4
  121. package/src/models/ApiPolicyViolationStageDTO.ts +4 -4
  122. package/src/models/ApiPolicyWaiverDTO.ts +4 -4
  123. package/src/models/ApiPolicyWaiverReasonDTO.ts +4 -4
  124. package/src/models/ApiPolicyWaiversApplicableToViolationDTO.ts +4 -4
  125. package/src/models/ApiPromoteScanRequestDTOV2.ts +4 -4
  126. package/src/models/ApiProxyServerConfigurationDTO.ts +4 -4
  127. package/src/models/ApiPullRequestResult.ts +4 -4
  128. package/src/models/ApiPullRequestResults.ts +4 -4
  129. package/src/models/ApiReportComponentDTOV2.ts +4 -4
  130. package/src/models/ApiReportComponentPolicyViolationsDTOV2.ts +4 -4
  131. package/src/models/ApiReportConstraintConditionDTOV2.ts +4 -4
  132. package/src/models/ApiReportConstraintViolationDTOV2.ts +4 -4
  133. package/src/models/ApiReportHistoryDTO.ts +4 -4
  134. package/src/models/ApiReportPolicyDataDTOV2.ts +4 -4
  135. package/src/models/ApiReportPolicyViolationDTOV2.ts +4 -4
  136. package/src/models/ApiReportRawDataDTOV2.ts +4 -4
  137. package/src/models/ApiReportResultsDTO.ts +4 -4
  138. package/src/models/ApiReportRetentionPoliciesDTO.ts +4 -4
  139. package/src/models/ApiReportRetentionPolicyDTO.ts +4 -4
  140. package/src/models/ApiRepositoryComponentDTO.ts +4 -4
  141. package/src/models/ApiRepositoryComponentEvaluationRequest.ts +4 -4
  142. package/src/models/ApiRepositoryComponentEvaluationRequestList.ts +4 -4
  143. package/src/models/ApiRepositoryComponentEvaluationResult.ts +4 -4
  144. package/src/models/ApiRepositoryComponentEvaluationResultList.ts +4 -4
  145. package/src/models/ApiRepositoryComponentPath.ts +4 -4
  146. package/src/models/ApiRepositoryComponentPolicyViolationDTO.ts +4 -4
  147. package/src/models/ApiRepositoryComponentsInQuarantineDTO.ts +4 -4
  148. package/src/models/ApiRepositoryContainerDTO.ts +4 -4
  149. package/src/models/ApiRepositoryDTO.ts +4 -4
  150. package/src/models/ApiRepositoryListDTO.ts +4 -4
  151. package/src/models/ApiRepositoryManagerDTO.ts +4 -4
  152. package/src/models/ApiRepositoryManagerListDTO.ts +4 -4
  153. package/src/models/ApiRepositoryPathResponseDTO.ts +4 -4
  154. package/src/models/ApiRepositoryPathVersions.ts +4 -4
  155. package/src/models/ApiRepositoryWaiverDTO.ts +4 -4
  156. package/src/models/ApiRequestPolicyWaiverDTO.ts +4 -4
  157. package/src/models/ApiReverseProxyAuthenticationConfigurationDTO.ts +4 -4
  158. package/src/models/ApiRoleDTO.ts +4 -4
  159. package/src/models/ApiRoleListDTO.ts +4 -4
  160. package/src/models/ApiRoleMemberMappingDTO.ts +4 -4
  161. package/src/models/ApiRoleMemberMappingListDTO.ts +4 -4
  162. package/src/models/ApiSamlConfigurationDTO.ts +4 -4
  163. package/src/models/ApiSamlConfigurationResponseDTO.ts +4 -4
  164. package/src/models/ApiSbomStatusDTO.ts +4 -4
  165. package/src/models/ApiSearchCriteriaDTOV2.ts +4 -4
  166. package/src/models/ApiSearchResultDTOV2.ts +4 -4
  167. package/src/models/ApiSearchResultsDTOV2.ts +4 -4
  168. package/src/models/ApiSecurityDataDTO.ts +4 -4
  169. package/src/models/ApiSecurityIssueAnalysisDTO.ts +4 -4
  170. package/src/models/ApiSecurityIssueDTO.ts +4 -4
  171. package/src/models/ApiSecurityVulnerabilityOverrideDTOV2.ts +4 -4
  172. package/src/models/ApiSecurityVulnerabilityOverrideResponseDTOV2.ts +4 -4
  173. package/src/models/ApiSourceControlConfigurationDTO.ts +4 -4
  174. package/src/models/ApiSourceControlDTO.ts +4 -4
  175. package/src/models/ApiSourceControlEvaluationRequestDTO.ts +4 -4
  176. package/src/models/ApiStagePolicyViolationComponentDTO.ts +4 -4
  177. package/src/models/ApiStaleApplicationEvaluationDTO.ts +4 -4
  178. package/src/models/ApiStaleEvaluationStageDTO.ts +4 -4
  179. package/src/models/ApiStaleEvaluationsDTO.ts +4 -4
  180. package/src/models/ApiStaleRepositoryEvaluationDTO.ts +4 -4
  181. package/src/models/ApiStaleWaiverDTO.ts +4 -4
  182. package/src/models/ApiStaleWaiversResponseDTO.ts +4 -4
  183. package/src/models/ApiStatusDTO.ts +4 -4
  184. package/src/models/ApiSuccessMetricsRetentionPolicyDTO.ts +4 -4
  185. package/src/models/ApiSuggestedVersionChangeOptionDTO.ts +4 -4
  186. package/src/models/ApiTagDTO.ts +4 -4
  187. package/src/models/ApiThirdPartyScanResultDTO.ts +4 -4
  188. package/src/models/ApiThirdPartyScanTicketDTO.ts +4 -4
  189. package/src/models/ApiUserDTO.ts +4 -4
  190. package/src/models/ApiUserListDTO.ts +4 -4
  191. package/src/models/ApiUserTokenDTO.ts +4 -4
  192. package/src/models/ApiUserTokenExistsDTO.ts +4 -4
  193. package/src/models/ApiVersionChangeOptionDTO.ts +4 -4
  194. package/src/models/ApiWaivedPolicyViolationDTO.ts +4 -4
  195. package/src/models/ApiWaiverOptionsDTO.ts +4 -4
  196. package/src/models/ApplicableContext.ts +4 -4
  197. package/src/models/ApplicableLabels.ts +4 -4
  198. package/src/models/ApplicableTagsDTO.ts +4 -4
  199. package/src/models/ApplicationTag.ts +4 -4
  200. package/src/models/ApplicationTagsByOwnerDTO.ts +4 -4
  201. package/src/models/AppliedTagsDTO.ts +4 -4
  202. package/src/models/AttachmentText.ts +4 -4
  203. package/src/models/AttributionReportTemplateDTO.ts +4 -4
  204. package/src/models/ComponentDisplayName.ts +4 -4
  205. package/src/models/ComponentDisplayNamePart.ts +4 -4
  206. package/src/models/ComponentFact.ts +4 -4
  207. package/src/models/ComponentIdentifier.ts +4 -4
  208. package/src/models/ComponentLocator.ts +4 -4
  209. package/src/models/ComponentObligationAttributionDTO.ts +4 -4
  210. package/src/models/ConditionFact.ts +4 -4
  211. package/src/models/ConfigurationValidationResult.ts +4 -4
  212. package/src/models/ConstraintFact.ts +4 -4
  213. package/src/models/CweId.ts +4 -4
  214. package/src/models/DevelopmentPrioritizationResults.ts +4 -4
  215. package/src/models/FormDataContentDisposition.ts +4 -4
  216. package/src/models/GetSuggestedRemediationForComponent200Response.ts +74 -0
  217. package/src/models/GroupingByDTO.ts +4 -4
  218. package/src/models/IdeUsersOverviewDTO.ts +4 -4
  219. package/src/models/ImportSbomRequest.ts +4 -4
  220. package/src/models/InnerSourceData.ts +4 -4
  221. package/src/models/LabelsByOwner.ts +4 -4
  222. package/src/models/LegalSourceLinkDTO.ts +4 -4
  223. package/src/models/License.ts +4 -4
  224. package/src/models/LicenseObligationDTO.ts +4 -4
  225. package/src/models/LicenseThreatGroupDTO.ts +4 -4
  226. package/src/models/MalwareDefenseData.ts +4 -4
  227. package/src/models/MalwareDefenseResponseList.ts +4 -4
  228. package/src/models/PolicyAlert.ts +4 -4
  229. package/src/models/PolicyEvaluationResult.ts +4 -4
  230. package/src/models/PolicyFact.ts +4 -4
  231. package/src/models/PolicyOwner.ts +4 -4
  232. package/src/models/PolicyTag.ts +4 -4
  233. package/src/models/PrioritizedComponent.ts +4 -4
  234. package/src/models/ReferenceLink.ts +4 -4
  235. package/src/models/RootCause.ts +4 -4
  236. package/src/models/SBOMVulnerabilityAnalysisRequest.ts +4 -4
  237. package/src/models/SbomComponentDTO.ts +4 -4
  238. package/src/models/SbomComponentListDTO.ts +4 -4
  239. package/src/models/SearchResultDTO.ts +4 -4
  240. package/src/models/SearchResultItemDTO.ts +4 -4
  241. package/src/models/SecurityVulnerabilityCustomData.ts +4 -4
  242. package/src/models/SecurityVulnerabilityData.ts +4 -4
  243. package/src/models/SecurityVulnerabilitySeverity.ts +4 -4
  244. package/src/models/SecurityVulnerabilityWeakness.ts +4 -4
  245. package/src/models/StageData.ts +4 -4
  246. package/src/models/Swid.ts +4 -4
  247. package/src/models/SystemConfig.ts +4 -4
  248. package/src/models/TagsByOwnerDTO.ts +4 -4
  249. package/src/models/ThirdPartySbomMetadataSummaryDTO.ts +4 -4
  250. package/src/models/ThirdPartySbomMetadataSummaryListDTO.ts +4 -4
  251. package/src/models/TriggerReference.ts +4 -4
  252. package/src/models/ValidationResult.ts +4 -4
  253. package/src/models/VulnerabilityAnalysis.ts +4 -4
  254. package/src/models/VulnerabilitySource.ts +4 -4
  255. package/src/models/index.ts +1 -0
  256. package/src/runtime.ts +5 -0
@@ -77,11 +77,11 @@ export function ConstraintFactFromJSONTyped(json: any, ignoreDiscriminator: bool
77
77
  };
78
78
  }
79
79
 
80
- export function ConstraintFactToJSON(json: any): ConstraintFact {
81
- return ConstraintFactToJSONTyped(json, false);
82
- }
80
+ export function ConstraintFactToJSON(json: any): ConstraintFact {
81
+ return ConstraintFactToJSONTyped(json, false);
82
+ }
83
83
 
84
- export function ConstraintFactToJSONTyped(value?: ConstraintFact | null, ignoreDiscriminator: boolean = false): any {
84
+ export function ConstraintFactToJSONTyped(value?: ConstraintFact | null, ignoreDiscriminator: boolean = false): any {
85
85
  if (value == null) {
86
86
  return value;
87
87
  }
@@ -55,11 +55,11 @@ export function CweIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cwe
55
55
  };
56
56
  }
57
57
 
58
- export function CweIdToJSON(json: any): CweId {
59
- return CweIdToJSONTyped(json, false);
60
- }
58
+ export function CweIdToJSON(json: any): CweId {
59
+ return CweIdToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function CweIdToJSONTyped(value?: CweId | null, ignoreDiscriminator: boolean = false): any {
62
+ export function CweIdToJSONTyped(value?: CweId | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -70,11 +70,11 @@ export function DevelopmentPrioritizationResultsFromJSONTyped(json: any, ignoreD
70
70
  };
71
71
  }
72
72
 
73
- export function DevelopmentPrioritizationResultsToJSON(json: any): DevelopmentPrioritizationResults {
74
- return DevelopmentPrioritizationResultsToJSONTyped(json, false);
75
- }
73
+ export function DevelopmentPrioritizationResultsToJSON(json: any): DevelopmentPrioritizationResults {
74
+ return DevelopmentPrioritizationResultsToJSONTyped(json, false);
75
+ }
76
76
 
77
- export function DevelopmentPrioritizationResultsToJSONTyped(value?: DevelopmentPrioritizationResults | null, ignoreDiscriminator: boolean = false): any {
77
+ export function DevelopmentPrioritizationResultsToJSONTyped(value?: DevelopmentPrioritizationResults | null, ignoreDiscriminator: boolean = false): any {
78
78
  if (value == null) {
79
79
  return value;
80
80
  }
@@ -97,11 +97,11 @@ export function FormDataContentDispositionFromJSONTyped(json: any, ignoreDiscrim
97
97
  };
98
98
  }
99
99
 
100
- export function FormDataContentDispositionToJSON(json: any): FormDataContentDisposition {
101
- return FormDataContentDispositionToJSONTyped(json, false);
102
- }
100
+ export function FormDataContentDispositionToJSON(json: any): FormDataContentDisposition {
101
+ return FormDataContentDispositionToJSONTyped(json, false);
102
+ }
103
103
 
104
- export function FormDataContentDispositionToJSONTyped(value?: FormDataContentDisposition | null, ignoreDiscriminator: boolean = false): any {
104
+ export function FormDataContentDispositionToJSONTyped(value?: FormDataContentDisposition | null, ignoreDiscriminator: boolean = false): any {
105
105
  if (value == null) {
106
106
  return value;
107
107
  }
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sonatype Lifecycle Public REST API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.184.0-01
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 { ApiComponentRemediationValueDTO } from './ApiComponentRemediationValueDTO';
17
+ import {
18
+ ApiComponentRemediationValueDTOFromJSON,
19
+ ApiComponentRemediationValueDTOFromJSONTyped,
20
+ ApiComponentRemediationValueDTOToJSON,
21
+ ApiComponentRemediationValueDTOToJSONTyped,
22
+ } from './ApiComponentRemediationValueDTO';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface GetSuggestedRemediationForComponent200Response
28
+ */
29
+ export interface GetSuggestedRemediationForComponent200Response {
30
+ /**
31
+ *
32
+ * @type {ApiComponentRemediationValueDTO}
33
+ * @memberof GetSuggestedRemediationForComponent200Response
34
+ */
35
+ remediation: ApiComponentRemediationValueDTO;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the GetSuggestedRemediationForComponent200Response interface.
40
+ */
41
+ export function instanceOfGetSuggestedRemediationForComponent200Response(value: object): value is GetSuggestedRemediationForComponent200Response {
42
+ if (!('remediation' in value) || value['remediation'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function GetSuggestedRemediationForComponent200ResponseFromJSON(json: any): GetSuggestedRemediationForComponent200Response {
47
+ return GetSuggestedRemediationForComponent200ResponseFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function GetSuggestedRemediationForComponent200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSuggestedRemediationForComponent200Response {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'remediation': ApiComponentRemediationValueDTOFromJSON(json['remediation']),
57
+ };
58
+ }
59
+
60
+ export function GetSuggestedRemediationForComponent200ResponseToJSON(json: any): GetSuggestedRemediationForComponent200Response {
61
+ return GetSuggestedRemediationForComponent200ResponseToJSONTyped(json, false);
62
+ }
63
+
64
+ export function GetSuggestedRemediationForComponent200ResponseToJSONTyped(value?: GetSuggestedRemediationForComponent200Response | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'remediation': ApiComponentRemediationValueDTOToJSON(value['remediation']),
72
+ };
73
+ }
74
+
@@ -118,11 +118,11 @@ export function GroupingByDTOFromJSONTyped(json: any, ignoreDiscriminator: boole
118
118
  };
119
119
  }
120
120
 
121
- export function GroupingByDTOToJSON(json: any): GroupingByDTO {
122
- return GroupingByDTOToJSONTyped(json, false);
123
- }
121
+ export function GroupingByDTOToJSON(json: any): GroupingByDTO {
122
+ return GroupingByDTOToJSONTyped(json, false);
123
+ }
124
124
 
125
- export function GroupingByDTOToJSONTyped(value?: GroupingByDTO | null, ignoreDiscriminator: boolean = false): any {
125
+ export function GroupingByDTOToJSONTyped(value?: GroupingByDTO | null, ignoreDiscriminator: boolean = false): any {
126
126
  if (value == null) {
127
127
  return value;
128
128
  }
@@ -48,11 +48,11 @@ export function IdeUsersOverviewDTOFromJSONTyped(json: any, ignoreDiscriminator:
48
48
  };
49
49
  }
50
50
 
51
- export function IdeUsersOverviewDTOToJSON(json: any): IdeUsersOverviewDTO {
52
- return IdeUsersOverviewDTOToJSONTyped(json, false);
53
- }
51
+ export function IdeUsersOverviewDTOToJSON(json: any): IdeUsersOverviewDTO {
52
+ return IdeUsersOverviewDTOToJSONTyped(json, false);
53
+ }
54
54
 
55
- export function IdeUsersOverviewDTOToJSONTyped(value?: IdeUsersOverviewDTO | null, ignoreDiscriminator: boolean = false): any {
55
+ export function IdeUsersOverviewDTOToJSONTyped(value?: IdeUsersOverviewDTO | null, ignoreDiscriminator: boolean = false): any {
56
56
  if (value == null) {
57
57
  return value;
58
58
  }
@@ -71,11 +71,11 @@ export function ImportSbomRequestFromJSONTyped(json: any, ignoreDiscriminator: b
71
71
  };
72
72
  }
73
73
 
74
- export function ImportSbomRequestToJSON(json: any): ImportSbomRequest {
75
- return ImportSbomRequestToJSONTyped(json, false);
76
- }
74
+ export function ImportSbomRequestToJSON(json: any): ImportSbomRequest {
75
+ return ImportSbomRequestToJSONTyped(json, false);
76
+ }
77
77
 
78
- export function ImportSbomRequestToJSONTyped(value?: ImportSbomRequest | null, ignoreDiscriminator: boolean = false): any {
78
+ export function ImportSbomRequestToJSONTyped(value?: ImportSbomRequest | null, ignoreDiscriminator: boolean = false): any {
79
79
  if (value == null) {
80
80
  return value;
81
81
  }
@@ -62,11 +62,11 @@ export function InnerSourceDataFromJSONTyped(json: any, ignoreDiscriminator: boo
62
62
  };
63
63
  }
64
64
 
65
- export function InnerSourceDataToJSON(json: any): InnerSourceData {
66
- return InnerSourceDataToJSONTyped(json, false);
67
- }
65
+ export function InnerSourceDataToJSON(json: any): InnerSourceData {
66
+ return InnerSourceDataToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function InnerSourceDataToJSONTyped(value?: InnerSourceData | null, ignoreDiscriminator: boolean = false): any {
69
+ export function InnerSourceDataToJSONTyped(value?: InnerSourceData | null, ignoreDiscriminator: boolean = false): any {
70
70
  if (value == null) {
71
71
  return value;
72
72
  }
@@ -92,11 +92,11 @@ export function LabelsByOwnerFromJSONTyped(json: any, ignoreDiscriminator: boole
92
92
  };
93
93
  }
94
94
 
95
- export function LabelsByOwnerToJSON(json: any): LabelsByOwner {
96
- return LabelsByOwnerToJSONTyped(json, false);
97
- }
95
+ export function LabelsByOwnerToJSON(json: any): LabelsByOwner {
96
+ return LabelsByOwnerToJSONTyped(json, false);
97
+ }
98
98
 
99
- export function LabelsByOwnerToJSONTyped(value?: LabelsByOwner | null, ignoreDiscriminator: boolean = false): any {
99
+ export function LabelsByOwnerToJSONTyped(value?: LabelsByOwner | null, ignoreDiscriminator: boolean = false): any {
100
100
  if (value == null) {
101
101
  return value;
102
102
  }
@@ -80,11 +80,11 @@ export function LegalSourceLinkDTOFromJSONTyped(json: any, ignoreDiscriminator:
80
80
  };
81
81
  }
82
82
 
83
- export function LegalSourceLinkDTOToJSON(json: any): LegalSourceLinkDTO {
84
- return LegalSourceLinkDTOToJSONTyped(json, false);
85
- }
83
+ export function LegalSourceLinkDTOToJSON(json: any): LegalSourceLinkDTO {
84
+ return LegalSourceLinkDTOToJSONTyped(json, false);
85
+ }
86
86
 
87
- export function LegalSourceLinkDTOToJSONTyped(value?: LegalSourceLinkDTO | null, ignoreDiscriminator: boolean = false): any {
87
+ export function LegalSourceLinkDTOToJSONTyped(value?: LegalSourceLinkDTO | null, ignoreDiscriminator: boolean = false): any {
88
88
  if (value == null) {
89
89
  return value;
90
90
  }
@@ -55,11 +55,11 @@ export function LicenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): L
55
55
  };
56
56
  }
57
57
 
58
- export function LicenseToJSON(json: any): License {
59
- return LicenseToJSONTyped(json, false);
60
- }
58
+ export function LicenseToJSON(json: any): License {
59
+ return LicenseToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function LicenseToJSONTyped(value?: License | null, ignoreDiscriminator: boolean = false): any {
62
+ export function LicenseToJSONTyped(value?: License | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -55,11 +55,11 @@ export function LicenseObligationDTOFromJSONTyped(json: any, ignoreDiscriminator
55
55
  };
56
56
  }
57
57
 
58
- export function LicenseObligationDTOToJSON(json: any): LicenseObligationDTO {
59
- return LicenseObligationDTOToJSONTyped(json, false);
60
- }
58
+ export function LicenseObligationDTOToJSON(json: any): LicenseObligationDTO {
59
+ return LicenseObligationDTOToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function LicenseObligationDTOToJSONTyped(value?: LicenseObligationDTO | null, ignoreDiscriminator: boolean = false): any {
62
+ export function LicenseObligationDTOToJSONTyped(value?: LicenseObligationDTO | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -55,11 +55,11 @@ export function LicenseThreatGroupDTOFromJSONTyped(json: any, ignoreDiscriminato
55
55
  };
56
56
  }
57
57
 
58
- export function LicenseThreatGroupDTOToJSON(json: any): LicenseThreatGroupDTO {
59
- return LicenseThreatGroupDTOToJSONTyped(json, false);
60
- }
58
+ export function LicenseThreatGroupDTOToJSON(json: any): LicenseThreatGroupDTO {
59
+ return LicenseThreatGroupDTOToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function LicenseThreatGroupDTOToJSONTyped(value?: LicenseThreatGroupDTO | null, ignoreDiscriminator: boolean = false): any {
62
+ export function LicenseThreatGroupDTOToJSONTyped(value?: LicenseThreatGroupDTO | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -69,11 +69,11 @@ export function MalwareDefenseDataFromJSONTyped(json: any, ignoreDiscriminator:
69
69
  };
70
70
  }
71
71
 
72
- export function MalwareDefenseDataToJSON(json: any): MalwareDefenseData {
73
- return MalwareDefenseDataToJSONTyped(json, false);
74
- }
72
+ export function MalwareDefenseDataToJSON(json: any): MalwareDefenseData {
73
+ return MalwareDefenseDataToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function MalwareDefenseDataToJSONTyped(value?: MalwareDefenseData | null, ignoreDiscriminator: boolean = false): any {
76
+ export function MalwareDefenseDataToJSONTyped(value?: MalwareDefenseData | null, ignoreDiscriminator: boolean = false): any {
77
77
  if (value == null) {
78
78
  return value;
79
79
  }
@@ -56,11 +56,11 @@ export function MalwareDefenseResponseListFromJSONTyped(json: any, ignoreDiscrim
56
56
  };
57
57
  }
58
58
 
59
- export function MalwareDefenseResponseListToJSON(json: any): MalwareDefenseResponseList {
60
- return MalwareDefenseResponseListToJSONTyped(json, false);
61
- }
59
+ export function MalwareDefenseResponseListToJSON(json: any): MalwareDefenseResponseList {
60
+ return MalwareDefenseResponseListToJSONTyped(json, false);
61
+ }
62
62
 
63
- export function MalwareDefenseResponseListToJSONTyped(value?: MalwareDefenseResponseList | null, ignoreDiscriminator: boolean = false): any {
63
+ export function MalwareDefenseResponseListToJSONTyped(value?: MalwareDefenseResponseList | null, ignoreDiscriminator: boolean = false): any {
64
64
  if (value == null) {
65
65
  return value;
66
66
  }
@@ -70,11 +70,11 @@ export function PolicyAlertFromJSONTyped(json: any, ignoreDiscriminator: boolean
70
70
  };
71
71
  }
72
72
 
73
- export function PolicyAlertToJSON(json: any): PolicyAlert {
74
- return PolicyAlertToJSONTyped(json, false);
75
- }
73
+ export function PolicyAlertToJSON(json: any): PolicyAlert {
74
+ return PolicyAlertToJSONTyped(json, false);
75
+ }
76
76
 
77
- export function PolicyAlertToJSONTyped(value?: PolicyAlert | null, ignoreDiscriminator: boolean = false): any {
77
+ export function PolicyAlertToJSONTyped(value?: PolicyAlert | null, ignoreDiscriminator: boolean = false): any {
78
78
  if (value == null) {
79
79
  return value;
80
80
  }
@@ -161,11 +161,11 @@ export function PolicyEvaluationResultFromJSONTyped(json: any, ignoreDiscriminat
161
161
  };
162
162
  }
163
163
 
164
- export function PolicyEvaluationResultToJSON(json: any): PolicyEvaluationResult {
165
- return PolicyEvaluationResultToJSONTyped(json, false);
166
- }
164
+ export function PolicyEvaluationResultToJSON(json: any): PolicyEvaluationResult {
165
+ return PolicyEvaluationResultToJSONTyped(json, false);
166
+ }
167
167
 
168
- export function PolicyEvaluationResultToJSONTyped(value?: PolicyEvaluationResult | null, ignoreDiscriminator: boolean = false): any {
168
+ export function PolicyEvaluationResultToJSONTyped(value?: PolicyEvaluationResult | null, ignoreDiscriminator: boolean = false): any {
169
169
  if (value == null) {
170
170
  return value;
171
171
  }
@@ -84,11 +84,11 @@ export function PolicyFactFromJSONTyped(json: any, ignoreDiscriminator: boolean)
84
84
  };
85
85
  }
86
86
 
87
- export function PolicyFactToJSON(json: any): PolicyFact {
88
- return PolicyFactToJSONTyped(json, false);
89
- }
87
+ export function PolicyFactToJSON(json: any): PolicyFact {
88
+ return PolicyFactToJSONTyped(json, false);
89
+ }
90
90
 
91
- export function PolicyFactToJSONTyped(value?: PolicyFact | null, ignoreDiscriminator: boolean = false): any {
91
+ export function PolicyFactToJSONTyped(value?: PolicyFact | null, ignoreDiscriminator: boolean = false): any {
92
92
  if (value == null) {
93
93
  return value;
94
94
  }
@@ -69,11 +69,11 @@ export function PolicyOwnerFromJSONTyped(json: any, ignoreDiscriminator: boolean
69
69
  };
70
70
  }
71
71
 
72
- export function PolicyOwnerToJSON(json: any): PolicyOwner {
73
- return PolicyOwnerToJSONTyped(json, false);
74
- }
72
+ export function PolicyOwnerToJSON(json: any): PolicyOwner {
73
+ return PolicyOwnerToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function PolicyOwnerToJSONTyped(value?: PolicyOwner | null, ignoreDiscriminator: boolean = false): any {
76
+ export function PolicyOwnerToJSONTyped(value?: PolicyOwner | null, ignoreDiscriminator: boolean = false): any {
77
77
  if (value == null) {
78
78
  return value;
79
79
  }
@@ -62,11 +62,11 @@ export function PolicyTagFromJSONTyped(json: any, ignoreDiscriminator: boolean):
62
62
  };
63
63
  }
64
64
 
65
- export function PolicyTagToJSON(json: any): PolicyTag {
66
- return PolicyTagToJSONTyped(json, false);
67
- }
65
+ export function PolicyTagToJSON(json: any): PolicyTag {
66
+ return PolicyTagToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function PolicyTagToJSONTyped(value?: PolicyTag | null, ignoreDiscriminator: boolean = false): any {
69
+ export function PolicyTagToJSONTyped(value?: PolicyTag | null, ignoreDiscriminator: boolean = false): any {
70
70
  if (value == null) {
71
71
  return value;
72
72
  }
@@ -162,11 +162,11 @@ export function PrioritizedComponentFromJSONTyped(json: any, ignoreDiscriminator
162
162
  };
163
163
  }
164
164
 
165
- export function PrioritizedComponentToJSON(json: any): PrioritizedComponent {
166
- return PrioritizedComponentToJSONTyped(json, false);
167
- }
165
+ export function PrioritizedComponentToJSON(json: any): PrioritizedComponent {
166
+ return PrioritizedComponentToJSONTyped(json, false);
167
+ }
168
168
 
169
- export function PrioritizedComponentToJSONTyped(value?: PrioritizedComponent | null, ignoreDiscriminator: boolean = false): any {
169
+ export function PrioritizedComponentToJSONTyped(value?: PrioritizedComponent | null, ignoreDiscriminator: boolean = false): any {
170
170
  if (value == null) {
171
171
  return value;
172
172
  }
@@ -55,11 +55,11 @@ export function ReferenceLinkFromJSONTyped(json: any, ignoreDiscriminator: boole
55
55
  };
56
56
  }
57
57
 
58
- export function ReferenceLinkToJSON(json: any): ReferenceLink {
59
- return ReferenceLinkToJSONTyped(json, false);
60
- }
58
+ export function ReferenceLinkToJSON(json: any): ReferenceLink {
59
+ return ReferenceLinkToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function ReferenceLinkToJSONTyped(value?: ReferenceLink | null, ignoreDiscriminator: boolean = false): any {
62
+ export function ReferenceLinkToJSONTyped(value?: ReferenceLink | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -55,11 +55,11 @@ export function RootCauseFromJSONTyped(json: any, ignoreDiscriminator: boolean):
55
55
  };
56
56
  }
57
57
 
58
- export function RootCauseToJSON(json: any): RootCause {
59
- return RootCauseToJSONTyped(json, false);
60
- }
58
+ export function RootCauseToJSON(json: any): RootCause {
59
+ return RootCauseToJSONTyped(json, false);
60
+ }
61
61
 
62
- export function RootCauseToJSONTyped(value?: RootCause | null, ignoreDiscriminator: boolean = false): any {
62
+ export function RootCauseToJSONTyped(value?: RootCause | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
@@ -72,11 +72,11 @@ export function SBOMVulnerabilityAnalysisRequestFromJSONTyped(json: any, ignoreD
72
72
  };
73
73
  }
74
74
 
75
- export function SBOMVulnerabilityAnalysisRequestToJSON(json: any): SBOMVulnerabilityAnalysisRequest {
76
- return SBOMVulnerabilityAnalysisRequestToJSONTyped(json, false);
77
- }
75
+ export function SBOMVulnerabilityAnalysisRequestToJSON(json: any): SBOMVulnerabilityAnalysisRequest {
76
+ return SBOMVulnerabilityAnalysisRequestToJSONTyped(json, false);
77
+ }
78
78
 
79
- export function SBOMVulnerabilityAnalysisRequestToJSONTyped(value?: SBOMVulnerabilityAnalysisRequest | null, ignoreDiscriminator: boolean = false): any {
79
+ export function SBOMVulnerabilityAnalysisRequestToJSONTyped(value?: SBOMVulnerabilityAnalysisRequest | null, ignoreDiscriminator: boolean = false): any {
80
80
  if (value == null) {
81
81
  return value;
82
82
  }
@@ -182,11 +182,11 @@ export function SbomComponentDTOFromJSONTyped(json: any, ignoreDiscriminator: bo
182
182
  };
183
183
  }
184
184
 
185
- export function SbomComponentDTOToJSON(json: any): SbomComponentDTO {
186
- return SbomComponentDTOToJSONTyped(json, false);
187
- }
185
+ export function SbomComponentDTOToJSON(json: any): SbomComponentDTO {
186
+ return SbomComponentDTOToJSONTyped(json, false);
187
+ }
188
188
 
189
- export function SbomComponentDTOToJSONTyped(value?: SbomComponentDTO | null, ignoreDiscriminator: boolean = false): any {
189
+ export function SbomComponentDTOToJSONTyped(value?: SbomComponentDTO | null, ignoreDiscriminator: boolean = false): any {
190
190
  if (value == null) {
191
191
  return value;
192
192
  }
@@ -63,11 +63,11 @@ export function SbomComponentListDTOFromJSONTyped(json: any, ignoreDiscriminator
63
63
  };
64
64
  }
65
65
 
66
- export function SbomComponentListDTOToJSON(json: any): SbomComponentListDTO {
67
- return SbomComponentListDTOToJSONTyped(json, false);
68
- }
66
+ export function SbomComponentListDTOToJSON(json: any): SbomComponentListDTO {
67
+ return SbomComponentListDTOToJSONTyped(json, false);
68
+ }
69
69
 
70
- export function SbomComponentListDTOToJSONTyped(value?: SbomComponentListDTO | null, ignoreDiscriminator: boolean = false): any {
70
+ export function SbomComponentListDTOToJSONTyped(value?: SbomComponentListDTO | null, ignoreDiscriminator: boolean = false): any {
71
71
  if (value == null) {
72
72
  return value;
73
73
  }
@@ -91,11 +91,11 @@ export function SearchResultDTOFromJSONTyped(json: any, ignoreDiscriminator: boo
91
91
  };
92
92
  }
93
93
 
94
- export function SearchResultDTOToJSON(json: any): SearchResultDTO {
95
- return SearchResultDTOToJSONTyped(json, false);
96
- }
94
+ export function SearchResultDTOToJSON(json: any): SearchResultDTO {
95
+ return SearchResultDTOToJSONTyped(json, false);
96
+ }
97
97
 
98
- export function SearchResultDTOToJSONTyped(value?: SearchResultDTO | null, ignoreDiscriminator: boolean = false): any {
98
+ export function SearchResultDTOToJSONTyped(value?: SearchResultDTO | null, ignoreDiscriminator: boolean = false): any {
99
99
  if (value == null) {
100
100
  return value;
101
101
  }
@@ -252,11 +252,11 @@ export function SearchResultItemDTOFromJSONTyped(json: any, ignoreDiscriminator:
252
252
  };
253
253
  }
254
254
 
255
- export function SearchResultItemDTOToJSON(json: any): SearchResultItemDTO {
256
- return SearchResultItemDTOToJSONTyped(json, false);
257
- }
255
+ export function SearchResultItemDTOToJSON(json: any): SearchResultItemDTO {
256
+ return SearchResultItemDTOToJSONTyped(json, false);
257
+ }
258
258
 
259
- export function SearchResultItemDTOToJSONTyped(value?: SearchResultItemDTO | null, ignoreDiscriminator: boolean = false): any {
259
+ export function SearchResultItemDTOToJSONTyped(value?: SearchResultItemDTO | null, ignoreDiscriminator: boolean = false): any {
260
260
  if (value == null) {
261
261
  return value;
262
262
  }
@@ -69,11 +69,11 @@ export function SecurityVulnerabilityCustomDataFromJSONTyped(json: any, ignoreDi
69
69
  };
70
70
  }
71
71
 
72
- export function SecurityVulnerabilityCustomDataToJSON(json: any): SecurityVulnerabilityCustomData {
73
- return SecurityVulnerabilityCustomDataToJSONTyped(json, false);
74
- }
72
+ export function SecurityVulnerabilityCustomDataToJSON(json: any): SecurityVulnerabilityCustomData {
73
+ return SecurityVulnerabilityCustomDataToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function SecurityVulnerabilityCustomDataToJSONTyped(value?: SecurityVulnerabilityCustomData | null, ignoreDiscriminator: boolean = false): any {
76
+ export function SecurityVulnerabilityCustomDataToJSONTyped(value?: SecurityVulnerabilityCustomData | null, ignoreDiscriminator: boolean = false): any {
77
77
  if (value == null) {
78
78
  return value;
79
79
  }
@@ -249,11 +249,11 @@ export function SecurityVulnerabilityDataFromJSONTyped(json: any, ignoreDiscrimi
249
249
  };
250
250
  }
251
251
 
252
- export function SecurityVulnerabilityDataToJSON(json: any): SecurityVulnerabilityData {
253
- return SecurityVulnerabilityDataToJSONTyped(json, false);
254
- }
252
+ export function SecurityVulnerabilityDataToJSON(json: any): SecurityVulnerabilityData {
253
+ return SecurityVulnerabilityDataToJSONTyped(json, false);
254
+ }
255
255
 
256
- export function SecurityVulnerabilityDataToJSONTyped(value?: SecurityVulnerabilityData | null, ignoreDiscriminator: boolean = false): any {
256
+ export function SecurityVulnerabilityDataToJSONTyped(value?: SecurityVulnerabilityData | null, ignoreDiscriminator: boolean = false): any {
257
257
  if (value == null) {
258
258
  return value;
259
259
  }
@@ -69,11 +69,11 @@ export function SecurityVulnerabilitySeverityFromJSONTyped(json: any, ignoreDisc
69
69
  };
70
70
  }
71
71
 
72
- export function SecurityVulnerabilitySeverityToJSON(json: any): SecurityVulnerabilitySeverity {
73
- return SecurityVulnerabilitySeverityToJSONTyped(json, false);
74
- }
72
+ export function SecurityVulnerabilitySeverityToJSON(json: any): SecurityVulnerabilitySeverity {
73
+ return SecurityVulnerabilitySeverityToJSONTyped(json, false);
74
+ }
75
75
 
76
- export function SecurityVulnerabilitySeverityToJSONTyped(value?: SecurityVulnerabilitySeverity | null, ignoreDiscriminator: boolean = false): any {
76
+ export function SecurityVulnerabilitySeverityToJSONTyped(value?: SecurityVulnerabilitySeverity | null, ignoreDiscriminator: boolean = false): any {
77
77
  if (value == null) {
78
78
  return value;
79
79
  }
@@ -63,11 +63,11 @@ export function SecurityVulnerabilityWeaknessFromJSONTyped(json: any, ignoreDisc
63
63
  };
64
64
  }
65
65
 
66
- export function SecurityVulnerabilityWeaknessToJSON(json: any): SecurityVulnerabilityWeakness {
67
- return SecurityVulnerabilityWeaknessToJSONTyped(json, false);
68
- }
66
+ export function SecurityVulnerabilityWeaknessToJSON(json: any): SecurityVulnerabilityWeakness {
67
+ return SecurityVulnerabilityWeaknessToJSONTyped(json, false);
68
+ }
69
69
 
70
- export function SecurityVulnerabilityWeaknessToJSONTyped(value?: SecurityVulnerabilityWeakness | null, ignoreDiscriminator: boolean = false): any {
70
+ export function SecurityVulnerabilityWeaknessToJSONTyped(value?: SecurityVulnerabilityWeakness | null, ignoreDiscriminator: boolean = false): any {
71
71
  if (value == null) {
72
72
  return value;
73
73
  }
@@ -62,11 +62,11 @@ export function StageDataFromJSONTyped(json: any, ignoreDiscriminator: boolean):
62
62
  };
63
63
  }
64
64
 
65
- export function StageDataToJSON(json: any): StageData {
66
- return StageDataToJSONTyped(json, false);
67
- }
65
+ export function StageDataToJSON(json: any): StageData {
66
+ return StageDataToJSONTyped(json, false);
67
+ }
68
68
 
69
- export function StageDataToJSONTyped(value?: StageData | null, ignoreDiscriminator: boolean = false): any {
69
+ export function StageDataToJSONTyped(value?: StageData | null, ignoreDiscriminator: boolean = false): any {
70
70
  if (value == null) {
71
71
  return value;
72
72
  }