blob: ce60ffbf6d3f11a4c268c5d5ab016ae8485525a6 (
plain)
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
|
package com.cyanogen.lookup.phonenumber.response;
import android.graphics.drawable.Drawable;
/**
* ADT to store the result of a phone number lookup
*/
public class LookupResponse {
public String mName;
public String mNumber;
public String mCity;
public String mCountry;
public String mAddress;
public String mPhotoUrl;
public int mSpamCount;
public Drawable mAttributionLogo;
@Override
public String toString() {
return String.format("{ name = %s, number = %s, city = %s, country = %s, address = %s, photo-url : %s, spam-count = %d}",
mName != null ? mName : "null" ,
mNumber != null ? mNumber : "null" ,
mCity != null ? mCity : "null" ,
mCountry != null ? mCountry : "null" ,
mAddress != null ? mAddress : "null" ,
mPhotoUrl != null ? mPhotoUrl : "null" ,
mSpamCount );
}
}
|