io.codemodder.sonar.model.SearchHotspotsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-api-model Show documentation
Show all versions of sonar-api-model Show documentation
Library with API models for data from Sonar tools
package io.codemodder.sonar.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** The response when searching for hotspots. */
public final class SearchHotspotsResponse extends SearchFindingResponse {
@JsonProperty("hotspots")
private List hotspots;
public List getHotspots() {
return hotspots;
}
@Override
public int findingCount() {
return hotspots.size();
}
}