package com.discord.models.store.dto; import c.d.b.a.a; import d0.z.d.m; import java.io.Serializable; /* compiled from: ModelStoreAsset.kt */ public final class ModelStoreAsset implements Serializable { private final String filename; private final Integer height; /* renamed from: id reason: collision with root package name */ private final long f2078id; private final String mimeType; private final int size; private final Integer width; public ModelStoreAsset(long j, int i, String str, String str2, Integer num, Integer num2) { m.checkNotNullParameter(str, "mimeType"); this.f2078id = j; this.size = i; this.mimeType = str; this.filename = str2; this.width = num; this.height = num2; } public static /* synthetic */ ModelStoreAsset copy$default(ModelStoreAsset modelStoreAsset, long j, int i, String str, String str2, Integer num, Integer num2, int i2, Object obj) { return modelStoreAsset.copy((i2 & 1) != 0 ? modelStoreAsset.f2078id : j, (i2 & 2) != 0 ? modelStoreAsset.size : i, (i2 & 4) != 0 ? modelStoreAsset.mimeType : str, (i2 & 8) != 0 ? modelStoreAsset.filename : str2, (i2 & 16) != 0 ? modelStoreAsset.width : num, (i2 & 32) != 0 ? modelStoreAsset.height : num2); } public final long component1() { return this.f2078id; } public final int component2() { return this.size; } public final String component3() { return this.mimeType; } public final String component4() { return this.filename; } public final Integer component5() { return this.width; } public final Integer component6() { return this.height; } public final ModelStoreAsset copy(long j, int i, String str, String str2, Integer num, Integer num2) { m.checkNotNullParameter(str, "mimeType"); return new ModelStoreAsset(j, i, str, str2, num, num2); } @Override // java.lang.Object public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof ModelStoreAsset)) { return false; } ModelStoreAsset modelStoreAsset = (ModelStoreAsset) obj; return this.f2078id == modelStoreAsset.f2078id && this.size == modelStoreAsset.size && m.areEqual(this.mimeType, modelStoreAsset.mimeType) && m.areEqual(this.filename, modelStoreAsset.filename) && m.areEqual(this.width, modelStoreAsset.width) && m.areEqual(this.height, modelStoreAsset.height); } public final String getFilename() { return this.filename; } public final Integer getHeight() { return this.height; } public final long getId() { return this.f2078id; } public final String getMimeType() { return this.mimeType; } public final int getSize() { return this.size; } public final Integer getWidth() { return this.width; } @Override // java.lang.Object public int hashCode() { long j = this.f2078id; int i = ((((int) (j ^ (j >>> 32))) * 31) + this.size) * 31; String str = this.mimeType; int i2 = 0; int hashCode = (i + (str != null ? str.hashCode() : 0)) * 31; String str2 = this.filename; int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31; Integer num = this.width; int hashCode3 = (hashCode2 + (num != null ? num.hashCode() : 0)) * 31; Integer num2 = this.height; if (num2 != null) { i2 = num2.hashCode(); } return hashCode3 + i2; } @Override // java.lang.Object public String toString() { StringBuilder K = a.K("ModelStoreAsset(id="); K.append(this.f2078id); K.append(", size="); K.append(this.size); K.append(", mimeType="); K.append(this.mimeType); K.append(", filename="); K.append(this.filename); K.append(", width="); K.append(this.width); K.append(", height="); return a.z(K, this.height, ")"); } }