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

157 lines
5.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.data.entity.nhox;
import java.util.Map;
import o.C14953gcr;
import o.C14957gcv;
/* loaded from: classes3.dex */
public final class NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam {
public static final Companion Companion = new Companion(null);
private final String documentId;
private final String envType;
private final String identifyId;
private final String readDateTime;
public NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam(String str, String str2, String str3, String str4) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
this.identifyId = str;
this.documentId = str2;
this.envType = str3;
this.readDateTime = str4;
}
/* loaded from: classes3.dex */
public static final class Companion {
private Companion() {
}
public final NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam from(Map<String, ? extends Object> map) {
C14957gcv.e(map, "");
Object obj = map.get("identifyId");
String str = obj instanceof String ? (String) obj : null;
if (str == null) {
return null;
}
Object obj2 = map.get("documentId");
String str2 = obj2 instanceof String ? (String) obj2 : null;
if (str2 == null) {
return null;
}
Object obj3 = map.get("envType");
String str3 = obj3 instanceof String ? (String) obj3 : null;
if (str3 == null) {
return null;
}
Object obj4 = map.get("readDateTime");
String str4 = obj4 instanceof String ? (String) obj4 : null;
return new NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam(str, str2, str3, str4 != null ? str4 : "");
}
public /* synthetic */ Companion(C14953gcr c14953gcr) {
this();
}
}
public final String getCollectionPath() {
String str = this.envType;
String str2 = this.identifyId;
StringBuilder sb = new StringBuilder("live-chat-");
sb.append(str);
sb.append("/");
sb.append(str2);
sb.append("/requests");
return sb.toString();
}
public final String toString() {
String str = this.identifyId;
String str2 = this.documentId;
String str3 = this.envType;
String str4 = this.readDateTime;
StringBuilder sb = new StringBuilder("NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam(identifyId=");
sb.append(str);
sb.append(", documentId=");
sb.append(str2);
sb.append(", envType=");
sb.append(str3);
sb.append(", readDateTime=");
sb.append(str4);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((this.identifyId.hashCode() * 31) + this.documentId.hashCode()) * 31) + this.envType.hashCode()) * 31) + this.readDateTime.hashCode();
}
public final String getReadDateTime() {
return this.readDateTime;
}
public final String getIdentifyId() {
return this.identifyId;
}
public final String getEnvType() {
return this.envType;
}
public final String getDocumentId() {
return this.documentId;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam)) {
return false;
}
NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam = (NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam) obj;
return C14957gcv.b((Object) this.identifyId, (Object) nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.identifyId) && C14957gcv.b((Object) this.documentId, (Object) nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.documentId) && C14957gcv.b((Object) this.envType, (Object) nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.envType) && C14957gcv.b((Object) this.readDateTime, (Object) nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.readDateTime);
}
public final NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam copy(String str, String str2, String str3, String str4) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
return new NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam(str, str2, str3, str4);
}
public final String component4() {
return this.readDateTime;
}
public final String component3() {
return this.envType;
}
public final String component2() {
return this.documentId;
}
public final String component1() {
return this.identifyId;
}
public static /* synthetic */ NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam copy$default(NhoxLiveChatFirestoreUpdateReadDateTimeQueryParam nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam, String str, String str2, String str3, String str4, int i, Object obj) {
if ((i & 1) != 0) {
str = nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.identifyId;
}
if ((i & 2) != 0) {
str2 = nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.documentId;
}
if ((i & 4) != 0) {
str3 = nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.envType;
}
if ((i & 8) != 0) {
str4 = nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.readDateTime;
}
return nhoxLiveChatFirestoreUpdateReadDateTimeQueryParam.copy(str, str2, str3, str4);
}
}