78 lines
2.3 KiB
Java
78 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 AudioInputDeviceDescription {
|
||
|
private final String guid;
|
||
|
private final String name;
|
||
|
|
||
|
public AudioInputDeviceDescription(String str, String str2) {
|
||
|
m.checkNotNullParameter(str, "name");
|
||
|
m.checkNotNullParameter(str2, "guid");
|
||
|
this.name = str;
|
||
|
this.guid = str2;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ AudioInputDeviceDescription copy$default(AudioInputDeviceDescription audioInputDeviceDescription, String str, String str2, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = audioInputDeviceDescription.name;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
str2 = audioInputDeviceDescription.guid;
|
||
|
}
|
||
|
return audioInputDeviceDescription.copy(str, str2);
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return this.name;
|
||
|
}
|
||
|
|
||
|
public final String component2() {
|
||
|
return this.guid;
|
||
|
}
|
||
|
|
||
|
public final AudioInputDeviceDescription copy(String str, String str2) {
|
||
|
m.checkNotNullParameter(str, "name");
|
||
|
m.checkNotNullParameter(str2, "guid");
|
||
|
return new AudioInputDeviceDescription(str, str2);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof AudioInputDeviceDescription)) {
|
||
|
return false;
|
||
|
}
|
||
|
AudioInputDeviceDescription audioInputDeviceDescription = (AudioInputDeviceDescription) obj;
|
||
|
return m.areEqual(this.name, audioInputDeviceDescription.name) && m.areEqual(this.guid, audioInputDeviceDescription.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("AudioInputDeviceDescription(name=");
|
||
|
K.append(this.name);
|
||
|
K.append(", guid=");
|
||
|
return a.C(K, this.guid, ")");
|
||
|
}
|
||
|
}
|