com.synopsys.integration.blackduck.api.generated.view.ProjectVersionComponentViewV6 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.view;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.core.BlackDuckView;
import com.synopsys.integration.blackduck.api.core.response.LinkMultipleResponses;
import com.synopsys.integration.blackduck.api.core.response.LinkResponse;
import com.synopsys.integration.blackduck.api.generated.component.ComponentVersionRiskProfileActivityDataView;
import com.synopsys.integration.blackduck.api.generated.component.ProjectVersionComponentLicensesView;
import com.synopsys.integration.blackduck.api.generated.component.ProjectVersionComponentReviewedDetailsView;
import com.synopsys.integration.blackduck.api.generated.enumeration.LicenseFamilyLicenseFamilyRiskRulesUsageType;
import com.synopsys.integration.blackduck.api.generated.enumeration.PolicyStatusType;
import com.synopsys.integration.blackduck.api.generated.enumeration.ProjectVersionComparisonItemsComponentMatchTypesType;
import com.synopsys.integration.blackduck.api.generated.enumeration.ProjectVersionComponentReviewStatusType;
import com.synopsys.integration.blackduck.api.generated.view.RiskProfileView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.component.VersionBomOriginView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.view.OriginView;
/**
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class ProjectVersionComponentViewV6 extends BlackDuckView {
public static final Map links = new HashMap<>();
public static final String MATCHED_FILES_LINK = "matched-files";
public static final String ORIGINS_LINK = "origins";
public static final String POLICY_RULES_LINK = "policy-rules";
public static final LinkMultipleResponses MATCHED_FILES_LINK_RESPONSE = new LinkMultipleResponses(MATCHED_FILES_LINK, ComponentMatchedFilesView.class);
public static final LinkMultipleResponses ORIGINS_LINK_RESPONSE = new LinkMultipleResponses(ORIGINS_LINK, OriginView.class);
public static final LinkMultipleResponses POLICY_RULES_LINK_RESPONSE = new LinkMultipleResponses(POLICY_RULES_LINK, ComponentPolicyRulesView.class);
static {
links.put(MATCHED_FILES_LINK, MATCHED_FILES_LINK_RESPONSE);
links.put(ORIGINS_LINK, ORIGINS_LINK_RESPONSE);
links.put(POLICY_RULES_LINK, POLICY_RULES_LINK_RESPONSE);
}
private java.util.List origins;
private String component;
private Boolean ignored;
private ComponentVersionRiskProfileActivityDataView activityData;
private ProjectVersionComponentReviewedDetailsView reviewedDetails;
private String componentVersionName;
private Boolean manuallyAdjusted;
private RiskProfileView activityRiskProfile;
private Boolean componentModified;
private RiskProfileView licenseRiskProfile;
private PolicyStatusType policyStatus;
private String componentPurpose;
private RiskProfileView securityRiskProfile;
private PolicyStatusType approvalStatus;
private BigDecimal totalFileMatchCount;
private String componentVersion;
private String componentModification;
private RiskProfileView operationalRiskProfile;
private Boolean inAttributionReport;
private String componentName;
private RiskProfileView versionRiskProfile;
private java.util.List licenses;
private java.util.Date releasedOn;
private ProjectVersionComponentReviewStatusType reviewStatus;
private java.util.List usages;
private String attributionStatement;
private java.util.List matchTypes;
public java.util.List getOrigins() {
return origins;
}
public void setOrigins(java.util.List origins) {
this.origins = origins;
}
public String getComponent() {
return component;
}
public void setComponent(String component) {
this.component = component;
}
public Boolean getIgnored() {
return ignored;
}
public void setIgnored(Boolean ignored) {
this.ignored = ignored;
}
public ComponentVersionRiskProfileActivityDataView getActivityData() {
return activityData;
}
public void setActivityData(ComponentVersionRiskProfileActivityDataView activityData) {
this.activityData = activityData;
}
public ProjectVersionComponentReviewedDetailsView getReviewedDetails() {
return reviewedDetails;
}
public void setReviewedDetails(ProjectVersionComponentReviewedDetailsView reviewedDetails) {
this.reviewedDetails = reviewedDetails;
}
public String getComponentVersionName() {
return componentVersionName;
}
public void setComponentVersionName(String componentVersionName) {
this.componentVersionName = componentVersionName;
}
public Boolean getManuallyAdjusted() {
return manuallyAdjusted;
}
public void setManuallyAdjusted(Boolean manuallyAdjusted) {
this.manuallyAdjusted = manuallyAdjusted;
}
public RiskProfileView getActivityRiskProfile() {
return activityRiskProfile;
}
public void setActivityRiskProfile(RiskProfileView activityRiskProfile) {
this.activityRiskProfile = activityRiskProfile;
}
public Boolean getComponentModified() {
return componentModified;
}
public void setComponentModified(Boolean componentModified) {
this.componentModified = componentModified;
}
public RiskProfileView getLicenseRiskProfile() {
return licenseRiskProfile;
}
public void setLicenseRiskProfile(RiskProfileView licenseRiskProfile) {
this.licenseRiskProfile = licenseRiskProfile;
}
public PolicyStatusType getPolicyStatus() {
return policyStatus;
}
public void setPolicyStatus(PolicyStatusType policyStatus) {
this.policyStatus = policyStatus;
}
public String getComponentPurpose() {
return componentPurpose;
}
public void setComponentPurpose(String componentPurpose) {
this.componentPurpose = componentPurpose;
}
public RiskProfileView getSecurityRiskProfile() {
return securityRiskProfile;
}
public void setSecurityRiskProfile(RiskProfileView securityRiskProfile) {
this.securityRiskProfile = securityRiskProfile;
}
public PolicyStatusType getApprovalStatus() {
return approvalStatus;
}
public void setApprovalStatus(PolicyStatusType approvalStatus) {
this.approvalStatus = approvalStatus;
}
public BigDecimal getTotalFileMatchCount() {
return totalFileMatchCount;
}
public void setTotalFileMatchCount(BigDecimal totalFileMatchCount) {
this.totalFileMatchCount = totalFileMatchCount;
}
public String getComponentVersion() {
return componentVersion;
}
public void setComponentVersion(String componentVersion) {
this.componentVersion = componentVersion;
}
public String getComponentModification() {
return componentModification;
}
public void setComponentModification(String componentModification) {
this.componentModification = componentModification;
}
public RiskProfileView getOperationalRiskProfile() {
return operationalRiskProfile;
}
public void setOperationalRiskProfile(RiskProfileView operationalRiskProfile) {
this.operationalRiskProfile = operationalRiskProfile;
}
public Boolean getInAttributionReport() {
return inAttributionReport;
}
public void setInAttributionReport(Boolean inAttributionReport) {
this.inAttributionReport = inAttributionReport;
}
public String getComponentName() {
return componentName;
}
public void setComponentName(String componentName) {
this.componentName = componentName;
}
public RiskProfileView getVersionRiskProfile() {
return versionRiskProfile;
}
public void setVersionRiskProfile(RiskProfileView versionRiskProfile) {
this.versionRiskProfile = versionRiskProfile;
}
public java.util.List getLicenses() {
return licenses;
}
public void setLicenses(java.util.List licenses) {
this.licenses = licenses;
}
public java.util.Date getReleasedOn() {
return releasedOn;
}
public void setReleasedOn(java.util.Date releasedOn) {
this.releasedOn = releasedOn;
}
public ProjectVersionComponentReviewStatusType getReviewStatus() {
return reviewStatus;
}
public void setReviewStatus(ProjectVersionComponentReviewStatusType reviewStatus) {
this.reviewStatus = reviewStatus;
}
public java.util.List getUsages() {
return usages;
}
public void setUsages(java.util.List usages) {
this.usages = usages;
}
public String getAttributionStatement() {
return attributionStatement;
}
public void setAttributionStatement(String attributionStatement) {
this.attributionStatement = attributionStatement;
}
public java.util.List getMatchTypes() {
return matchTypes;
}
public void setMatchTypes(java.util.List matchTypes) {
this.matchTypes = matchTypes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy