com.synopsys.integration.blackduck.api.generated.view.ProjectVersionView Maven / Gradle / Ivy
/**
* 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.util.HashMap;
import java.util.Map;
import java.util.Optional;
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.core.response.LinkSingleResponse;
import com.synopsys.integration.blackduck.api.generated.enumeration.LicenseFamilyLicenseFamilyRiskRulesReleaseDistributionType;
import com.synopsys.integration.blackduck.api.generated.view.CodeLocationView;
import com.synopsys.integration.blackduck.api.generated.view.ProjectVersionComponentView;
import com.synopsys.integration.blackduck.api.generated.view.ProjectVersionLicenseView;
import com.synopsys.integration.blackduck.api.generated.view.ProjectVersionPolicyStatusView;
import com.synopsys.integration.blackduck.api.generated.view.ProjectView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.enumeration.ProjectVersionPhaseType;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.view.IssueView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.view.VulnerableComponentView;
/**
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class ProjectVersionView extends ProjectVersionViewV5 {
public static final Map links = new HashMap<>();
public static final String CODELOCATIONS_LINK = "codelocations";
public static final String COMPONENTS_LINK = "components";
public static final String ISSUES_LINK = "issues";
public static final String LICENSEREPORTS_LINK = "licenseReports";
public static final String POLICY_STATUS_LINK = "policy-status";
public static final String PROJECT_LINK = "project";
public static final String VULNERABLE_COMPONENTS_LINK = "vulnerable-components";
public static final LinkMultipleResponses CODELOCATIONS_LINK_RESPONSE = new LinkMultipleResponses(CODELOCATIONS_LINK, CodeLocationView.class);
public static final LinkMultipleResponses COMPONENTS_LINK_RESPONSE = new LinkMultipleResponses(COMPONENTS_LINK, ProjectVersionComponentView.class);
public static final LinkMultipleResponses ISSUES_LINK_RESPONSE = new LinkMultipleResponses(ISSUES_LINK, IssueView.class);
public static final LinkMultipleResponses LICENSEREPORTS_LINK_RESPONSE = new LinkMultipleResponses(LICENSEREPORTS_LINK, ReportView.class);
public static final LinkSingleResponse POLICY_STATUS_LINK_RESPONSE = new LinkSingleResponse(POLICY_STATUS_LINK, ProjectVersionPolicyStatusView.class);
public static final LinkSingleResponse PROJECT_LINK_RESPONSE = new LinkSingleResponse(PROJECT_LINK, ProjectView.class);
public static final LinkMultipleResponses VULNERABLE_COMPONENTS_LINK_RESPONSE = new LinkMultipleResponses(VULNERABLE_COMPONENTS_LINK, VulnerableComponentView.class);
static {
links.put(CODELOCATIONS_LINK, CODELOCATIONS_LINK_RESPONSE);
links.put(COMPONENTS_LINK, COMPONENTS_LINK_RESPONSE);
links.put(ISSUES_LINK, ISSUES_LINK_RESPONSE);
links.put(LICENSEREPORTS_LINK, LICENSEREPORTS_LINK_RESPONSE);
links.put(POLICY_STATUS_LINK, POLICY_STATUS_LINK_RESPONSE);
links.put(PROJECT_LINK, PROJECT_LINK_RESPONSE);
links.put(VULNERABLE_COMPONENTS_LINK, VULNERABLE_COMPONENTS_LINK_RESPONSE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy