alexandroid/decompiled/jadx/sources/com/amazon/clouddrive/model/MoveChildRequest.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

101 lines
3 KiB
Java

package com.amazon.clouddrive.model;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes20.dex */
public class MoveChildRequest implements CloudDriveRequest {
private String childId;
private String fromParentId;
private String toParentId;
@Override // java.lang.Comparable
public int compareTo(CloudDriveRequest cloudDriveRequest) {
if (cloudDriveRequest == null) {
return -1;
}
if (cloudDriveRequest == this) {
return 0;
}
if (!(cloudDriveRequest instanceof MoveChildRequest)) {
return 1;
}
MoveChildRequest moveChildRequest = (MoveChildRequest) cloudDriveRequest;
String childId = getChildId();
String childId2 = moveChildRequest.getChildId();
if (childId != childId2) {
if (childId == null) {
return -1;
}
if (childId2 == null) {
return 1;
}
int compareTo = childId.compareTo(childId2);
if (compareTo != 0) {
return compareTo;
}
}
String fromParentId = getFromParentId();
String fromParentId2 = moveChildRequest.getFromParentId();
if (fromParentId != fromParentId2) {
if (fromParentId == null) {
return -1;
}
if (fromParentId2 == null) {
return 1;
}
int compareTo2 = fromParentId.compareTo(fromParentId2);
if (compareTo2 != 0) {
return compareTo2;
}
}
String toParentId = getToParentId();
String toParentId2 = moveChildRequest.getToParentId();
if (toParentId != toParentId2) {
if (toParentId == null) {
return -1;
}
if (toParentId2 == null) {
return 1;
}
int compareTo3 = toParentId.compareTo(toParentId2);
if (compareTo3 != 0) {
return compareTo3;
}
}
return 0;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
return (obj instanceof MoveChildRequest) && compareTo((CloudDriveRequest) obj) == 0;
}
public String getChildId() {
return this.childId;
}
public String getFromParentId() {
return this.fromParentId;
}
public String getToParentId() {
return this.toParentId;
}
public int hashCode() {
return (getFromParentId() == null ? 0 : getFromParentId().hashCode()) + 1 + (getToParentId() == null ? 0 : getToParentId().hashCode()) + (getChildId() != null ? getChildId().hashCode() : 0);
}
public void setChildId(String str) {
this.childId = str;
}
public void setFromParentId(String str) {
this.fromParentId = str;
}
public void setToParentId(String str) {
this.toParentId = str;
}
}