59 lines
1.5 KiB
Java
59 lines
1.5 KiB
Java
package com.discord.api.user;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
/* compiled from: Phone.kt */
|
|
public abstract class Phone {
|
|
|
|
/* compiled from: Phone.kt */
|
|
public static final class NoPhoneNumber extends Phone {
|
|
public static final NoPhoneNumber INSTANCE = new NoPhoneNumber();
|
|
|
|
public NoPhoneNumber() {
|
|
super(null);
|
|
}
|
|
}
|
|
|
|
/* compiled from: Phone.kt */
|
|
public static final class PhoneNumber extends Phone {
|
|
private final String number;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public PhoneNumber(String str) {
|
|
super(null);
|
|
m.checkNotNullParameter(str, "number");
|
|
this.number = str;
|
|
}
|
|
|
|
public final String a() {
|
|
return this.number;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this != obj) {
|
|
return (obj instanceof PhoneNumber) && m.areEqual(this.number, ((PhoneNumber) obj).number);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.number;
|
|
if (str != null) {
|
|
return str.hashCode();
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
public String toString() {
|
|
return a.D(a.L("PhoneNumber(number="), this.number, ")");
|
|
}
|
|
}
|
|
|
|
public Phone() {
|
|
}
|
|
|
|
public Phone(DefaultConstructorMarker defaultConstructorMarker) {
|
|
}
|
|
}
|