com.synopsys.integration.blackduck.api.generated.component.VulnerabilityCvss2View Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blackduck-common-api Show documentation
Show all versions of blackduck-common-api Show documentation
A library of mostly temporary request/response classes for the Black Duck REST API.
/**
* blackduck-common-api
*
* Copyright (c) 2020 Synopsys, Inc.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.synopsys.integration.blackduck.api.generated.component;
import java.math.BigDecimal;
import java.util.Optional;
import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.VulnerabilityCvss2TemporalMetricsView;
import com.synopsys.integration.blackduck.api.generated.enumeration.ProjectVersionVulnerableBomComponentsItemsVulnerabilityWithRemediationSeverityType;
import com.synopsys.integration.blackduck.api.generated.enumeration.VulnerabilityCvss2AccessComplexityType;
import com.synopsys.integration.blackduck.api.generated.enumeration.VulnerabilityCvss2AccessVectorType;
import com.synopsys.integration.blackduck.api.generated.enumeration.VulnerabilityCvss2AuthenticationType;
import com.synopsys.integration.blackduck.api.generated.enumeration.VulnerabilityCvss2ConfidentialityImpactType;
/**
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class VulnerabilityCvss2View extends BlackDuckComponent {
private VulnerabilityCvss2ConfidentialityImpactType confidentialityImpact;
private BigDecimal impactSubscore;
private BigDecimal baseScore;
private ProjectVersionVulnerableBomComponentsItemsVulnerabilityWithRemediationSeverityType severity;
private VulnerabilityCvss2AccessVectorType accessVector;
private VulnerabilityCvss2TemporalMetricsView temporalMetrics;
private VulnerabilityCvss2AuthenticationType authentication;
private VulnerabilityCvss2AccessComplexityType accessComplexity;
private VulnerabilityCvss2ConfidentialityImpactType availabilityImpact;
private BigDecimal exploitabilitySubscore;
private VulnerabilityCvss2ConfidentialityImpactType integrityImpact;
private String vector;
public VulnerabilityCvss2ConfidentialityImpactType getConfidentialityImpact() {
return confidentialityImpact;
}
public void setConfidentialityImpact(VulnerabilityCvss2ConfidentialityImpactType confidentialityImpact) {
this.confidentialityImpact = confidentialityImpact;
}
public BigDecimal getImpactSubscore() {
return impactSubscore;
}
public void setImpactSubscore(BigDecimal impactSubscore) {
this.impactSubscore = impactSubscore;
}
public BigDecimal getBaseScore() {
return baseScore;
}
public void setBaseScore(BigDecimal baseScore) {
this.baseScore = baseScore;
}
public ProjectVersionVulnerableBomComponentsItemsVulnerabilityWithRemediationSeverityType getSeverity() {
return severity;
}
public void setSeverity(ProjectVersionVulnerableBomComponentsItemsVulnerabilityWithRemediationSeverityType severity) {
this.severity = severity;
}
public VulnerabilityCvss2AccessVectorType getAccessVector() {
return accessVector;
}
public void setAccessVector(VulnerabilityCvss2AccessVectorType accessVector) {
this.accessVector = accessVector;
}
public VulnerabilityCvss2TemporalMetricsView getTemporalMetrics() {
return temporalMetrics;
}
public void setTemporalMetrics(VulnerabilityCvss2TemporalMetricsView temporalMetrics) {
this.temporalMetrics = temporalMetrics;
}
public VulnerabilityCvss2AuthenticationType getAuthentication() {
return authentication;
}
public void setAuthentication(VulnerabilityCvss2AuthenticationType authentication) {
this.authentication = authentication;
}
public VulnerabilityCvss2AccessComplexityType getAccessComplexity() {
return accessComplexity;
}
public void setAccessComplexity(VulnerabilityCvss2AccessComplexityType accessComplexity) {
this.accessComplexity = accessComplexity;
}
public VulnerabilityCvss2ConfidentialityImpactType getAvailabilityImpact() {
return availabilityImpact;
}
public void setAvailabilityImpact(VulnerabilityCvss2ConfidentialityImpactType availabilityImpact) {
this.availabilityImpact = availabilityImpact;
}
public BigDecimal getExploitabilitySubscore() {
return exploitabilitySubscore;
}
public void setExploitabilitySubscore(BigDecimal exploitabilitySubscore) {
this.exploitabilitySubscore = exploitabilitySubscore;
}
public VulnerabilityCvss2ConfidentialityImpactType getIntegrityImpact() {
return integrityImpact;
}
public void setIntegrityImpact(VulnerabilityCvss2ConfidentialityImpactType integrityImpact) {
this.integrityImpact = integrityImpact;
}
public String getVector() {
return vector;
}
public void setVector(String vector) {
this.vector = vector;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy