package com.ifpos.bytello.share.sdk.model;

import com.google.gson.annotations.SerializedName;
import d.b.a.a.a;
import g.h0.c.g;
import g.h0.c.l;
import g.i;

/* JADX INFO: compiled from: PinCodeInfo.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class PinCodeInfo {
    public static final Companion Companion = new Companion(null);
    public static final int NET_STATUS_DEFAULT = 0;
    public static final int NET_STATUS_ERROR = 2;
    public static final int NET_STATUS_WARN = 1;
    public static final int NET_TYPE_AP = 3;
    public static final int NET_TYPE_ETHERNET = 2;
    public static final int NET_TYPE_UNKNOWN = 0;
    public static final int NET_TYPE_WIFI = 1;

    @SerializedName("deviceName")
    private final String deviceName;

    @SerializedName("ip")
    private final String ip;

    @SerializedName("netName")
    private final String netName;

    @SerializedName("netStatus")
    private final int netStatus;

    @SerializedName("netType")
    private final int netType;

    @SerializedName("pinCode")
    private final String pinCode;

    /* JADX INFO: compiled from: PinCodeInfo.kt */
    @i
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(g gVar) {
            this();
        }
    }

    public PinCodeInfo(String str, String str2, String str3, int i2, String str4, int i3) {
        l.f(str, "deviceName");
        l.f(str2, "pinCode");
        l.f(str3, "netName");
        l.f(str4, "ip");
        this.deviceName = str;
        this.pinCode = str2;
        this.netName = str3;
        this.netType = i2;
        this.ip = str4;
        this.netStatus = i3;
    }

    public static /* synthetic */ PinCodeInfo copy$default(PinCodeInfo pinCodeInfo, String str, String str2, String str3, int i2, String str4, int i3, int i4, Object obj) {
        if ((i4 & 1) != 0) {
            str = pinCodeInfo.deviceName;
        }
        if ((i4 & 2) != 0) {
            str2 = pinCodeInfo.pinCode;
        }
        String str5 = str2;
        if ((i4 & 4) != 0) {
            str3 = pinCodeInfo.netName;
        }
        String str6 = str3;
        if ((i4 & 8) != 0) {
            i2 = pinCodeInfo.netType;
        }
        int i5 = i2;
        if ((i4 & 16) != 0) {
            str4 = pinCodeInfo.ip;
        }
        String str7 = str4;
        if ((i4 & 32) != 0) {
            i3 = pinCodeInfo.netStatus;
        }
        return pinCodeInfo.copy(str, str5, str6, i5, str7, i3);
    }

    public final String component1() {
        return this.deviceName;
    }

    public final String component2() {
        return this.pinCode;
    }

    public final String component3() {
        return this.netName;
    }

    public final int component4() {
        return this.netType;
    }

    public final String component5() {
        return this.ip;
    }

    public final int component6() {
        return this.netStatus;
    }

    public final PinCodeInfo copy(String str, String str2, String str3, int i2, String str4, int i3) {
        l.f(str, "deviceName");
        l.f(str2, "pinCode");
        l.f(str3, "netName");
        l.f(str4, "ip");
        return new PinCodeInfo(str, str2, str3, i2, str4, i3);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof PinCodeInfo)) {
            return false;
        }
        PinCodeInfo pinCodeInfo = (PinCodeInfo) obj;
        return l.a(this.deviceName, pinCodeInfo.deviceName) && l.a(this.pinCode, pinCodeInfo.pinCode) && l.a(this.netName, pinCodeInfo.netName) && this.netType == pinCodeInfo.netType && l.a(this.ip, pinCodeInfo.ip) && this.netStatus == pinCodeInfo.netStatus;
    }

    public final String getDeviceName() {
        return this.deviceName;
    }

    public final String getIp() {
        return this.ip;
    }

    public final String getNetName() {
        return this.netName;
    }

    public final int getNetStatus() {
        return this.netStatus;
    }

    public final int getNetType() {
        return this.netType;
    }

    public final String getPinCode() {
        return this.pinCode;
    }

    public int hashCode() {
        return Integer.hashCode(this.netStatus) + a.x(this.ip, (Integer.hashCode(this.netType) + a.x(this.netName, a.x(this.pinCode, this.deviceName.hashCode() * 31, 31), 31)) * 31, 31);
    }

    public String toString() {
        return "PinCodeInfo(deviceName=" + this.deviceName + ", pinCode=" + this.pinCode + ", netName=" + this.netName + ", netType=" + this.netType + ", ip=" + this.ip + ", netStatus=" + this.netStatus + ")";
    }
}
