public int hashCode() { if (conf != null) { return conf.hashCode(); } else { return 0; } }
@Override public int hashCode() { int result = client != null ? client.hashCode() : 0; result = 31 * result + (conf != null ? conf.hashCode() : 0); result = 31 * result + (apiKey != null ? apiKey.hashCode() : 0); result = 31 * result + (oauth != null ? oauth.hashCode() : 0); result = 31 * result + (uploadUrl != null ? uploadUrl.hashCode() : 0); result = 31 * result + (postParameter != null ? Arrays.hashCode(postParameter) : 0); result = 31 * result + (appendParameter != null ? Arrays.hashCode(appendParameter) : 0); result = 31 * result + (photo != null ? photo.hashCode() : 0); result = 31 * result + (message != null ? message.hashCode() : 0); result = 31 * result + (headers != null ? headers.hashCode() : 0); result = 31 * result + (httpResponse != null ? httpResponse.hashCode() : 0); return result; }