package com.seewo.sdk.model;

import com.seewo.sdk.internal.model.SDKParsable;
import okhttp3.HttpUrl;

/* JADX INFO: loaded from: classes.dex */
public class HardwareInfo implements SDKParsable {
    private HardwareStatus b;
    private String d;

    public enum HardwareStatus {
        PASS,
        FAIL,
        NOT_DEFINE
    }

    private HardwareInfo() {
    }

    public String getInfo() {
        return this.d;
    }

    public HardwareStatus getStatus() {
        return this.b;
    }

    public void setInfo(String str) {
        this.d = str;
    }

    public void setStatus(HardwareStatus hardwareStatus) {
        this.b = hardwareStatus;
    }

    public HardwareInfo(HardwareStatus hardwareStatus) {
        this(hardwareStatus, HttpUrl.FRAGMENT_ENCODE_SET);
    }

    public HardwareInfo(HardwareStatus hardwareStatus, String str) {
        this();
        this.b = hardwareStatus == null ? HardwareStatus.FAIL : hardwareStatus;
        this.d = str == null ? HttpUrl.FRAGMENT_ENCODE_SET : str;
    }
}
