TokenErrorResponse.java 2.1 KB
package com.bitstrips.imoji.monouser.api;

import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;

public class TokenErrorResponse
{
  @SerializedName("error")
  protected String error;
  @SerializedName("error_description")
  protected String errorDescription;
  @SerializedName("message")
  protected String message;
  
  public boolean equals(Object paramObject)
  {
    if (paramObject == this) {
      return true;
    }
    if ((paramObject == null) || (!(paramObject instanceof TokenErrorResponse))) {
      return false;
    }
    paramObject = (TokenErrorResponse)paramObject;
    return new EqualsBuilder().append(this.error, ((TokenErrorResponse)paramObject).error).append(this.errorDescription, ((TokenErrorResponse)paramObject).errorDescription).append(this.message, ((TokenErrorResponse)paramObject).message).isEquals();
  }
  
  public final String getError()
  {
    return this.error;
  }
  
  public final String getErrorDescription()
  {
    return this.errorDescription;
  }
  
  public final String getMessage()
  {
    return this.message;
  }
  
  public int hashCode()
  {
    int k = 0;
    int i;
    int j;
    if (this.error == null)
    {
      i = 0;
      if (this.errorDescription != null) {
        break label50;
      }
      j = 0;
      label20:
      if (this.message != null) {
        break label64;
      }
    }
    for (;;)
    {
      return j + (i + 17) + k;
      i = this.error.hashCode() * 37;
      break;
      label50:
      j = this.errorDescription.hashCode() * 37;
      break label20;
      label64:
      k = this.message.hashCode() * 37;
    }
  }
  
  public final void setError(String paramString)
  {
    this.error = paramString;
  }
  
  public final void setErrorDescription(String paramString)
  {
    this.errorDescription = paramString;
  }
  
  public final void setMessage(String paramString)
  {
    this.message = paramString;
  }
}


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