109 lines
3.3 KiB
Java
109 lines
3.3 KiB
Java
|
package com.scb.phone.data.entity.nhox;
|
||
|
|
||
|
import com.google.firebase.firestore.PropertyName;
|
||
|
import o.C14851gaI;
|
||
|
import o.C14953gcr;
|
||
|
import o.C14957gcv;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class MessageEntity {
|
||
|
|
||
|
@PropertyName("template")
|
||
|
private final TemplateEntity template;
|
||
|
|
||
|
@PropertyName("text")
|
||
|
private final String text;
|
||
|
|
||
|
@PropertyName("type")
|
||
|
private final String type;
|
||
|
|
||
|
public MessageEntity(String str, String str2, TemplateEntity templateEntity) {
|
||
|
this.type = str;
|
||
|
this.text = str2;
|
||
|
this.template = templateEntity;
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ MessageEntity(String str, String str2, TemplateEntity templateEntity, int i, C14953gcr c14953gcr) {
|
||
|
this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? "" : str2, (i & 4) != 0 ? new TemplateEntity("", "", "", C14851gaI.c, new AgentEntity("", "", "")) : templateEntity);
|
||
|
}
|
||
|
|
||
|
public final String toString() {
|
||
|
String str = this.type;
|
||
|
String str2 = this.text;
|
||
|
TemplateEntity templateEntity = this.template;
|
||
|
StringBuilder sb = new StringBuilder("MessageEntity(type=");
|
||
|
sb.append(str);
|
||
|
sb.append(", text=");
|
||
|
sb.append(str2);
|
||
|
sb.append(", template=");
|
||
|
sb.append(templateEntity);
|
||
|
sb.append(")");
|
||
|
return sb.toString();
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
String str = this.type;
|
||
|
int hashCode = str == null ? 0 : str.hashCode();
|
||
|
String str2 = this.text;
|
||
|
int hashCode2 = str2 == null ? 0 : str2.hashCode();
|
||
|
TemplateEntity templateEntity = this.template;
|
||
|
return (((hashCode * 31) + hashCode2) * 31) + (templateEntity != null ? templateEntity.hashCode() : 0);
|
||
|
}
|
||
|
|
||
|
public final String getType() {
|
||
|
return this.type;
|
||
|
}
|
||
|
|
||
|
public final String getText() {
|
||
|
return this.text;
|
||
|
}
|
||
|
|
||
|
public final TemplateEntity getTemplate() {
|
||
|
return this.template;
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof MessageEntity)) {
|
||
|
return false;
|
||
|
}
|
||
|
MessageEntity messageEntity = (MessageEntity) obj;
|
||
|
return C14957gcv.b((Object) this.type, (Object) messageEntity.type) && C14957gcv.b((Object) this.text, (Object) messageEntity.text) && C14957gcv.b(this.template, messageEntity.template);
|
||
|
}
|
||
|
|
||
|
public final MessageEntity copy(String str, String str2, TemplateEntity templateEntity) {
|
||
|
return new MessageEntity(str, str2, templateEntity);
|
||
|
}
|
||
|
|
||
|
public final TemplateEntity component3() {
|
||
|
return this.template;
|
||
|
}
|
||
|
|
||
|
public final String component2() {
|
||
|
return this.text;
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return this.type;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ MessageEntity copy$default(MessageEntity messageEntity, String str, String str2, TemplateEntity templateEntity, int i, Object obj) {
|
||
|
if ((i & 1) != 0) {
|
||
|
str = messageEntity.type;
|
||
|
}
|
||
|
if ((i & 2) != 0) {
|
||
|
str2 = messageEntity.text;
|
||
|
}
|
||
|
if ((i & 4) != 0) {
|
||
|
templateEntity = messageEntity.template;
|
||
|
}
|
||
|
return messageEntity.copy(str, str2, templateEntity);
|
||
|
}
|
||
|
|
||
|
public MessageEntity() {
|
||
|
this(null, null, null, 7, null);
|
||
|
}
|
||
|
}
|