package co.discord.media_engine; import b.d.b.a.a; import com.discord.models.domain.ModelAuditLogEntry; import d0.z.d.m; /* compiled from: DeviceDescription.kt */ /* loaded from: classes.dex */ public final class AudioOutputDeviceDescription { private final String guid; private final String name; public AudioOutputDeviceDescription(String str, String str2) { m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME); m.checkNotNullParameter(str2, "guid"); this.name = str; this.guid = str2; } public static /* synthetic */ AudioOutputDeviceDescription copy$default(AudioOutputDeviceDescription audioOutputDeviceDescription, String str, String str2, int i, Object obj) { if ((i & 1) != 0) { str = audioOutputDeviceDescription.name; } if ((i & 2) != 0) { str2 = audioOutputDeviceDescription.guid; } return audioOutputDeviceDescription.copy(str, str2); } public final String component1() { return this.name; } public final String component2() { return this.guid; } public final AudioOutputDeviceDescription copy(String str, String str2) { m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME); m.checkNotNullParameter(str2, "guid"); return new AudioOutputDeviceDescription(str, str2); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof AudioOutputDeviceDescription)) { return false; } AudioOutputDeviceDescription audioOutputDeviceDescription = (AudioOutputDeviceDescription) obj; return m.areEqual(this.name, audioOutputDeviceDescription.name) && m.areEqual(this.guid, audioOutputDeviceDescription.guid); } public final String getGuid() { return this.guid; } public final String getName() { return this.name; } public int hashCode() { String str = this.name; int i = 0; int hashCode = (str != null ? str.hashCode() : 0) * 31; String str2 = this.guid; if (str2 != null) { i = str2.hashCode(); } return hashCode + i; } public String toString() { StringBuilder R = a.R("AudioOutputDeviceDescription(name="); R.append(this.name); R.append(", guid="); return a.H(R, this.guid, ")"); } }