84 lines
2.5 KiB
Java
84 lines
2.5 KiB
Java
package com.discord.api.user;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.List;
|
|
/* compiled from: UserSurvey.kt */
|
|
public final class UserSurvey {
|
|
private final String cta;
|
|
private final List<String> guild_requirements;
|
|
private final List<Integer> guild_size;
|
|
private final String key;
|
|
private final String prompt;
|
|
private final String url;
|
|
|
|
public final String a() {
|
|
return this.cta;
|
|
}
|
|
|
|
public final List<String> b() {
|
|
return this.guild_requirements;
|
|
}
|
|
|
|
public final List<Integer> c() {
|
|
return this.guild_size;
|
|
}
|
|
|
|
public final String d() {
|
|
return this.key;
|
|
}
|
|
|
|
public final String e() {
|
|
return this.prompt;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof UserSurvey)) {
|
|
return false;
|
|
}
|
|
UserSurvey userSurvey = (UserSurvey) obj;
|
|
return m.areEqual(this.prompt, userSurvey.prompt) && m.areEqual(this.cta, userSurvey.cta) && m.areEqual(this.url, userSurvey.url) && m.areEqual(this.key, userSurvey.key) && m.areEqual(this.guild_requirements, userSurvey.guild_requirements) && m.areEqual(this.guild_size, userSurvey.guild_size);
|
|
}
|
|
|
|
public final String f() {
|
|
return this.url;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.prompt;
|
|
int i = 0;
|
|
int hashCode = (str != null ? str.hashCode() : 0) * 31;
|
|
String str2 = this.cta;
|
|
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
|
|
String str3 = this.url;
|
|
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
|
|
String str4 = this.key;
|
|
int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31;
|
|
List<String> list = this.guild_requirements;
|
|
int hashCode5 = (hashCode4 + (list != null ? list.hashCode() : 0)) * 31;
|
|
List<Integer> list2 = this.guild_size;
|
|
if (list2 != null) {
|
|
i = list2.hashCode();
|
|
}
|
|
return hashCode5 + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("UserSurvey(prompt=");
|
|
L.append(this.prompt);
|
|
L.append(", cta=");
|
|
L.append(this.cta);
|
|
L.append(", url=");
|
|
L.append(this.url);
|
|
L.append(", key=");
|
|
L.append(this.key);
|
|
L.append(", guild_requirements=");
|
|
L.append(this.guild_requirements);
|
|
L.append(", guild_size=");
|
|
return a.E(L, this.guild_size, ")");
|
|
}
|
|
}
|