package com.blackduck.integration.detectable.detectables.cargo.model;

import java.util.List;

import com.blackduck.integration.detectable.util.NameOptionalVersion;
import com.blackduck.integration.util.NameVersion;

public class CargoLockPackage {
    private final NameVersion packageNameVersion;
    private final List<NameOptionalVersion> dependencies;

    public CargoLockPackage(NameVersion packageNameVersion, List<NameOptionalVersion> dependencies) {
        this.packageNameVersion = packageNameVersion;
        this.dependencies = dependencies;
    }

    public NameVersion getPackageNameVersion() {
        return packageNameVersion;
    }

    public List<NameOptionalVersion> getDependencies() {
        return dependencies;
    }
}
