what-the-bank/sources/com/scb/phone/data/entity/nhox/ActionEntity.java

108 lines
2.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.data.entity.nhox;
import com.google.firebase.firestore.PropertyName;
import o.C14953gcr;
import o.C14957gcv;
/* loaded from: classes3.dex */
public final class ActionEntity {
@PropertyName("label")
private final String label;
@PropertyName("text")
private final String text;
@PropertyName("type")
private final String type;
public ActionEntity(String str, String str2, String str3) {
this.type = str;
this.label = str2;
this.text = str3;
}
public /* synthetic */ ActionEntity(String str, String str2, String str3, int i, C14953gcr c14953gcr) {
this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? "" : str2, (i & 4) != 0 ? "" : str3);
}
public final String toString() {
String str = this.type;
String str2 = this.label;
String str3 = this.text;
StringBuilder sb = new StringBuilder("ActionEntity(type=");
sb.append(str);
sb.append(", label=");
sb.append(str2);
sb.append(", text=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.type;
int hashCode = str == null ? 0 : str.hashCode();
String str2 = this.label;
int hashCode2 = str2 == null ? 0 : str2.hashCode();
String str3 = this.text;
return (((hashCode * 31) + hashCode2) * 31) + (str3 != null ? str3.hashCode() : 0);
}
public final String getType() {
return this.type;
}
public final String getText() {
return this.text;
}
public final String getLabel() {
return this.label;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ActionEntity)) {
return false;
}
ActionEntity actionEntity = (ActionEntity) obj;
return C14957gcv.b((Object) this.type, (Object) actionEntity.type) && C14957gcv.b((Object) this.label, (Object) actionEntity.label) && C14957gcv.b((Object) this.text, (Object) actionEntity.text);
}
public final ActionEntity copy(String str, String str2, String str3) {
return new ActionEntity(str, str2, str3);
}
public final String component3() {
return this.text;
}
public final String component2() {
return this.label;
}
public final String component1() {
return this.type;
}
public static /* synthetic */ ActionEntity copy$default(ActionEntity actionEntity, String str, String str2, String str3, int i, Object obj) {
if ((i & 1) != 0) {
str = actionEntity.type;
}
if ((i & 2) != 0) {
str2 = actionEntity.label;
}
if ((i & 4) != 0) {
str3 = actionEntity.text;
}
return actionEntity.copy(str, str2, str3);
}
public ActionEntity() {
this(null, null, null, 7, null);
}
}