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

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonAnySetter;

public class Pod {
    private String name;
    private String cleanName;
    private List<String> dependencies = new ArrayList<>();

    public Pod() {
    }

    public Pod(String name) {
        this.name = name;
    }

    @JsonAnySetter
    public void setDynamicProperty(String name, List<String> dependencies) {
        this.name = name;
        this.dependencies = dependencies;
    }

    public String getName() {
        return name;
    }

    public String getCleanName() {
        return cleanName;
    }

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