- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
63 lines
1.8 KiB
Java
63 lines
1.8 KiB
Java
package com.amazonaws.services.cognitoidentity.model;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class GetOpenIdTokenResult implements Serializable {
|
|
public String identityId;
|
|
public String token;
|
|
|
|
public String getIdentityId() {
|
|
return this.identityId;
|
|
}
|
|
|
|
public String getToken() {
|
|
return this.token;
|
|
}
|
|
|
|
public void setIdentityId(String str) {
|
|
this.identityId = str;
|
|
}
|
|
|
|
public void setToken(String str) {
|
|
this.token = str;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("{");
|
|
if (getIdentityId() != null) {
|
|
sb.append("IdentityId: " + getIdentityId() + ",");
|
|
}
|
|
if (getToken() != null) {
|
|
sb.append("Token: " + getToken());
|
|
}
|
|
sb.append("}");
|
|
return sb.toString();
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((getIdentityId() == null ? 0 : getIdentityId().hashCode()) + 31) * 31) + (getToken() != null ? getToken().hashCode() : 0);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || !(obj instanceof GetOpenIdTokenResult)) {
|
|
return false;
|
|
}
|
|
GetOpenIdTokenResult getOpenIdTokenResult = (GetOpenIdTokenResult) obj;
|
|
if ((getOpenIdTokenResult.getIdentityId() == null) ^ (getIdentityId() == null)) {
|
|
return false;
|
|
}
|
|
if (getOpenIdTokenResult.getIdentityId() != null && !getOpenIdTokenResult.getIdentityId().equals(getIdentityId())) {
|
|
return false;
|
|
}
|
|
if ((getOpenIdTokenResult.getToken() == null) ^ (getToken() == null)) {
|
|
return false;
|
|
}
|
|
return getOpenIdTokenResult.getToken() == null || getOpenIdTokenResult.getToken().equals(getToken());
|
|
}
|
|
}
|