53 lines
1.6 KiB
Java
53 lines
1.6 KiB
Java
package com.google.firebase.heartbeatinfo;
|
|
|
|
import java.util.List;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes3.dex */
|
|
public final class AutoValue_HeartBeatResult extends HeartBeatResult {
|
|
private final List<String> usedDates;
|
|
private final String userAgent;
|
|
|
|
public AutoValue_HeartBeatResult(String str, List<String> list) {
|
|
if (str == null) {
|
|
throw new NullPointerException("Null userAgent");
|
|
}
|
|
this.userAgent = str;
|
|
if (list == null) {
|
|
throw new NullPointerException("Null usedDates");
|
|
}
|
|
this.usedDates = list;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (obj instanceof HeartBeatResult) {
|
|
HeartBeatResult heartBeatResult = (HeartBeatResult) obj;
|
|
if (this.userAgent.equals(heartBeatResult.getUserAgent()) && this.usedDates.equals(heartBeatResult.getUsedDates())) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // com.google.firebase.heartbeatinfo.HeartBeatResult
|
|
public List<String> getUsedDates() {
|
|
return this.usedDates;
|
|
}
|
|
|
|
@Override // com.google.firebase.heartbeatinfo.HeartBeatResult
|
|
public String getUserAgent() {
|
|
return this.userAgent;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return this.usedDates.hashCode() ^ ((this.userAgent.hashCode() ^ 1000003) * 1000003);
|
|
}
|
|
|
|
public String toString() {
|
|
return "HeartBeatResult{userAgent=" + this.userAgent + ", usedDates=" + this.usedDates + "}";
|
|
}
|
|
}
|