All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.synopsys.integration.blackduck.api.generated.view.ProjectVersionViewV4 Maven / Gradle / Ivy

Go to download

A library of mostly temporary request/response classes for the Black Duck REST API.

There is a newer version: 2023.10.0.4
Show newest version
/**
 * 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 ProjectVersionViewV4 extends BlackDuckView {
	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);
    }

    private String createdBy;
    private String releaseComments;
    private String source;
    private java.util.Date createdAt;
    private String nickname;
    private java.util.Date settingUpdatedAt;
    private String createdByUser;
    private String settingUpdatedByUser;
    private String settingUpdatedBy;
    private java.util.Date releasedOn;
    private LicenseFamilyLicenseFamilyRiskRulesReleaseDistributionType distribution;
    private String versionName;
    private ProjectVersionLicenseView license;
    private ProjectVersionPhaseType phase;

    public String getCreatedBy() {
	    return createdBy;
    }

    public void setCreatedBy(String createdBy) {
	    this.createdBy = createdBy;
    }

    public String getReleaseComments() {
	    return releaseComments;
    }

    public void setReleaseComments(String releaseComments) {
	    this.releaseComments = releaseComments;
    }

    public String getSource() {
	    return source;
    }

    public void setSource(String source) {
	    this.source = source;
    }

    public java.util.Date getCreatedAt() {
	    return createdAt;
    }

    public void setCreatedAt(java.util.Date createdAt) {
	    this.createdAt = createdAt;
    }

    public String getNickname() {
	    return nickname;
    }

    public void setNickname(String nickname) {
	    this.nickname = nickname;
    }

    public java.util.Date getSettingUpdatedAt() {
	    return settingUpdatedAt;
    }

    public void setSettingUpdatedAt(java.util.Date settingUpdatedAt) {
	    this.settingUpdatedAt = settingUpdatedAt;
    }

    public String getCreatedByUser() {
	    return createdByUser;
    }

    public void setCreatedByUser(String createdByUser) {
	    this.createdByUser = createdByUser;
    }

    public String getSettingUpdatedByUser() {
	    return settingUpdatedByUser;
    }

    public void setSettingUpdatedByUser(String settingUpdatedByUser) {
	    this.settingUpdatedByUser = settingUpdatedByUser;
    }

    public String getSettingUpdatedBy() {
	    return settingUpdatedBy;
    }

    public void setSettingUpdatedBy(String settingUpdatedBy) {
	    this.settingUpdatedBy = settingUpdatedBy;
    }

    public java.util.Date getReleasedOn() {
	    return releasedOn;
    }

    public void setReleasedOn(java.util.Date releasedOn) {
	    this.releasedOn = releasedOn;
    }

    public LicenseFamilyLicenseFamilyRiskRulesReleaseDistributionType getDistribution() {
	    return distribution;
    }

    public void setDistribution(LicenseFamilyLicenseFamilyRiskRulesReleaseDistributionType distribution) {
	    this.distribution = distribution;
    }

    public String getVersionName() {
	    return versionName;
    }

    public void setVersionName(String versionName) {
	    this.versionName = versionName;
    }

    public ProjectVersionLicenseView getLicense() {
	    return license;
    }

    public void setLicense(ProjectVersionLicenseView license) {
	    this.license = license;
    }

    public ProjectVersionPhaseType getPhase() {
	    return phase;
    }

    public void setPhase(ProjectVersionPhaseType phase) {
	    this.phase = phase;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy