得物.apk(点击下载) / PmPropertyItemModel.java
package com.shizhuang.duapp.modules.product_detail.detailv3.model;
import a.f;
import androidx.core.view.accessibility.AccessibilityEventCompat;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b%\b\b\u0018\u00002\u00020\u0001Bu\u0012\b\b\u0002\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0002\u0010\u0004\u001a\u00020\u0005\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u0007\u0012\b\b\u0002\u0010\t\u001a\u00020\u0005\u0012\b\b\u0002\u0010\n\u001a\u00020\u000b\u0012\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u0007\u0012\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\u0010¢\u0006\u0002\u0010\u0011J\u0006\u0010!\u001a\u00020\u0000J\u001a\u0010\"\u001a\u00020\u00002\b\u0010#\u001a\u0004\u0018\u00010\u00072\b\u0010$\u001a\u0004\u0018\u00010\u0007J\t\u0010%\u001a\u00020\u0003HÆ\u0003J\u000b\u0010&\u001a\u0004\u0018\u00010\u0010HÆ\u0003J\t\u0010'\u001a\u00020\u0005HÆ\u0003J\u000b\u0010(\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u0010)\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\t\u0010*\u001a\u00020\u0005HÆ\u0003J\t\u0010+\u001a\u00020\u000bHÆ\u0003J\u000b\u0010,\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u0010-\u001a\u0004\u0018\u00010\u0007HÆ\u0003J\u000b\u0010.\u001a\u0004\u0018\u00010\u0007HÆ\u0003Jy\u0010/\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\b\u001a\u0004\u0018\u00010\u00072\b\b\u0002\u0010\t\u001a\u00020\u00052\b\b\u0002\u0010\n\u001a\u00020\u000b2\n\b\u0002\u0010\f\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\u00072\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\u0010HÆ\u0001J\u0006\u00100\u001a\u00020\u0000J\u0013\u00101\u001a\u00020\u000b2\b\u00102\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u00103\u001a\u00020\u0003HÖ\u0001J\t\u00104\u001a\u00020\u0007HÖ\u0001R\u0013\u0010\r\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0012\u0010\u0013R\u0013\u0010\f\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0014\u0010\u0013R\u0013\u0010\u000e\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0015\u0010\u0013R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0016\u0010\u0017R\u0013\u0010\u0006\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u0018\u0010\u0013R\u0013\u0010\u000f\u001a\u0004\u0018\u00010\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0019\u0010\u001aR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001b\u0010\u001cR\u0011\u0010\t\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u001d\u0010\u001cR\u0011\u0010\n\u001a\u00020\u000b¢\u0006\b\n\u0000\u001a\u0004\b\u001e\u0010\u001fR\u0013\u0010\b\u001a\u0004\u0018\u00010\u0007¢\u0006\b\n\u0000\u001a\u0004\b \u0010\u0013¨\u00065"}, d2 = {"Lcom/shizhuang/duapp/modules/product_detail/detailv3/model/PmPropertyItemModel;", "", "level", "", "propertyId", "", "name", "", "value", "propertyValueId", "showValue", "", "coverUrl", "colorBlockUrl", "description", "propertiesTagInfo", "Lcom/shizhuang/duapp/modules/product_detail/detailv3/model/PmPropertyTagInfoModel;", "(IJLjava/lang/String;Ljava/lang/String;JZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/shizhuang/duapp/modules/product_detail/detailv3/model/PmPropertyTagInfoModel;)V", "getColorBlockUrl", "()Ljava/lang/String;", "getCoverUrl", "getDescription", "getLevel", "()I", "getName", "getPropertiesTagInfo", "()Lcom/shizhuang/duapp/modules/product_detail/detailv3/model/PmPropertyTagInfoModel;", "getPropertyId", "()J", "getPropertyValueId", "getShowValue", "()Z", "getValue", "clearTag", "cloneWithNewTag", "text", "type", "component1", "component10", "component2", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "copy", "createNoPriceLabel", "equals", "other", "hashCode", "toString", "du_product_detail_release"}, k = 1, mv = {1, 4, 2})
/* compiled from: PmSkuPropertiesItemModel.kt */
public final class PmPropertyItemModel {
public static ChangeQuickRedirect changeQuickRedirect;
@Nullable
private final String colorBlockUrl;
@Nullable
private final String coverUrl;
@Nullable
private final String description;
private final int level;
@Nullable
private final String name;
@Nullable
private final PmPropertyTagInfoModel propertiesTagInfo;
private final long propertyId;
private final long propertyValueId;
private final boolean showValue;
@Nullable
private final String value;
public PmPropertyItemModel() {
this(0, 0, null, null, 0, false, null, null, null, null, 1023, null);
}
public PmPropertyItemModel(int i, long j, @Nullable String str, @Nullable String str2, long j12, boolean z, @Nullable String str3, @Nullable String str4, @Nullable String str5, @Nullable PmPropertyTagInfoModel pmPropertyTagInfoModel) {
this.level = i;
this.propertyId = j;
this.name = str;
this.value = str2;
this.propertyValueId = j12;
this.showValue = z;
this.coverUrl = str3;
this.colorBlockUrl = str4;
this.description = str5;
this.propertiesTagInfo = pmPropertyTagInfoModel;
}
public static /* synthetic */ PmPropertyItemModel copy$default(PmPropertyItemModel pmPropertyItemModel, int i, long j, String str, String str2, long j12, boolean z, String str3, String str4, String str5, PmPropertyTagInfoModel pmPropertyTagInfoModel, int i3, Object obj) {
return pmPropertyItemModel.copy((i3 & 1) != 0 ? pmPropertyItemModel.level : i, (i3 & 2) != 0 ? pmPropertyItemModel.propertyId : j, (i3 & 4) != 0 ? pmPropertyItemModel.name : str, (i3 & 8) != 0 ? pmPropertyItemModel.value : str2, (i3 & 16) != 0 ? pmPropertyItemModel.propertyValueId : j12, (i3 & 32) != 0 ? pmPropertyItemModel.showValue : z, (i3 & 64) != 0 ? pmPropertyItemModel.coverUrl : str3, (i3 & 128) != 0 ? pmPropertyItemModel.colorBlockUrl : str4, (i3 & AccessibilityEventCompat.TYPE_VIEW_HOVER_EXIT) != 0 ? pmPropertyItemModel.description : str5, (i3 & 512) != 0 ? pmPropertyItemModel.propertiesTagInfo : pmPropertyTagInfoModel);
}
@NotNull
public final PmPropertyItemModel clearTag() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267960, new Class[0], PmPropertyItemModel.class);
return proxy.isSupported ? (PmPropertyItemModel) proxy.result : copy$default(this, 0, 0, null, null, 0, false, null, null, null, null, 511, null);
}
@NotNull
public final PmPropertyItemModel cloneWithNewTag(@Nullable String str, @Nullable String str2) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{str, str2}, this, changeQuickRedirect, false, 267958, new Class[]{String.class, String.class}, PmPropertyItemModel.class);
return proxy.isSupported ? (PmPropertyItemModel) proxy.result : copy$default(this, 0, 0, null, null, 0, false, null, null, null, new PmPropertyTagInfoModel(null, 0, 0, str, str2, null, 39, null), 511, null);
}
public final int component1() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267971, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : this.level;
}
@Nullable
public final PmPropertyTagInfoModel component10() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267980, new Class[0], PmPropertyTagInfoModel.class);
return proxy.isSupported ? (PmPropertyTagInfoModel) proxy.result : this.propertiesTagInfo;
}
public final long component2() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267972, new Class[0], Long.TYPE);
return proxy.isSupported ? ((Long) proxy.result).longValue() : this.propertyId;
}
@Nullable
public final String component3() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267973, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.name;
}
@Nullable
public final String component4() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267974, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.value;
}
public final long component5() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267975, new Class[0], Long.TYPE);
return proxy.isSupported ? ((Long) proxy.result).longValue() : this.propertyValueId;
}
public final boolean component6() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267976, new Class[0], Boolean.TYPE);
return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : this.showValue;
}
@Nullable
public final String component7() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267977, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.coverUrl;
}
@Nullable
public final String component8() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267978, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.colorBlockUrl;
}
@Nullable
public final String component9() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267979, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.description;
}
@NotNull
public final PmPropertyItemModel copy(int i, long j, @Nullable String str, @Nullable String str2, long j12, boolean z, @Nullable String str3, @Nullable String str4, @Nullable String str5, @Nullable PmPropertyTagInfoModel pmPropertyTagInfoModel) {
Object[] objArr = {new Integer(i), new Long(j), str, str2, new Long(j12), new Byte(z ? (byte) 1 : 0), str3, str4, str5, pmPropertyTagInfoModel};
ChangeQuickRedirect changeQuickRedirect2 = changeQuickRedirect;
Class cls = Long.TYPE;
PatchProxyResult proxy = PatchProxy.proxy(objArr, this, changeQuickRedirect2, false, 267981, new Class[]{Integer.TYPE, cls, String.class, String.class, cls, Boolean.TYPE, String.class, String.class, String.class, PmPropertyTagInfoModel.class}, PmPropertyItemModel.class);
return proxy.isSupported ? (PmPropertyItemModel) proxy.result : new PmPropertyItemModel(i, j, str, str2, j12, z, str3, str4, str5, pmPropertyTagInfoModel);
}
@NotNull
public final PmPropertyItemModel createNoPriceLabel() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267959, new Class[0], PmPropertyItemModel.class);
return proxy.isSupported ? (PmPropertyItemModel) proxy.result : copy$default(this, 0, 0, null, null, 0, false, null, null, null, new PmPropertyTagInfoModel("https://apk.poizon.com/duApp/Android_Config/resource/mall/app/product_detail/ic_no_price_label.png", 69, 36, null, "缺货", null, 40, null), 511, null);
}
public boolean equals(@Nullable Object obj) {
PatchProxyResult proxy = PatchProxy.proxy(new Object[]{obj}, this, changeQuickRedirect, false, 267984, new Class[]{Object.class}, Boolean.TYPE);
if (proxy.isSupported) {
return ((Boolean) proxy.result).booleanValue();
}
if (this != obj) {
if (obj instanceof PmPropertyItemModel) {
PmPropertyItemModel pmPropertyItemModel = (PmPropertyItemModel) obj;
if (this.level != pmPropertyItemModel.level || this.propertyId != pmPropertyItemModel.propertyId || !Intrinsics.areEqual(this.name, pmPropertyItemModel.name) || !Intrinsics.areEqual(this.value, pmPropertyItemModel.value) || this.propertyValueId != pmPropertyItemModel.propertyValueId || this.showValue != pmPropertyItemModel.showValue || !Intrinsics.areEqual(this.coverUrl, pmPropertyItemModel.coverUrl) || !Intrinsics.areEqual(this.colorBlockUrl, pmPropertyItemModel.colorBlockUrl) || !Intrinsics.areEqual(this.description, pmPropertyItemModel.description) || !Intrinsics.areEqual(this.propertiesTagInfo, pmPropertyItemModel.propertiesTagInfo)) {
return false;
}
}
return false;
}
return true;
}
@Nullable
public final String getColorBlockUrl() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267968, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.colorBlockUrl;
}
@Nullable
public final String getCoverUrl() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267967, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.coverUrl;
}
@Nullable
public final String getDescription() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267969, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.description;
}
public final int getLevel() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267961, new Class[0], Integer.TYPE);
return proxy.isSupported ? ((Integer) proxy.result).intValue() : this.level;
}
@Nullable
public final String getName() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267963, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.name;
}
@Nullable
public final PmPropertyTagInfoModel getPropertiesTagInfo() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267970, new Class[0], PmPropertyTagInfoModel.class);
return proxy.isSupported ? (PmPropertyTagInfoModel) proxy.result : this.propertiesTagInfo;
}
public final long getPropertyId() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267962, new Class[0], Long.TYPE);
return proxy.isSupported ? ((Long) proxy.result).longValue() : this.propertyId;
}
public final long getPropertyValueId() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267965, new Class[0], Long.TYPE);
return proxy.isSupported ? ((Long) proxy.result).longValue() : this.propertyValueId;
}
public final boolean getShowValue() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267966, new Class[0], Boolean.TYPE);
return proxy.isSupported ? ((Boolean) proxy.result).booleanValue() : this.showValue;
}
@Nullable
public final String getValue() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267964, new Class[0], String.class);
return proxy.isSupported ? (String) proxy.result : this.value;
}
public int hashCode() {
int i = 0;
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267983, new Class[0], Integer.TYPE);
if (proxy.isSupported) {
return ((Integer) proxy.result).intValue();
}
long j = this.propertyId;
int i3 = ((this.level * 31) + ((int) (j ^ (j >>> 32)))) * 31;
String str = this.name;
int hashCode = (i3 + (str != null ? str.hashCode() : 0)) * 31;
String str2 = this.value;
int hashCode2 = str2 != null ? str2.hashCode() : 0;
long j12 = this.propertyValueId;
int i12 = (((hashCode + hashCode2) * 31) + ((int) (j12 ^ (j12 >>> 32)))) * 31;
boolean z = this.showValue;
if (z) {
z = true;
}
int i13 = z ? 1 : 0;
int i14 = z ? 1 : 0;
int i15 = z ? 1 : 0;
int i16 = (i12 + i13) * 31;
String str3 = this.coverUrl;
int hashCode3 = (i16 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = this.colorBlockUrl;
int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31;
String str5 = this.description;
int hashCode5 = (hashCode4 + (str5 != null ? str5.hashCode() : 0)) * 31;
PmPropertyTagInfoModel pmPropertyTagInfoModel = this.propertiesTagInfo;
if (pmPropertyTagInfoModel != null) {
i = pmPropertyTagInfoModel.hashCode();
}
return hashCode5 + i;
}
@NotNull
public String toString() {
PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 267982, new Class[0], String.class);
if (proxy.isSupported) {
return (String) proxy.result;
}
StringBuilder h12 = f.h("PmPropertyItemModel(level=");
h12.append(this.level);
h12.append(", propertyId=");
h12.append(this.propertyId);
h12.append(", name=");
h12.append(this.name);
h12.append(", value=");
h12.append(this.value);
h12.append(", propertyValueId=");
h12.append(this.propertyValueId);
h12.append(", showValue=");
h12.append(this.showValue);
h12.append(", coverUrl=");
h12.append(this.coverUrl);
h12.append(", colorBlockUrl=");
h12.append(this.colorBlockUrl);
h12.append(", description=");
h12.append(this.description);
h12.append(", propertiesTagInfo=");
h12.append(this.propertiesTagInfo);
h12.append(")");
return h12.toString();
}
/* JADX INFO: this call moved to the top of the method (can break code semantics) */
public /* synthetic */ PmPropertyItemModel(int i, long j, String str, String str2, long j12, boolean z, String str3, String str4, String str5, PmPropertyTagInfoModel pmPropertyTagInfoModel, int i3, DefaultConstructorMarker defaultConstructorMarker) {
this((i3 & 1) != 0 ? 0 : i, (i3 & 2) != 0 ? 0 : j, (i3 & 4) != 0 ? null : str, (i3 & 8) != 0 ? null : str2, (i3 & 16) == 0 ? j12 : 0, (i3 & 32) != 0 ? true : z, (i3 & 64) != 0 ? null : str3, (i3 & 128) != 0 ? null : str4, (i3 & AccessibilityEventCompat.TYPE_VIEW_HOVER_EXIT) != 0 ? null : str5, (i3 & 512) == 0 ? pmPropertyTagInfoModel : null);
}
}