package com.seewo.sdk.model;

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

/* JADX INFO: loaded from: classes.dex */
public class SDKMicroPhoneDevice implements SDKParsable {
    public static final int SYSTEM_BUILD_IN_MIC_ID = 15;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private int f3572b;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private boolean f3573g;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    private boolean f3574r;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    private String f3575x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    private boolean f3576y;

    public SDKMicroPhoneDevice() {
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return obj != null && getClass() == obj.getClass() && this.f3572b == ((SDKMicroPhoneDevice) obj).f3572b;
    }

    public int getCardId() {
        return this.f3572b;
    }

    public String getDeviceName() {
        return this.f3575x;
    }

    public int hashCode() {
        return this.f3572b;
    }

    public boolean isCurrentMic() {
        return this.f3576y;
    }

    public boolean isHasCapture() {
        return this.f3574r;
    }

    public boolean isHasPlayback() {
        return this.f3573g;
    }

    public void setCardId(int i2) {
        this.f3572b = i2;
    }

    public void setCurrentMic(boolean z2) {
        this.f3576y = z2;
    }

    public void setDeviceName(String str) {
        this.f3575x = str;
    }

    public void setHasCapture(boolean z2) {
        this.f3574r = z2;
    }

    public void setHasPlayback(boolean z2) {
        this.f3573g = z2;
    }

    public String toString() {
        return "MicroPhoneDevice{cardId=" + this.f3572b + ", hasPlayback=" + this.f3573g + ", hasCapture=" + this.f3574r + ", deviceName='" + this.f3575x + "', isCurrentMic=" + this.f3576y + '}';
    }

    public SDKMicroPhoneDevice(int i2, boolean z2, boolean z3, String str) {
        this.f3572b = i2;
        this.f3573g = z2;
        this.f3574r = z3;
        this.f3575x = str;
    }
}
