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

com.synopsys.integration.blackduck.api.generated.view.CodeLocationViewV4 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.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;

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

    public static final String SCANS_LINK = "scans";

	public static final LinkStringResponse SCANS_LINK_RESPONSE = new LinkStringResponse(SCANS_LINK, String.class);

    static {
	    links.put(SCANS_LINK, SCANS_LINK_RESPONSE);
    }

    private String url;
    private String name;
    private String mappedProjectVersion;
    private java.util.Date createdAt;
    private java.util.Date updatedAt;
    private BigDecimal scanSize;

    public String getUrl() {
	    return url;
    }

    public void setUrl(String url) {
	    this.url = url;
    }

    public String getName() {
	    return name;
    }

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

    public String getMappedProjectVersion() {
	    return mappedProjectVersion;
    }

    public void setMappedProjectVersion(String mappedProjectVersion) {
	    this.mappedProjectVersion = mappedProjectVersion;
    }

    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 BigDecimal getScanSize() {
	    return scanSize;
    }

    public void setScanSize(BigDecimal scanSize) {
	    this.scanSize = scanSize;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy