package com.ifpdos.factorytest.udi;

import com.google.gson.annotations.SerializedName;
import com.seewo.vcommons.constants.SeewoIntent;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: ProtocolDefine.kt */
/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u0012\u0006\u0010\u0007\u001a\u00020\u0003¢\u0006\u0002\u0010\bJ\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0010\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0011\u001a\u00020\u0006HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0003HÆ\u0003J1\u0010\u0013\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u00062\b\b\u0002\u0010\u0007\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0018HÖ\u0001J\t\u0010\u0019\u001a\u00020\u0003HÖ\u0001R\u0016\u0010\u0004\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0016\u0010\u0002\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\nR\u0016\u0010\u0007\u001a\u00020\u00038\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\f\u0010\nR\u0016\u0010\u0005\u001a\u00020\u00068\u0006X\u0087\u0004¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001a"}, d2 = {"Lcom/ifpdos/factorytest/udi/AudioDevice;", "", "id", "", "address", SeewoIntent.KEY_FILE_TYPE, "Lcom/ifpdos/factorytest/udi/AudioDeviceTypeEnum;", "name", "(Ljava/lang/String;Ljava/lang/String;Lcom/ifpdos/factorytest/udi/AudioDeviceTypeEnum;Ljava/lang/String;)V", "getAddress", "()Ljava/lang/String;", "getId", "getName", "getType", "()Lcom/ifpdos/factorytest/udi/AudioDeviceTypeEnum;", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "app_generalRelease"}, k = 1, mv = {1, 8, 0}, xi = 48)
public final /* data */ class AudioDevice {

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

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

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

    @SerializedName(SeewoIntent.KEY_FILE_TYPE)
    private final AudioDeviceTypeEnum type;

    public static /* synthetic */ AudioDevice copy$default(AudioDevice audioDevice, String str, String str2, AudioDeviceTypeEnum audioDeviceTypeEnum, String str3, int i, Object obj) {
        if ((i & 1) != 0) {
            str = audioDevice.id;
        }
        if ((i & 2) != 0) {
            str2 = audioDevice.address;
        }
        if ((i & 4) != 0) {
            audioDeviceTypeEnum = audioDevice.type;
        }
        if ((i & 8) != 0) {
            str3 = audioDevice.name;
        }
        return audioDevice.copy(str, str2, audioDeviceTypeEnum, str3);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final String getId() {
        return this.id;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getAddress() {
        return this.address;
    }

    /* JADX INFO: renamed from: component3, reason: from getter */
    public final AudioDeviceTypeEnum getType() {
        return this.type;
    }

    /* JADX INFO: renamed from: component4, reason: from getter */
    public final String getName() {
        return this.name;
    }

    public final AudioDevice copy(String id, String address, AudioDeviceTypeEnum type, String name) {
        Intrinsics.checkNotNullParameter(id, "id");
        Intrinsics.checkNotNullParameter(address, "address");
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(name, "name");
        return new AudioDevice(id, address, type, name);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof AudioDevice)) {
            return false;
        }
        AudioDevice audioDevice = (AudioDevice) other;
        return Intrinsics.areEqual(this.id, audioDevice.id) && Intrinsics.areEqual(this.address, audioDevice.address) && this.type == audioDevice.type && Intrinsics.areEqual(this.name, audioDevice.name);
    }

    public int hashCode() {
        return (((((this.id.hashCode() * 31) + this.address.hashCode()) * 31) + this.type.hashCode()) * 31) + this.name.hashCode();
    }

    public String toString() {
        return "AudioDevice(id=" + this.id + ", address=" + this.address + ", type=" + this.type + ", name=" + this.name + ")";
    }

    public AudioDevice(String id, String address, AudioDeviceTypeEnum type, String name) {
        Intrinsics.checkNotNullParameter(id, "id");
        Intrinsics.checkNotNullParameter(address, "address");
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(name, "name");
        this.id = id;
        this.address = address;
        this.type = type;
        this.name = name;
    }

    public final String getId() {
        return this.id;
    }

    public final String getAddress() {
        return this.address;
    }

    public final AudioDeviceTypeEnum getType() {
        return this.type;
    }

    public final String getName() {
        return this.name;
    }
}
