2021-08-03 07:33:18 +00:00
|
|
|
package co.discord.media_engine;
|
|
|
|
|
2021-12-17 21:59:34 +00:00
|
|
|
import b.d.b.a.a;
|
2021-08-09 22:51:56 +00:00
|
|
|
import com.discord.models.domain.ModelAuditLogEntry;
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: DeviceDescription.kt */
|
|
|
|
public final class VideoInputDeviceDescription {
|
|
|
|
private final VideoInputDeviceFacing facing;
|
|
|
|
private final String guid;
|
|
|
|
private final String name;
|
|
|
|
|
|
|
|
public VideoInputDeviceDescription(String str, String str2, VideoInputDeviceFacing videoInputDeviceFacing) {
|
2021-08-09 22:51:56 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
2021-08-03 07:33:18 +00:00
|
|
|
m.checkNotNullParameter(str2, "guid");
|
|
|
|
m.checkNotNullParameter(videoInputDeviceFacing, "facing");
|
|
|
|
this.name = str;
|
|
|
|
this.guid = str2;
|
|
|
|
this.facing = videoInputDeviceFacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static /* synthetic */ VideoInputDeviceDescription copy$default(VideoInputDeviceDescription videoInputDeviceDescription, String str, String str2, VideoInputDeviceFacing videoInputDeviceFacing, int i, Object obj) {
|
|
|
|
if ((i & 1) != 0) {
|
|
|
|
str = videoInputDeviceDescription.name;
|
|
|
|
}
|
|
|
|
if ((i & 2) != 0) {
|
|
|
|
str2 = videoInputDeviceDescription.guid;
|
|
|
|
}
|
|
|
|
if ((i & 4) != 0) {
|
|
|
|
videoInputDeviceFacing = videoInputDeviceDescription.facing;
|
|
|
|
}
|
|
|
|
return videoInputDeviceDescription.copy(str, str2, videoInputDeviceFacing);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component1() {
|
|
|
|
return this.name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final String component2() {
|
|
|
|
return this.guid;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final VideoInputDeviceFacing component3() {
|
|
|
|
return this.facing;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final VideoInputDeviceDescription copy(String str, String str2, VideoInputDeviceFacing videoInputDeviceFacing) {
|
2021-08-09 22:51:56 +00:00
|
|
|
m.checkNotNullParameter(str, ModelAuditLogEntry.CHANGE_KEY_NAME);
|
2021-08-03 07:33:18 +00:00
|
|
|
m.checkNotNullParameter(str2, "guid");
|
|
|
|
m.checkNotNullParameter(videoInputDeviceFacing, "facing");
|
|
|
|
return new VideoInputDeviceDescription(str, str2, videoInputDeviceFacing);
|
|
|
|
}
|
|
|
|
|
|
|
|
public boolean equals(Object obj) {
|
|
|
|
if (this == obj) {
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
if (!(obj instanceof VideoInputDeviceDescription)) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
VideoInputDeviceDescription videoInputDeviceDescription = (VideoInputDeviceDescription) obj;
|
|
|
|
return m.areEqual(this.name, videoInputDeviceDescription.name) && m.areEqual(this.guid, videoInputDeviceDescription.guid) && m.areEqual(this.facing, videoInputDeviceDescription.facing);
|
|
|
|
}
|
|
|
|
|
|
|
|
public final VideoInputDeviceFacing getFacing() {
|
|
|
|
return this.facing;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
|
|
VideoInputDeviceFacing videoInputDeviceFacing = this.facing;
|
|
|
|
if (videoInputDeviceFacing != null) {
|
|
|
|
i = videoInputDeviceFacing.hashCode();
|
|
|
|
}
|
|
|
|
return hashCode2 + i;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String toString() {
|
2021-11-05 06:48:17 +00:00
|
|
|
StringBuilder R = a.R("VideoInputDeviceDescription(name=");
|
|
|
|
R.append(this.name);
|
|
|
|
R.append(", guid=");
|
|
|
|
R.append(this.guid);
|
|
|
|
R.append(", facing=");
|
|
|
|
R.append(this.facing);
|
|
|
|
R.append(")");
|
|
|
|
return R.toString();
|
2021-08-03 07:33:18 +00:00
|
|
|
}
|
|
|
|
}
|