266 lines
8.4 KiB
Java
266 lines
8.4 KiB
Java
package o;
|
|
|
|
import com.google.gson.annotations.SerializedName;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import o.LhO;
|
|
|
|
/* renamed from: o.nnr, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C16374nnr implements Comparable<C16374nnr> {
|
|
public static final Sts e = new Sts(0);
|
|
private static final Map<String, LhO.RVV> k;
|
|
private static final Map<String, LhO.LWm> m;
|
|
|
|
@SerializedName("adsId")
|
|
public int a;
|
|
|
|
@SerializedName("contextualMetadata")
|
|
public LWm b;
|
|
|
|
@SerializedName("adsName")
|
|
public String c;
|
|
|
|
@SerializedName("deeplinkUrlEN")
|
|
public String d;
|
|
|
|
@SerializedName("fontColor")
|
|
public String f;
|
|
|
|
@SerializedName("deeplinkUrlTH")
|
|
public String g;
|
|
|
|
@SerializedName("imagePathType")
|
|
public String h;
|
|
|
|
@SerializedName("imageUrlEN")
|
|
public String i;
|
|
|
|
@SerializedName("imageUrlTH")
|
|
public String j;
|
|
|
|
@SerializedName("sortSequence")
|
|
Integer l;
|
|
|
|
@Override // java.lang.Comparable
|
|
public final /* synthetic */ int compareTo(C16374nnr c16374nnr) {
|
|
C16374nnr c16374nnr2 = c16374nnr;
|
|
C14957gcv.e(c16374nnr2, "");
|
|
Integer num = this.l;
|
|
if (num == null) {
|
|
return 0;
|
|
}
|
|
int intValue = num.intValue();
|
|
Integer num2 = c16374nnr2.l;
|
|
return C14957gcv.a(intValue, num2 != null ? num2.intValue() : 0);
|
|
}
|
|
|
|
/* renamed from: o.nnr$Sts */
|
|
/* loaded from: classes.dex */
|
|
public static final class Sts {
|
|
private Sts() {
|
|
}
|
|
|
|
public /* synthetic */ Sts(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
static {
|
|
C13396fZU c13396fZU = new C13396fZU("FakeWhite", LhO.LWm.FakeWhite);
|
|
C14957gcv.e(c13396fZU, "");
|
|
Map<String, LhO.LWm> singletonMap = Collections.singletonMap(c13396fZU.d, c13396fZU.e);
|
|
C14957gcv.c(singletonMap, "");
|
|
m = singletonMap;
|
|
k = C14856gaP.b(new C13396fZU("TEXT_IMAGE", LhO.RVV.TEXT), new C13396fZU("IMAGE", LhO.RVV.IMAGE));
|
|
}
|
|
|
|
public final LhO b() {
|
|
int i = this.a;
|
|
String str = this.c;
|
|
TfH d = TfH.d();
|
|
d.d = this.i;
|
|
d.c = this.j;
|
|
C14957gcv.c(d, "");
|
|
LhO.LWm lWm = m.get(this.f);
|
|
TfH d2 = TfH.d();
|
|
d2.d = this.d;
|
|
d2.c = this.g;
|
|
C14957gcv.c(d2, "");
|
|
TfH d3 = TfH.d();
|
|
d3.d = this.b.g;
|
|
d3.c = this.b.h;
|
|
TfH d4 = TfH.d();
|
|
d4.d = this.b.d;
|
|
d4.c = this.b.b;
|
|
TfH d5 = TfH.d();
|
|
d5.d = this.b.e;
|
|
d5.c = this.b.a;
|
|
LhO.RVV rvv = k.get(this.b.c);
|
|
if (rvv == null) {
|
|
rvv = LhO.RVV.IMAGE;
|
|
}
|
|
String str2 = this.h;
|
|
return new LhO(String.valueOf(i), str, d, lWm, d2, d3, d4, d5, rvv, str2);
|
|
}
|
|
|
|
/* renamed from: o.nnr$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public static final LhO e(List<C16374nnr> list) {
|
|
if (list == null || !(!list.isEmpty())) {
|
|
return null;
|
|
}
|
|
return ((C16374nnr) C14881gav.b(list).get(0)).b();
|
|
}
|
|
|
|
static {
|
|
new RVV();
|
|
}
|
|
}
|
|
|
|
public final String toString() {
|
|
int i = this.a;
|
|
String str = this.c;
|
|
Integer num = this.l;
|
|
String str2 = this.i;
|
|
String str3 = this.j;
|
|
String str4 = this.f;
|
|
String str5 = this.d;
|
|
String str6 = this.g;
|
|
LWm lWm = this.b;
|
|
String str7 = this.h;
|
|
StringBuilder sb = new StringBuilder("AdBannerEntity(adsId=");
|
|
sb.append(i);
|
|
sb.append(", adsName=");
|
|
sb.append(str);
|
|
sb.append(", sortSequence=");
|
|
sb.append(num);
|
|
sb.append(", imageUrlEN=");
|
|
sb.append(str2);
|
|
sb.append(", imageUrlTH=");
|
|
sb.append(str3);
|
|
sb.append(", fontColor=");
|
|
sb.append(str4);
|
|
sb.append(", deeplinkUrlEN=");
|
|
sb.append(str5);
|
|
sb.append(", deeplinkUrlTH=");
|
|
sb.append(str6);
|
|
sb.append(", contextualMetadata=");
|
|
sb.append(lWm);
|
|
sb.append(", imagePathType=");
|
|
sb.append(str7);
|
|
sb.append(")");
|
|
return sb.toString();
|
|
}
|
|
|
|
/* renamed from: o.nnr$LWm */
|
|
/* loaded from: classes.dex */
|
|
public static final class LWm {
|
|
|
|
@SerializedName("buttonTextTh")
|
|
public String a;
|
|
|
|
@SerializedName("descriptionTh")
|
|
public String b;
|
|
|
|
@SerializedName("formatType")
|
|
public String c;
|
|
|
|
@SerializedName("descriptionEn")
|
|
public String d;
|
|
|
|
@SerializedName("buttonTextEn")
|
|
public String e;
|
|
|
|
@SerializedName("headerEn")
|
|
public String g;
|
|
|
|
@SerializedName("headerTh")
|
|
public String h;
|
|
|
|
public final String toString() {
|
|
String str = this.h;
|
|
String str2 = this.g;
|
|
String str3 = this.b;
|
|
String str4 = this.d;
|
|
String str5 = this.a;
|
|
String str6 = this.e;
|
|
String str7 = this.c;
|
|
StringBuilder sb = new StringBuilder("ContextualMetadata(headerTh=");
|
|
sb.append(str);
|
|
sb.append(", headerEn=");
|
|
sb.append(str2);
|
|
sb.append(", descriptionTh=");
|
|
sb.append(str3);
|
|
sb.append(", descriptionEn=");
|
|
sb.append(str4);
|
|
sb.append(", buttonTextTh=");
|
|
sb.append(str5);
|
|
sb.append(", buttonTextEn=");
|
|
sb.append(str6);
|
|
sb.append(", formatType=");
|
|
sb.append(str7);
|
|
sb.append(")");
|
|
return sb.toString();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
String str = this.h;
|
|
int hashCode = str == null ? 0 : str.hashCode();
|
|
String str2 = this.g;
|
|
int hashCode2 = str2 == null ? 0 : str2.hashCode();
|
|
String str3 = this.b;
|
|
int hashCode3 = str3 == null ? 0 : str3.hashCode();
|
|
String str4 = this.d;
|
|
int hashCode4 = str4 == null ? 0 : str4.hashCode();
|
|
String str5 = this.a;
|
|
int hashCode5 = str5 == null ? 0 : str5.hashCode();
|
|
String str6 = this.e;
|
|
return (((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + (str6 != null ? str6.hashCode() : 0)) * 31) + this.c.hashCode();
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof LWm)) {
|
|
return false;
|
|
}
|
|
LWm lWm = (LWm) obj;
|
|
return C14957gcv.b((Object) this.h, (Object) lWm.h) && C14957gcv.b((Object) this.g, (Object) lWm.g) && C14957gcv.b((Object) this.b, (Object) lWm.b) && C14957gcv.b((Object) this.d, (Object) lWm.d) && C14957gcv.b((Object) this.a, (Object) lWm.a) && C14957gcv.b((Object) this.e, (Object) lWm.e) && C14957gcv.b((Object) this.c, (Object) lWm.c);
|
|
}
|
|
}
|
|
|
|
public final int hashCode() {
|
|
int hashCode = Integer.hashCode(this.a);
|
|
int hashCode2 = this.c.hashCode();
|
|
Integer num = this.l;
|
|
int hashCode3 = num == null ? 0 : num.hashCode();
|
|
int hashCode4 = this.i.hashCode();
|
|
int hashCode5 = this.j.hashCode();
|
|
String str = this.f;
|
|
int hashCode6 = str == null ? 0 : str.hashCode();
|
|
int hashCode7 = this.d.hashCode();
|
|
int hashCode8 = this.g.hashCode();
|
|
int hashCode9 = this.b.hashCode();
|
|
String str2 = this.h;
|
|
return (((((((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + hashCode8) * 31) + hashCode9) * 31) + (str2 != null ? str2.hashCode() : 0);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof C16374nnr)) {
|
|
return false;
|
|
}
|
|
C16374nnr c16374nnr = (C16374nnr) obj;
|
|
return this.a == c16374nnr.a && C14957gcv.b((Object) this.c, (Object) c16374nnr.c) && C14957gcv.b(this.l, c16374nnr.l) && C14957gcv.b((Object) this.i, (Object) c16374nnr.i) && C14957gcv.b((Object) this.j, (Object) c16374nnr.j) && C14957gcv.b((Object) this.f, (Object) c16374nnr.f) && C14957gcv.b((Object) this.d, (Object) c16374nnr.d) && C14957gcv.b((Object) this.g, (Object) c16374nnr.g) && C14957gcv.b(this.b, c16374nnr.b) && C14957gcv.b((Object) this.h, (Object) c16374nnr.h);
|
|
}
|
|
}
|