class ObjectGroupResponse {

    @JsonIgnore
    public Optional<VersionsModel> getFirstVersionsModel(String qualifier) {

        Optional<QualifiersModel> modelOptional = getQualifiersModel(qualifier);

        if (modelOptional.isPresent()) {
            return modelOptional
                .get()
                .getVersions()
                .stream()
                .min(comparing(VersionsModel::getDataVersion));
        }
        return empty();
    }

}