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

129 lines
3.6 KiB
Java

package com.amazon.clouddrive.model;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes20.dex */
public class GetNodeRequest implements CloudDriveRequest {
private String assetMapping;
private String fields;
private String id;
private Boolean tempLink;
public GetNodeRequest(String str) {
this.id = str;
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // java.lang.Comparable
public int compareTo(CloudDriveRequest cloudDriveRequest) {
if (cloudDriveRequest == null) {
return -1;
}
if (cloudDriveRequest == this) {
return 0;
}
if (!(cloudDriveRequest instanceof GetNodeRequest)) {
return 1;
}
GetNodeRequest getNodeRequest = (GetNodeRequest) cloudDriveRequest;
String id = getId();
String id2 = getNodeRequest.getId();
if (id != id2) {
if (id == null) {
return -1;
}
if (id2 == null) {
return 1;
}
int compareTo = id.compareTo(id2);
if (compareTo != 0) {
return compareTo;
}
}
String fields = getFields();
String fields2 = getNodeRequest.getFields();
if (fields != fields2) {
if (fields == null) {
return -1;
}
if (fields2 == null) {
return 1;
}
int compareTo2 = fields.compareTo(fields2);
if (compareTo2 != 0) {
return compareTo2;
}
}
String assetMapping = getAssetMapping();
String assetMapping2 = getNodeRequest.getAssetMapping();
if (assetMapping != assetMapping2) {
if (assetMapping == null) {
return -1;
}
if (assetMapping2 == null) {
return 1;
}
int compareTo3 = assetMapping.compareTo(assetMapping2);
if (compareTo3 != 0) {
return compareTo3;
}
}
Boolean tempLink = getTempLink();
Boolean tempLink2 = getNodeRequest.getTempLink();
if (tempLink != tempLink2) {
if (tempLink == null) {
return -1;
}
if (tempLink2 == null) {
return 1;
}
int compareTo4 = tempLink.compareTo(tempLink2);
if (compareTo4 != 0) {
return compareTo4;
}
}
return 0;
}
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
return (obj instanceof GetNodeRequest) && compareTo((CloudDriveRequest) obj) == 0;
}
public String getAssetMapping() {
return this.assetMapping;
}
public String getFields() {
return this.fields;
}
public String getId() {
return this.id;
}
public Boolean getTempLink() {
return this.tempLink;
}
public int hashCode() {
return (getTempLink().booleanValue() ? 1 : 0) + (getId() == null ? 0 : getId().hashCode()) + 1 + (getFields() == null ? 0 : getFields().hashCode()) + (getAssetMapping() != null ? getAssetMapping().hashCode() : 0);
}
public void setAssetMapping(String str) {
this.assetMapping = str;
}
public void setFields(String str) {
this.fields = str;
}
public void setId(String str) {
this.id = str;
}
public void setTempLink(Boolean bool) {
this.tempLink = bool;
}
}