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

com.synopsys.integration.blackduck.api.generated.view.LicenseViewV4 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.LinkResponse;
import com.synopsys.integration.blackduck.api.core.response.LinkStringResponse;
import com.synopsys.integration.blackduck.api.generated.enumeration.ComponentVersionApprovalStatusType;
import com.synopsys.integration.blackduck.api.generated.enumeration.LicenseCodeSharingType;
import com.synopsys.integration.blackduck.api.generated.enumeration.LicenseLicenseSourceType;
import com.synopsys.integration.blackduck.api.generated.enumeration.ProjectVersionLicenseLicensesOwnershipType;

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

    public static final String TEXT_LINK = "text";

	public static final LinkStringResponse TEXT_LINK_RESPONSE = new LinkStringResponse(TEXT_LINK, String.class);

    static {
	    links.put(TEXT_LINK, TEXT_LINK_RESPONSE);
    }

    private String createdBy;
    private java.util.Date statusUpdatedAt;
    private ComponentVersionApprovalStatusType licenseStatus;
    private String name;
    private String statusUpdatedByUser;
    private LicenseLicenseSourceType licenseSource;
    private java.util.Date createdAt;
    private String notes;
    private String updatedByUser;
    private String updatedBy;
    private String createdByUser;
    private String statusUpdatedBy;
    private LicenseCodeSharingType codeSharing;
    private java.util.Date expirationDate;
    private ProjectVersionLicenseLicensesOwnershipType ownership;
    private String spdxId;
    private java.util.Date updatedAt;

    public String getCreatedBy() {
	    return createdBy;
    }

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

    public java.util.Date getStatusUpdatedAt() {
	    return statusUpdatedAt;
    }

    public void setStatusUpdatedAt(java.util.Date statusUpdatedAt) {
	    this.statusUpdatedAt = statusUpdatedAt;
    }

    public ComponentVersionApprovalStatusType getLicenseStatus() {
	    return licenseStatus;
    }

    public void setLicenseStatus(ComponentVersionApprovalStatusType licenseStatus) {
	    this.licenseStatus = licenseStatus;
    }

    public String getName() {
	    return name;
    }

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

    public String getStatusUpdatedByUser() {
	    return statusUpdatedByUser;
    }

    public void setStatusUpdatedByUser(String statusUpdatedByUser) {
	    this.statusUpdatedByUser = statusUpdatedByUser;
    }

    public LicenseLicenseSourceType getLicenseSource() {
	    return licenseSource;
    }

    public void setLicenseSource(LicenseLicenseSourceType licenseSource) {
	    this.licenseSource = licenseSource;
    }

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

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

    public String getNotes() {
	    return notes;
    }

    public void setNotes(String notes) {
	    this.notes = notes;
    }

    public String getUpdatedByUser() {
	    return updatedByUser;
    }

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

    public String getUpdatedBy() {
	    return updatedBy;
    }

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

    public String getCreatedByUser() {
	    return createdByUser;
    }

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

    public String getStatusUpdatedBy() {
	    return statusUpdatedBy;
    }

    public void setStatusUpdatedBy(String statusUpdatedBy) {
	    this.statusUpdatedBy = statusUpdatedBy;
    }

    public LicenseCodeSharingType getCodeSharing() {
	    return codeSharing;
    }

    public void setCodeSharing(LicenseCodeSharingType codeSharing) {
	    this.codeSharing = codeSharing;
    }

    public java.util.Date getExpirationDate() {
	    return expirationDate;
    }

    public void setExpirationDate(java.util.Date expirationDate) {
	    this.expirationDate = expirationDate;
    }

    public ProjectVersionLicenseLicensesOwnershipType getOwnership() {
	    return ownership;
    }

    public void setOwnership(ProjectVersionLicenseLicensesOwnershipType ownership) {
	    this.ownership = ownership;
    }

    public String getSpdxId() {
	    return spdxId;
    }

    public void setSpdxId(String spdxId) {
	    this.spdxId = spdxId;
    }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy