StickerPack.java 2.22 KB
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 StickerPack
  implements Serializable
{
  @SerializedName("id")
  String a;
  @SerializedName("title")
  String b;
  @SerializedName("url")
  String c;
  @SerializedName("color")
  String d;
  @SerializedName("visible")
  boolean e;
  @SerializedName("stickers")
  List<Sticker> f;
  
  private StickerPack(String paramString1, String paramString2, List<Sticker> paramList)
  {
    this.b = paramString1;
    this.c = paramString2;
    this.f = paramList;
  }
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == this) {
      return true;
    }
    if (!(paramObject instanceof StickerPack)) {
      return false;
    }
    paramObject = (StickerPack)paramObject;
    return new EqualsBuilder().append(this.b, ((StickerPack)paramObject).getTitle()).append(this.c, ((StickerPack)paramObject).getUrl()).append(this.f, ((StickerPack)paramObject).getStickers()).isEquals();
  }
  
  public String getColor()
  {
    return this.d;
  }
  
  public String getId()
  {
    return this.a;
  }
  
  public List<Sticker> getStickers()
  {
    return this.f;
  }
  
  public String getTitle()
  {
    return this.b;
  }
  
  public String getUrl()
  {
    return this.c;
  }
  
  public int hashCode()
  {
    return this.b.hashCode();
  }
  
  public boolean isVisible()
  {
    return this.e;
  }
  
  public static class Builder
  {
    private String a;
    private String b;
    private List<Sticker> c;
    
    public StickerPack build()
    {
      return new StickerPack(this.a, this.b, this.c, (byte)0);
    }
    
    public Builder setStickers(List<Sticker> paramList)
    {
      this.c = paramList;
      return this;
    }
    
    public Builder setTitle(String paramString)
    {
      this.a = paramString;
      return this;
    }
    
    public Builder setUrl(String paramString)
    {
      this.b = paramString;
      return this;
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/models/StickerPack.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */