65 lines
1.8 KiB
Java
65 lines
1.8 KiB
Java
package com.discord.api.message.embed;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
/* compiled from: EmbedVideo.kt */
|
|
public final class EmbedVideo {
|
|
private final Integer height;
|
|
private final String proxyUrl;
|
|
private final String url;
|
|
private final Integer width;
|
|
|
|
public final Integer a() {
|
|
return this.height;
|
|
}
|
|
|
|
public final String b() {
|
|
return this.proxyUrl;
|
|
}
|
|
|
|
public final String c() {
|
|
return this.url;
|
|
}
|
|
|
|
public final Integer d() {
|
|
return this.width;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof EmbedVideo)) {
|
|
return false;
|
|
}
|
|
EmbedVideo embedVideo = (EmbedVideo) obj;
|
|
return m.areEqual(this.url, embedVideo.url) && m.areEqual(this.proxyUrl, embedVideo.proxyUrl) && m.areEqual(this.height, embedVideo.height) && m.areEqual(this.width, embedVideo.width);
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.url;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.proxyUrl;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
Integer num = this.height;
|
|
int hashCode3 = (hashCode2 + (num != null ? num.hashCode() : 0)) * 31;
|
|
Integer num2 = this.width;
|
|
if (num2 != null) {
|
|
i = num2.hashCode();
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("EmbedVideo(url=");
|
|
L.append(this.url);
|
|
L.append(", proxyUrl=");
|
|
L.append(this.proxyUrl);
|
|
L.append(", height=");
|
|
L.append(this.height);
|
|
L.append(", width=");
|
|
return a.B(L, this.width, ")");
|
|
}
|
|
}
|