public class VKApiSchool extends VKApiModel implements android.os.Parcelable, Identifiable
| Modifier and Type | Field and Description |
|---|---|
int |
city_id
ID of the city the school is located in, positive number
|
java.lang.String |
clazz
School class letter
|
int |
country_id
ID of the country the school is located in, positive number
|
static android.os.Parcelable.Creator<VKApiSchool> |
CREATOR |
int |
id
School ID, positive number
|
java.lang.String |
name
School name
|
java.lang.String |
speciality
Speciality
|
int |
year_from
Year the user started to study
|
int |
year_graduated
Graduation year
|
int |
year_to
Year the user finished to study
|
fields| Constructor and Description |
|---|
VKApiSchool()
Creates empty School instance.
|
VKApiSchool(org.json.JSONObject from) |
VKApiSchool(android.os.Parcel in)
Creates a School instance from Parcel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getId()
Returns unique identifier of this object(usually it's value of JSON field "id").
|
VKApiSchool |
parse(org.json.JSONObject from)
Fills a School instance from JSONObject.
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getTag, getTag, setTag, setTagpublic int id
public int country_id
public int city_id
public java.lang.String name
public int year_from
public int year_to
public int year_graduated
public java.lang.String clazz
public java.lang.String speciality
public static android.os.Parcelable.Creator<VKApiSchool> CREATOR
public VKApiSchool(org.json.JSONObject from)
throws org.json.JSONException
org.json.JSONExceptionpublic VKApiSchool(android.os.Parcel in)
public VKApiSchool()
public VKApiSchool parse(org.json.JSONObject from)
parse in class VKApiModelfrom - server API object.public int getId()
IdentifiablegetId in interface Identifiablepublic java.lang.String toString()
toString in class java.lang.Objectpublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable