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

154 lines
4.8 KiB
Java
Raw Permalink 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 java.util.List;
import o.C14851gaI;
import o.C14953gcr;
import o.C14957gcv;
import org.simpleframework.xml.strategy.Name;
/* loaded from: classes3.dex */
public final class TemplateEntity {
@PropertyName("actions")
private final List<ActionEntity> actions;
@PropertyName("agent")
private final AgentEntity agent;
@PropertyName(Name.MARK)
private final String id;
@PropertyName("subTemplateId")
private final String subTemplateId;
@PropertyName("text")
private final String text;
public TemplateEntity(String str, String str2, String str3, List<ActionEntity> list, AgentEntity agentEntity) {
this.id = str;
this.subTemplateId = str2;
this.text = str3;
this.actions = list;
this.agent = agentEntity;
}
public /* synthetic */ TemplateEntity(String str, String str2, String str3, C14851gaI c14851gaI, AgentEntity agentEntity, int i, C14953gcr c14953gcr) {
this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? "" : str2, (i & 4) != 0 ? "" : str3, (i & 8) != 0 ? C14851gaI.c : c14851gaI, (i & 16) != 0 ? new AgentEntity("", "", "") : agentEntity);
}
public final String toString() {
String str = this.id;
String str2 = this.subTemplateId;
String str3 = this.text;
List<ActionEntity> list = this.actions;
AgentEntity agentEntity = this.agent;
StringBuilder sb = new StringBuilder("TemplateEntity(id=");
sb.append(str);
sb.append(", subTemplateId=");
sb.append(str2);
sb.append(", text=");
sb.append(str3);
sb.append(", actions=");
sb.append(list);
sb.append(", agent=");
sb.append(agentEntity);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.id;
int hashCode = str == null ? 0 : str.hashCode();
String str2 = this.subTemplateId;
int hashCode2 = str2 == null ? 0 : str2.hashCode();
String str3 = this.text;
int hashCode3 = str3 == null ? 0 : str3.hashCode();
List<ActionEntity> list = this.actions;
int hashCode4 = list == null ? 0 : list.hashCode();
AgentEntity agentEntity = this.agent;
return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (agentEntity != null ? agentEntity.hashCode() : 0);
}
public final String getText() {
return this.text;
}
public final String getSubTemplateId() {
return this.subTemplateId;
}
public final String getId() {
return this.id;
}
public final AgentEntity getAgent() {
return this.agent;
}
public final List<ActionEntity> getActions() {
return this.actions;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TemplateEntity)) {
return false;
}
TemplateEntity templateEntity = (TemplateEntity) obj;
return C14957gcv.b((Object) this.id, (Object) templateEntity.id) && C14957gcv.b((Object) this.subTemplateId, (Object) templateEntity.subTemplateId) && C14957gcv.b((Object) this.text, (Object) templateEntity.text) && C14957gcv.b(this.actions, templateEntity.actions) && C14957gcv.b(this.agent, templateEntity.agent);
}
public final TemplateEntity copy(String str, String str2, String str3, List<ActionEntity> list, AgentEntity agentEntity) {
return new TemplateEntity(str, str2, str3, list, agentEntity);
}
public final AgentEntity component5() {
return this.agent;
}
public final List<ActionEntity> component4() {
return this.actions;
}
public final String component3() {
return this.text;
}
public final String component2() {
return this.subTemplateId;
}
public final String component1() {
return this.id;
}
public static /* synthetic */ TemplateEntity copy$default(TemplateEntity templateEntity, String str, String str2, String str3, List list, AgentEntity agentEntity, int i, Object obj) {
if ((i & 1) != 0) {
str = templateEntity.id;
}
if ((i & 2) != 0) {
str2 = templateEntity.subTemplateId;
}
String str4 = str2;
if ((i & 4) != 0) {
str3 = templateEntity.text;
}
String str5 = str3;
if ((i & 8) != 0) {
list = templateEntity.actions;
}
List list2 = list;
if ((i & 16) != 0) {
agentEntity = templateEntity.agent;
}
return templateEntity.copy(str, str4, str5, list2, agentEntity);
}
public TemplateEntity() {
this(null, null, null, null, null, 31, null);
}
}