/**
 * This file is part of Eclipse Steady.
 *
 * Licensed 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.
 *
 * SPDX-License-Identifier: Apache-2.0
 * SPDX-FileCopyrightText: Copyright (c) 2018-2020 SAP SE or an SAP affiliate company and Eclipse Steady contributors
 */
package org.eclipse.steady.kb.model;

import java.util.List;
import com.google.gson.annotations.SerializedName;

/**
 * Vulnerability information
 */
public class Vulnerability {
  @SerializedName("vulnerability_id")
  private String vulnId;

  @SerializedName("affected_artifacts")
  private List<Artifact> artifacts;

  private List<Note> notes;
  private List<String> aliases;

  /**
   * <p>Getter for the field <code>vulnId</code>.</p>
   *
   * @return a {@link java.lang.String} object
   */
  public String getVulnId() {
    return vulnId;
  }

  /**
   * <p>Setter for the field <code>vulnId</code>.</p>
   *
   * @param vulnId a {@link java.lang.String} object
   */
  public void setVulnId(String vulnId) {
    this.vulnId = vulnId;
  }

  /**
   * <p>Getter for the field <code>artifacts</code>.</p>
   *
   * @return a {@link java.util.List} object
   */
  public List<Artifact> getArtifacts() {
    return artifacts;
  }

  /**
   * <p>Setter for the field <code>artifacts</code>.</p>
   *
   * @param artifacts a {@link java.util.List} object
   */
  public void setArtifacts(List<Artifact> artifacts) {
    this.artifacts = artifacts;
  }

  /**
   * <p>Getter for the field <code>notes</code>.</p>
   *
   * @return a {@link java.util.List} object
   */
  public List<Note> getNotes() {
    return notes;
  }

  /**
   * <p>Setter for the field <code>notes</code>.</p>
   *
   * @param notes a {@link java.util.List} object
   */
  public void setNotes(List<Note> notes) {
    this.notes = notes;
  }

  /**
   * <p>Getter for the field <code>aliases</code>.</p>
   *
   * @return a {@link java.util.List} object
   */
  public List<String> getAliases() {
    return aliases;
  }

  /**
   * <p>Setter for the field <code>aliases</code>.</p>
   *
   * @param aliases a {@link java.util.List} object
   */
  public void setAliases(List<String> aliases) {
    this.aliases = aliases;
  }
}
