package com.ifpdos.autotest.model;

import com.seewo.sdk.model.SDKEthernetConnectionMode;
import d.n;
import d.n0.c.l;
import d.n0.c.s;

/* JADX INFO: compiled from: EthernetConfig.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class EthernetConfig {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private SDKEthernetConnectionMode f2223a;

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

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

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

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

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

    public EthernetConfig() {
        this(null, null, null, null, null, false, 63, null);
    }

    public EthernetConfig(SDKEthernetConnectionMode sDKEthernetConnectionMode, String str, String str2, String str3, String str4, boolean z) {
        s.e(sDKEthernetConnectionMode, "openSdkConnectMode");
        s.e(str, "seewoConnectMode");
        s.e(str2, "ip");
        s.e(str3, "gateway");
        s.e(str4, "mask");
        this.f2223a = sDKEthernetConnectionMode;
        this.f2224b = str;
        this.f2225c = str2;
        this.f2226d = str3;
        this.f2227e = str4;
        this.f2228f = z;
    }

    public static /* synthetic */ EthernetConfig copy$default(EthernetConfig ethernetConfig, SDKEthernetConnectionMode sDKEthernetConnectionMode, String str, String str2, String str3, String str4, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            sDKEthernetConnectionMode = ethernetConfig.f2223a;
        }
        if ((i & 2) != 0) {
            str = ethernetConfig.f2224b;
        }
        String str5 = str;
        if ((i & 4) != 0) {
            str2 = ethernetConfig.f2225c;
        }
        String str6 = str2;
        if ((i & 8) != 0) {
            str3 = ethernetConfig.f2226d;
        }
        String str7 = str3;
        if ((i & 16) != 0) {
            str4 = ethernetConfig.f2227e;
        }
        String str8 = str4;
        if ((i & 32) != 0) {
            z = ethernetConfig.f2228f;
        }
        return ethernetConfig.copy(sDKEthernetConnectionMode, str5, str6, str7, str8, z);
    }

    public final SDKEthernetConnectionMode component1() {
        return this.f2223a;
    }

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

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

    public final String component4() {
        return this.f2226d;
    }

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

    public final boolean component6() {
        return this.f2228f;
    }

    public final EthernetConfig copy(SDKEthernetConnectionMode sDKEthernetConnectionMode, String str, String str2, String str3, String str4, boolean z) {
        s.e(sDKEthernetConnectionMode, "openSdkConnectMode");
        s.e(str, "seewoConnectMode");
        s.e(str2, "ip");
        s.e(str3, "gateway");
        s.e(str4, "mask");
        return new EthernetConfig(sDKEthernetConnectionMode, str, str2, str3, str4, z);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof EthernetConfig)) {
            return false;
        }
        EthernetConfig ethernetConfig = (EthernetConfig) obj;
        return this.f2223a == ethernetConfig.f2223a && s.a(this.f2224b, ethernetConfig.f2224b) && s.a(this.f2225c, ethernetConfig.f2225c) && s.a(this.f2226d, ethernetConfig.f2226d) && s.a(this.f2227e, ethernetConfig.f2227e) && this.f2228f == ethernetConfig.f2228f;
    }

    public final String getGateway() {
        return this.f2226d;
    }

    public final boolean getInit() {
        return this.f2228f;
    }

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

    public final String getMask() {
        return this.f2227e;
    }

    public final SDKEthernetConnectionMode getOpenSdkConnectMode() {
        return this.f2223a;
    }

    public final String getSeewoConnectMode() {
        return this.f2224b;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Type inference failed for: r1v10 */
    /* JADX WARN: Type inference failed for: r1v11 */
    /* JADX WARN: Type inference failed for: r1v9, types: [int] */
    public int hashCode() {
        int iHashCode = ((((((((this.f2223a.hashCode() * 31) + this.f2224b.hashCode()) * 31) + this.f2225c.hashCode()) * 31) + this.f2226d.hashCode()) * 31) + this.f2227e.hashCode()) * 31;
        boolean z = this.f2228f;
        ?? r1 = z;
        if (z) {
            r1 = 1;
        }
        return iHashCode + r1;
    }

    public final void setGateway(String str) {
        s.e(str, "<set-?>");
        this.f2226d = str;
    }

    public final void setInit(boolean z) {
        this.f2228f = z;
    }

    public final void setIp(String str) {
        s.e(str, "<set-?>");
        this.f2225c = str;
    }

    public final void setMask(String str) {
        s.e(str, "<set-?>");
        this.f2227e = str;
    }

    public final void setOpenSdkConnectMode(SDKEthernetConnectionMode sDKEthernetConnectionMode) {
        s.e(sDKEthernetConnectionMode, "<set-?>");
        this.f2223a = sDKEthernetConnectionMode;
    }

    public final void setSeewoConnectMode(String str) {
        s.e(str, "<set-?>");
        this.f2224b = str;
    }

    public String toString() {
        return "EthernetConfig(openSdkConnectMode=" + this.f2223a + ", seewoConnectMode=" + this.f2224b + ", ip=" + this.f2225c + ", gateway=" + this.f2226d + ", mask=" + this.f2227e + ", init=" + this.f2228f + ')';
    }

    public /* synthetic */ EthernetConfig(SDKEthernetConnectionMode sDKEthernetConnectionMode, String str, String str2, String str3, String str4, boolean z, int i, l lVar) {
        this((i & 1) != 0 ? SDKEthernetConnectionMode.DHCP : sDKEthernetConnectionMode, (i & 2) != 0 ? "dhcp" : str, (i & 4) != 0 ? "" : str2, (i & 8) != 0 ? "" : str3, (i & 16) == 0 ? str4 : "", (i & 32) != 0 ? false : z);
    }
}
