mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-30 17:53:25 +01:00
74 lines
2.4 KiB
Java
74 lines
2.4 KiB
Java
package com.amazonaws.services.iotdata.model;
|
|
|
|
import com.amazonaws.AmazonWebServiceRequest;
|
|
import java.io.Serializable;
|
|
import org.apache.commons.text.StringSubstitutor;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes6.dex */
|
|
public class DeleteThingShadowRequest extends AmazonWebServiceRequest implements Serializable {
|
|
private String shadowName;
|
|
private String thingName;
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || !(obj instanceof DeleteThingShadowRequest)) {
|
|
return false;
|
|
}
|
|
DeleteThingShadowRequest deleteThingShadowRequest = (DeleteThingShadowRequest) obj;
|
|
if ((deleteThingShadowRequest.getThingName() == null) ^ (getThingName() == null)) {
|
|
return false;
|
|
}
|
|
if (deleteThingShadowRequest.getThingName() != null && !deleteThingShadowRequest.getThingName().equals(getThingName())) {
|
|
return false;
|
|
}
|
|
if ((deleteThingShadowRequest.getShadowName() == null) ^ (getShadowName() == null)) {
|
|
return false;
|
|
}
|
|
return deleteThingShadowRequest.getShadowName() == null || deleteThingShadowRequest.getShadowName().equals(getShadowName());
|
|
}
|
|
|
|
public String getShadowName() {
|
|
return this.shadowName;
|
|
}
|
|
|
|
public String getThingName() {
|
|
return this.thingName;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((getThingName() == null ? 0 : getThingName().hashCode()) + 31) * 31) + (getShadowName() != null ? getShadowName().hashCode() : 0);
|
|
}
|
|
|
|
public void setShadowName(String str) {
|
|
this.shadowName = str;
|
|
}
|
|
|
|
public void setThingName(String str) {
|
|
this.thingName = str;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder("{");
|
|
if (getThingName() != null) {
|
|
sb.append("thingName: " + getThingName() + ",");
|
|
}
|
|
if (getShadowName() != null) {
|
|
sb.append("shadowName: " + getShadowName());
|
|
}
|
|
sb.append(StringSubstitutor.DEFAULT_VAR_END);
|
|
return sb.toString();
|
|
}
|
|
|
|
public DeleteThingShadowRequest withShadowName(String str) {
|
|
this.shadowName = str;
|
|
return this;
|
|
}
|
|
|
|
public DeleteThingShadowRequest withThingName(String str) {
|
|
this.thingName = str;
|
|
return this;
|
|
}
|
|
}
|