package com.ifpdos.autotest.udi;

import com.google.gson.annotations.SerializedName;
import com.seewo.libmcuservice.constant.ITVStateConstants;
import com.seewo.sdk.model.SDKEthernetConnectionMode;
import d.n;
import d.n0.c.s;

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    @SerializedName(ITVStateConstants.KEY_VOICE_VALUE)
    private final SDKEthernetConnectionMode f2338a;

    public EthModeValueBody(SDKEthernetConnectionMode sDKEthernetConnectionMode) {
        s.e(sDKEthernetConnectionMode, ITVStateConstants.KEY_VOICE_VALUE);
        this.f2338a = sDKEthernetConnectionMode;
    }

    public static /* synthetic */ EthModeValueBody copy$default(EthModeValueBody ethModeValueBody, SDKEthernetConnectionMode sDKEthernetConnectionMode, int i, Object obj) {
        if ((i & 1) != 0) {
            sDKEthernetConnectionMode = ethModeValueBody.f2338a;
        }
        return ethModeValueBody.copy(sDKEthernetConnectionMode);
    }

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

    public final EthModeValueBody copy(SDKEthernetConnectionMode sDKEthernetConnectionMode) {
        s.e(sDKEthernetConnectionMode, ITVStateConstants.KEY_VOICE_VALUE);
        return new EthModeValueBody(sDKEthernetConnectionMode);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof EthModeValueBody) && this.f2338a == ((EthModeValueBody) obj).f2338a;
    }

    public final SDKEthernetConnectionMode getValue() {
        return this.f2338a;
    }

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

    public String toString() {
        return "EthModeValueBody(value=" + this.f2338a + ')';
    }
}
