alexandroid/decompiled/jadx/sources/com/amazon/clouddrive/model/CreateBatchLinkRequest.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

73 lines
2.2 KiB
Java

package com.amazon.clouddrive.model;
import java.util.List;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes20.dex */
public class CreateBatchLinkRequest implements CloudDriveRequest {
private List<String> nodeIds;
@Override // java.lang.Comparable
public int compareTo(CloudDriveRequest cloudDriveRequest) {
if (cloudDriveRequest == null) {
return -1;
}
if (cloudDriveRequest == this) {
return 0;
}
if (!(cloudDriveRequest instanceof CreateBatchLinkRequest)) {
return 1;
}
List<String> nodeIds = getNodeIds();
List<String> nodeIds2 = ((CreateBatchLinkRequest) cloudDriveRequest).getNodeIds();
if (nodeIds != nodeIds2) {
if (nodeIds == null) {
return -1;
}
if (nodeIds2 == null) {
return 1;
}
if (nodeIds instanceof Comparable) {
int compareTo = ((Comparable) nodeIds).compareTo(nodeIds2);
if (compareTo != 0) {
return compareTo;
}
} else if (!nodeIds.equals(nodeIds2)) {
int hashCode = nodeIds.hashCode();
int hashCode2 = nodeIds2.hashCode();
if (hashCode < hashCode2) {
return -1;
}
if (hashCode > hashCode2) {
return 1;
}
}
}
return 0;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
return (obj instanceof CreateBatchLinkRequest) && compareTo((CloudDriveRequest) obj) == 0;
}
public List<String> getNodeIds() {
return this.nodeIds;
}
public int hashCode() {
List<String> list = this.nodeIds;
return ((list != null ? list.hashCode() : 0) * 31) + super.hashCode();
}
public void setNodeIds(List<String> list) {
this.nodeIds = list;
}
public CreateBatchLinkRequest withNodeIds(List<String> list) {
setNodeIds(list);
return this;
}
}