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

com.synopsys.integration.blackduck.api.generated.view.ProjectViewV4 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.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.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.ProjectCloneCategoriesType;
import com.synopsys.integration.blackduck.api.generated.view.ProjectVersionView;
import com.synopsys.integration.blackduck.api.generated.view.TagView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.response.AssignedUserGroupView;
import com.synopsys.integration.blackduck.api.manual.throwaway.generated.view.AssignedUserView;
import com.synopsys.integration.blackduck.api.manual.view.ProjectMappingView;

/**
* this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
* **/
public class ProjectViewV4 extends BlackDuckView {
	public static final Map links = new HashMap<>();

    public static final String CANONICALVERSION_LINK = "canonicalVersion";
    public static final String PROJECT_MAPPINGS_LINK = "project-mappings";
    public static final String TAGS_LINK = "tags";
    public static final String USERGROUPS_LINK = "usergroups";
    public static final String USERS_LINK = "users";
    public static final String VERSIONS_LINK = "versions";

	public static final LinkSingleResponse CANONICALVERSION_LINK_RESPONSE = new LinkSingleResponse(CANONICALVERSION_LINK, ProjectVersionView.class);
	public static final LinkMultipleResponses PROJECT_MAPPINGS_LINK_RESPONSE = new LinkMultipleResponses(PROJECT_MAPPINGS_LINK, ProjectMappingView.class);
	public static final LinkMultipleResponses TAGS_LINK_RESPONSE = new LinkMultipleResponses(TAGS_LINK, TagView.class);
	public static final LinkMultipleResponses USERGROUPS_LINK_RESPONSE = new LinkMultipleResponses(USERGROUPS_LINK, AssignedUserGroupView.class);
	public static final LinkMultipleResponses USERS_LINK_RESPONSE = new LinkMultipleResponses(USERS_LINK, AssignedUserView.class);
	public static final LinkMultipleResponses VERSIONS_LINK_RESPONSE = new LinkMultipleResponses(VERSIONS_LINK, ProjectVersionView.class);

    static {
	    links.put(CANONICALVERSION_LINK, CANONICALVERSION_LINK_RESPONSE);
	    links.put(PROJECT_MAPPINGS_LINK, PROJECT_MAPPINGS_LINK_RESPONSE);
	    links.put(TAGS_LINK, TAGS_LINK_RESPONSE);
	    links.put(USERGROUPS_LINK, USERGROUPS_LINK_RESPONSE);
	    links.put(USERS_LINK, USERS_LINK_RESPONSE);
	    links.put(VERSIONS_LINK, VERSIONS_LINK_RESPONSE);
    }

    private Boolean projectLevelAdjustments;
    private String name;
    private java.util.Date createdAt;
    private java.util.Date updatedAt;
    private Boolean customSignatureEnabled;
    private String updatedBy;
    private String projectOwner;
    private String createdByUser;
    private String createdBy;
    private BigDecimal customSignatureDepth;
    private String description;
    private Integer projectTier;
    private String updatedByUser;
    private java.util.List cloneCategories;

    public Boolean getProjectLevelAdjustments() {
	    return projectLevelAdjustments;
    }

    public void setProjectLevelAdjustments(Boolean projectLevelAdjustments) {
	    this.projectLevelAdjustments = projectLevelAdjustments;
    }

    public String getName() {
	    return name;
    }

    public void setName(String name) {
	    this.name = name;
    }

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

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

    public java.util.Date getUpdatedAt() {
	    return updatedAt;
    }

    public void setUpdatedAt(java.util.Date updatedAt) {
	    this.updatedAt = updatedAt;
    }

    public Boolean getCustomSignatureEnabled() {
	    return customSignatureEnabled;
    }

    public void setCustomSignatureEnabled(Boolean customSignatureEnabled) {
	    this.customSignatureEnabled = customSignatureEnabled;
    }

    public String getUpdatedBy() {
	    return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
	    this.updatedBy = updatedBy;
    }

    public String getProjectOwner() {
	    return projectOwner;
    }

    public void setProjectOwner(String projectOwner) {
	    this.projectOwner = projectOwner;
    }

    public String getCreatedByUser() {
	    return createdByUser;
    }

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

    public String getCreatedBy() {
	    return createdBy;
    }

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

    public BigDecimal getCustomSignatureDepth() {
	    return customSignatureDepth;
    }

    public void setCustomSignatureDepth(BigDecimal customSignatureDepth) {
	    this.customSignatureDepth = customSignatureDepth;
    }

    public String getDescription() {
	    return description;
    }

    public void setDescription(String description) {
	    this.description = description;
    }

    public Integer getProjectTier() {
	    return projectTier;
    }

    public void setProjectTier(Integer projectTier) {
	    this.projectTier = projectTier;
    }

    public String getUpdatedByUser() {
	    return updatedByUser;
    }

    public void setUpdatedByUser(String updatedByUser) {
	    this.updatedByUser = updatedByUser;
    }

    public java.util.List getCloneCategories() {
	    return cloneCategories;
    }

    public void setCloneCategories(java.util.List cloneCategories) {
	    this.cloneCategories = cloneCategories;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy