package com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
@kotlin.Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\n\b\u0086\b\u0018\u00002\u00020\u0001J\u0010\u0010\u0003\u001a\u00020\u0002HÖ\u0001¢\u0006\u0004\b\u0003\u0010\u0004J\u0010\u0010\u0006\u001a\u00020\u0005HÖ\u0001¢\u0006\u0004\b\u0006\u0010\u0007J\u001a\u0010\n\u001a\u00020\t2\b\u0010\b\u001a\u0004\u0018\u00010\u0001HÖ\u0003¢\u0006\u0004\b\n\u0010\u000bR\u001c\u0010\u0010\u001a\u0004\u0018\u00010\f8\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\r\u0010\u000e\u001a\u0004\b\r\u0010\u000fR\u001c\u0010\u0015\u001a\u0004\u0018\u00010\u00058\u0006X\u0087\u0004¢\u0006\f\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0013\u0010\u0014¨\u0006\u0016"}, d2 = {"Lcom/vinfast/companion/mqttkit/domain/remotecontrol/common/raw/PetModeMsgContentResponse;", "", "", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "other", "", "equals", "(Ljava/lang/Object;)Z", "Lcom/vinfast/companion/mqttkit/domain/remotecontrol/common/raw/enums/ActiveDeactiveControlState;", "a", "Lcom/vinfast/companion/mqttkit/domain/remotecontrol/common/raw/enums/ActiveDeactiveControlState;", "()Lcom/vinfast/companion/mqttkit/domain/remotecontrol/common/raw/enums/ActiveDeactiveControlState;", "petMode", "b", "Ljava/lang/Integer;", "getErrorCode", "()Ljava/lang/Integer;", "errorCode", "mqttKit_release"}, k = 1, mv = {2, 2, 0}, xi = 48)
public final /* data */ class PetModeMsgContentResponse {

    /* JADX INFO: renamed from: a, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("petmode")
    @org.jetbrains.annotations.Nullable
    private final com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.enums.ActiveDeactiveControlState petMode;

    /* JADX INFO: renamed from: b, reason: from kotlin metadata and from toString */
    @com.google.gson.annotations.SerializedName("control_errorcode")
    @org.jetbrains.annotations.Nullable
    private final java.lang.Integer errorCode;

    /* JADX INFO: renamed from: a, reason: from getter */
    public final com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.enums.ActiveDeactiveControlState getPetMode() {
        return this.petMode;
    }

    public boolean equals(java.lang.Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.PetModeMsgContentResponse)) {
            return false;
        }
        com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.PetModeMsgContentResponse petModeMsgContentResponse = (com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.PetModeMsgContentResponse) other;
        return this.petMode == petModeMsgContentResponse.petMode && kotlin.jvm.internal.Intrinsics.g(this.errorCode, petModeMsgContentResponse.errorCode);
    }

    public int hashCode() {
        com.vinfast.companion.mqttkit.domain.remotecontrol.common.raw.enums.ActiveDeactiveControlState activeDeactiveControlState = this.petMode;
        int iHashCode = (activeDeactiveControlState == null ? 0 : activeDeactiveControlState.hashCode()) * 31;
        java.lang.Integer num = this.errorCode;
        return iHashCode + (num != null ? num.hashCode() : 0);
    }

    public java.lang.String toString() {
        return "PetModeMsgContentResponse(petMode=" + this.petMode + ", errorCode=" + this.errorCode + ")";
    }
}
