116 lines
3.6 KiB
Java
116 lines
3.6 KiB
Java
package co.discord.media_engine.internal;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: NativeStatistics.kt */
|
|
public final class Inbound {
|
|
private final InboundAudio audio;
|
|
|
|
/* renamed from: id reason: collision with root package name */
|
|
private final String f1540id;
|
|
private final InboundPlayout playout;
|
|
private final InboundVideo video;
|
|
|
|
public Inbound(String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout) {
|
|
m.checkNotNullParameter(str, "id");
|
|
m.checkNotNullParameter(inboundAudio, "audio");
|
|
this.f1540id = str;
|
|
this.audio = inboundAudio;
|
|
this.video = inboundVideo;
|
|
this.playout = inboundPlayout;
|
|
}
|
|
|
|
public static /* synthetic */ Inbound copy$default(Inbound inbound, String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = inbound.f1540id;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
inboundAudio = inbound.audio;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
inboundVideo = inbound.video;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
inboundPlayout = inbound.playout;
|
|
}
|
|
return inbound.copy(str, inboundAudio, inboundVideo, inboundPlayout);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.f1540id;
|
|
}
|
|
|
|
public final InboundAudio component2() {
|
|
return this.audio;
|
|
}
|
|
|
|
public final InboundVideo component3() {
|
|
return this.video;
|
|
}
|
|
|
|
public final InboundPlayout component4() {
|
|
return this.playout;
|
|
}
|
|
|
|
public final Inbound copy(String str, InboundAudio inboundAudio, InboundVideo inboundVideo, InboundPlayout inboundPlayout) {
|
|
m.checkNotNullParameter(str, "id");
|
|
m.checkNotNullParameter(inboundAudio, "audio");
|
|
return new Inbound(str, inboundAudio, inboundVideo, inboundPlayout);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof Inbound)) {
|
|
return false;
|
|
}
|
|
Inbound inbound = (Inbound) obj;
|
|
return m.areEqual(this.f1540id, inbound.f1540id) && m.areEqual(this.audio, inbound.audio) && m.areEqual(this.video, inbound.video) && m.areEqual(this.playout, inbound.playout);
|
|
}
|
|
|
|
public final InboundAudio getAudio() {
|
|
return this.audio;
|
|
}
|
|
|
|
public final String getId() {
|
|
return this.f1540id;
|
|
}
|
|
|
|
public final InboundPlayout getPlayout() {
|
|
return this.playout;
|
|
}
|
|
|
|
public final InboundVideo getVideo() {
|
|
return this.video;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.f1540id;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
InboundAudio inboundAudio = this.audio;
|
|
int hashCode2 = (hashCode + (inboundAudio != null ? inboundAudio.hashCode() : 0)) * 31;
|
|
InboundVideo inboundVideo = this.video;
|
|
int hashCode3 = (hashCode2 + (inboundVideo != null ? inboundVideo.hashCode() : 0)) * 31;
|
|
InboundPlayout inboundPlayout = this.playout;
|
|
if (inboundPlayout != null) {
|
|
i = inboundPlayout.hashCode();
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("Inbound(id=");
|
|
K.append(this.f1540id);
|
|
K.append(", audio=");
|
|
K.append(this.audio);
|
|
K.append(", video=");
|
|
K.append(this.video);
|
|
K.append(", playout=");
|
|
K.append(this.playout);
|
|
K.append(")");
|
|
return K.toString();
|
|
}
|
|
}
|