package ru.yandex.webmaster3.viewer.http.regions;

import ru.yandex.webmaster3.core.http.ActionResponse;
import ru.yandex.webmaster3.core.http.ActionStatus;
import ru.yandex.webmaster3.viewer.regions.data.RegionWithParents;

import java.util.List;

/**
 * @author avhaliullin
 */
public class RegionsSuggestResponse implements ActionResponse.NormalResponse {
    private final List<RegionWithParents> regions;

    public RegionsSuggestResponse(List<RegionWithParents> regions) {
        this.regions = regions;
    }

    public List<RegionWithParents> getRegions() {
        return regions;
    }
}
