package tech.easyflow.skill.imports;

import java.math.BigInteger;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * Skill 导入确认请求。
 */
public class SkillImportConfirmRequest {

    private String importToken;
    private BigInteger categoryId;
    private String visibilityScope;
    private String conflictStrategy;
    private Map<String, String> renames = new LinkedHashMap<>();

    public String getImportToken() { return importToken; }
    public void setImportToken(String importToken) { this.importToken = importToken; }
    public BigInteger getCategoryId() { return categoryId; }
    public void setCategoryId(BigInteger categoryId) { this.categoryId = categoryId; }
    public String getVisibilityScope() { return visibilityScope; }
    public void setVisibilityScope(String visibilityScope) { this.visibilityScope = visibilityScope; }
    public String getConflictStrategy() { return conflictStrategy; }
    public void setConflictStrategy(String conflictStrategy) { this.conflictStrategy = conflictStrategy; }
    public Map<String, String> getRenames() { return renames; }
    public void setRenames(Map<String, String> renames) { this.renames = renames == null ? new LinkedHashMap<>() : new LinkedHashMap<>(renames); }
}
