114 lines
4.2 KiB
Java
114 lines
4.2 KiB
Java
package com.discord.widgets.chat.input.sticker;
|
|
|
|
import c.d.b.a.a;
|
|
import com.discord.api.sticker.Sticker;
|
|
import d0.z.d.m;
|
|
/* compiled from: StickerPackStoreSheetViewModel.kt */
|
|
public final class StickerPackStoreSheetAnalytics {
|
|
private final String location;
|
|
private final String section;
|
|
private final Sticker sticker;
|
|
private final StickerPackStoreSheetViewType type;
|
|
|
|
public StickerPackStoreSheetAnalytics(Sticker sticker, StickerPackStoreSheetViewType stickerPackStoreSheetViewType, String str, String str2) {
|
|
m.checkNotNullParameter(sticker, "sticker");
|
|
m.checkNotNullParameter(stickerPackStoreSheetViewType, "type");
|
|
m.checkNotNullParameter(str2, "section");
|
|
this.sticker = sticker;
|
|
this.type = stickerPackStoreSheetViewType;
|
|
this.location = str;
|
|
this.section = str2;
|
|
}
|
|
|
|
public static /* synthetic */ StickerPackStoreSheetAnalytics copy$default(StickerPackStoreSheetAnalytics stickerPackStoreSheetAnalytics, Sticker sticker, StickerPackStoreSheetViewType stickerPackStoreSheetViewType, String str, String str2, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
sticker = stickerPackStoreSheetAnalytics.sticker;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
stickerPackStoreSheetViewType = stickerPackStoreSheetAnalytics.type;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
str = stickerPackStoreSheetAnalytics.location;
|
|
}
|
|
if ((i & 8) != 0) {
|
|
str2 = stickerPackStoreSheetAnalytics.section;
|
|
}
|
|
return stickerPackStoreSheetAnalytics.copy(sticker, stickerPackStoreSheetViewType, str, str2);
|
|
}
|
|
|
|
public final Sticker component1() {
|
|
return this.sticker;
|
|
}
|
|
|
|
public final StickerPackStoreSheetViewType component2() {
|
|
return this.type;
|
|
}
|
|
|
|
public final String component3() {
|
|
return this.location;
|
|
}
|
|
|
|
public final String component4() {
|
|
return this.section;
|
|
}
|
|
|
|
public final StickerPackStoreSheetAnalytics copy(Sticker sticker, StickerPackStoreSheetViewType stickerPackStoreSheetViewType, String str, String str2) {
|
|
m.checkNotNullParameter(sticker, "sticker");
|
|
m.checkNotNullParameter(stickerPackStoreSheetViewType, "type");
|
|
m.checkNotNullParameter(str2, "section");
|
|
return new StickerPackStoreSheetAnalytics(sticker, stickerPackStoreSheetViewType, str, str2);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof StickerPackStoreSheetAnalytics)) {
|
|
return false;
|
|
}
|
|
StickerPackStoreSheetAnalytics stickerPackStoreSheetAnalytics = (StickerPackStoreSheetAnalytics) obj;
|
|
return m.areEqual(this.sticker, stickerPackStoreSheetAnalytics.sticker) && m.areEqual(this.type, stickerPackStoreSheetAnalytics.type) && m.areEqual(this.location, stickerPackStoreSheetAnalytics.location) && m.areEqual(this.section, stickerPackStoreSheetAnalytics.section);
|
|
}
|
|
|
|
public final String getLocation() {
|
|
return this.location;
|
|
}
|
|
|
|
public final String getSection() {
|
|
return this.section;
|
|
}
|
|
|
|
public final Sticker getSticker() {
|
|
return this.sticker;
|
|
}
|
|
|
|
public final StickerPackStoreSheetViewType getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public int hashCode() {
|
|
Sticker sticker = this.sticker;
|
|
int i = 0;
|
|
int hashCode = (sticker != null ? sticker.hashCode() : 0) * 31;
|
|
StickerPackStoreSheetViewType stickerPackStoreSheetViewType = this.type;
|
|
int hashCode2 = (hashCode + (stickerPackStoreSheetViewType != null ? stickerPackStoreSheetViewType.hashCode() : 0)) * 31;
|
|
String str = this.location;
|
|
int hashCode3 = (hashCode2 + (str != null ? str.hashCode() : 0)) * 31;
|
|
String str2 = this.section;
|
|
if (str2 != null) {
|
|
i = str2.hashCode();
|
|
}
|
|
return hashCode3 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder K = a.K("StickerPackStoreSheetAnalytics(sticker=");
|
|
K.append(this.sticker);
|
|
K.append(", type=");
|
|
K.append(this.type);
|
|
K.append(", location=");
|
|
K.append(this.location);
|
|
K.append(", section=");
|
|
return a.C(K, this.section, ")");
|
|
}
|
|
}
|