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

109 lines
3.2 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 com.huawei.hms.support.feature.result.CommonConstant;
import o.C14953gcr;
import o.C14957gcv;
/* loaded from: classes3.dex */
public final class AgentEntity {
@PropertyName(CommonConstant.KEY_DISPLAY_NAME)
private final String displayName;
@PropertyName("profileImageURL")
private final String profileImageURL;
@PropertyName("userId")
private final String userId;
public AgentEntity(String str, String str2, String str3) {
this.userId = str;
this.displayName = str2;
this.profileImageURL = str3;
}
public /* synthetic */ AgentEntity(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.userId;
String str2 = this.displayName;
String str3 = this.profileImageURL;
StringBuilder sb = new StringBuilder("AgentEntity(userId=");
sb.append(str);
sb.append(", displayName=");
sb.append(str2);
sb.append(", profileImageURL=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.userId;
int hashCode = str == null ? 0 : str.hashCode();
String str2 = this.displayName;
int hashCode2 = str2 == null ? 0 : str2.hashCode();
String str3 = this.profileImageURL;
return (((hashCode * 31) + hashCode2) * 31) + (str3 != null ? str3.hashCode() : 0);
}
public final String getUserId() {
return this.userId;
}
public final String getProfileImageURL() {
return this.profileImageURL;
}
public final String getDisplayName() {
return this.displayName;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof AgentEntity)) {
return false;
}
AgentEntity agentEntity = (AgentEntity) obj;
return C14957gcv.b((Object) this.userId, (Object) agentEntity.userId) && C14957gcv.b((Object) this.displayName, (Object) agentEntity.displayName) && C14957gcv.b((Object) this.profileImageURL, (Object) agentEntity.profileImageURL);
}
public final AgentEntity copy(String str, String str2, String str3) {
return new AgentEntity(str, str2, str3);
}
public final String component3() {
return this.profileImageURL;
}
public final String component2() {
return this.displayName;
}
public final String component1() {
return this.userId;
}
public static /* synthetic */ AgentEntity copy$default(AgentEntity agentEntity, String str, String str2, String str3, int i, Object obj) {
if ((i & 1) != 0) {
str = agentEntity.userId;
}
if ((i & 2) != 0) {
str2 = agentEntity.displayName;
}
if ((i & 4) != 0) {
str3 = agentEntity.profileImageURL;
}
return agentEntity.copy(str, str2, str3);
}
public AgentEntity() {
this(null, null, null, 7, null);
}
}