package ru.yandex.wmconsole.viewer.api;

import ru.yandex.wmconsole.data.HostInfoStatusEnum;
import ru.yandex.wmconsole.data.VerificationStateEnum;
import ru.yandex.wmconsole.data.info.api.ApiHostInfo;
import ru.yandex.wmconsole.verification.VerificationTypeEnum;

import java.util.Date;

/**
 * User: azakharov
 * Date: 26.02.14
 * Time: 18:39
 */
public class ApiBaseHostInfo extends ApiHostInfo {
    private final boolean isMainMirror;

    public ApiBaseHostInfo(long id, String name, VerificationStateEnum verificationState, VerificationTypeEnum verificationType, Long urls, boolean isVirused, Integer tcy, Long indexCount, HostInfoStatusEnum hostInfoStatus, Date lastAccess, boolean isMainMirror) {
        super(id, name, verificationState, verificationType, urls, isVirused, tcy, indexCount, hostInfoStatus, lastAccess);
        this.isMainMirror = isMainMirror;
    }

    public boolean isMainMirror() {
        return isMainMirror;
    }
}
