Sticker.java
1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package com.bitstrips.imoji.models;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
import java.util.List;
import org.apache.commons.lang3.builder.EqualsBuilder;
public class Sticker
implements Serializable
{
@SerializedName("template_id")
String a;
@SerializedName("comic_id")
String b;
@SerializedName("tags")
List<String> c;
@SerializedName("url")
String d;
@SerializedName("capabilities")
List<String> e;
public Sticker(String paramString1, String paramString2, List<String> paramList1, String paramString3, List<String> paramList2)
{
this.a = paramString1;
this.b = paramString2;
this.c = paramList1;
this.d = paramString3;
this.e = paramList2;
}
public boolean equals(Object paramObject)
{
if (paramObject == this) {
return true;
}
if (!(paramObject instanceof Sticker)) {
return false;
}
paramObject = (Sticker)paramObject;
return new EqualsBuilder().append(this.b, ((Sticker)paramObject).getComicId()).append(this.d, ((Sticker)paramObject).getImageUrl()).append(this.c, ((Sticker)paramObject).getTags()).isEquals();
}
public List<String> getCapabilities()
{
return this.e;
}
public String getComicId()
{
return this.b;
}
public String getImageUrl()
{
return this.d;
}
public List<String> getTags()
{
return this.c;
}
public String getTemplateId()
{
return this.a;
}
public int hashCode()
{
if (this.d == null) {
return 0;
}
return this.d.hashCode();
}
public boolean isSolomoji()
{
return !getCapabilities().contains("FRIENDS");
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/models/Sticker.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/