2021-06-27 20:44:35 +00:00
|
|
|
package co.discord.media_engine;
|
|
|
|
|
2021-12-21 23:37:30 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-09 22:50:01 +00:00
|
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
2021-11-08 18:25:28 +00:00
|
|
|
import d0.z.d.m;
|
2021-06-27 20:44:35 +00:00
|
|
|
/* compiled from: DeviceDescription.kt */
|
2022-03-02 20:59:20 +00:00
|
|
|
/* loaded from: classes.dex */
|
2021-06-27 20:44:35 +00:00
|
|
|
public final class AudioOutputDeviceDescription {
|
|
|
|
private final String guid;
|
|
|
|
private final String name;
|
|
|
|
|
|
|
|
public AudioOutputDeviceDescription(String str, String str2) {
|
2021-08-09 22:50:01 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
2021-06-27 20:44:35 +00:00
|
|
|
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) {
|
2021-08-09 22:50:01 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
2021-06-27 20:44:35 +00:00
|
|
|
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() {
|
2022-03-30 16:43:10 +00:00
|
|
|
StringBuilder R = a.R("AudioOutputDeviceDescription(name=");
|
|
|
|
R.append(this.name);
|
|
|
|
R.append(", guid=");
|
|
|
|
return a.H(R, this.guid, ")");
|
2021-06-27 20:44:35 +00:00
|
|
|
}
|
|
|
|
}
|