77 lines
2.3 KiB
Java
77 lines
2.3 KiB
Java
package co.discord.media_engine;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: DeviceDescription.kt */
|
|
public final class AudioOutputDeviceDescription {
|
|
private final String guid;
|
|
private final String name;
|
|
|
|
public AudioOutputDeviceDescription(String str, String str2) {
|
|
m.checkNotNullParameter(str, "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, "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 K = a.K("AudioOutputDeviceDescription(name=");
|
|
K.append(this.name);
|
|
K.append(", guid=");
|
|
return a.C(K, this.guid, ")");
|
|
}
|
|
}
|