public static enum Person.Field extends Enum<Person.Field>
Enum Constant and Description |
---|
ABOUT_ME
the json field for aboutMe.
|
ACCOUNTS
the json field for accounts.
|
ACTIVITIES
the json field for activities.
|
ADDRESSES
the json field for addresses.
|
AGE
the json field for age.
|
APP_DATA
the json field for appData.
|
BIRTHDAY
the json field for birthday.
|
BODY_TYPE
the json field for bodyType.
|
BOOKS
the json field for books.
|
CARS
the json field for cars.
|
CHILDREN
the json field for children.
|
CURRENT_LOCATION
the json field for currentLocation.
|
DISPLAY_NAME
the json field for display name.
|
DRINKER
the json field for drinker.
|
EMAILS
the json field for emails.
|
ETHNICITY
the json field for ethnicity.
|
FASHION
the json field for fashion.
|
FOOD
the json field for food.
|
GENDER
the json field for gender.
|
HAPPIEST_WHEN
the json field for happiestWhen.
|
HAS_APP
the json field for hasApp.
|
HEROES
the json field for heroes.
|
HUMOR
the json field for humor.
|
ID
the json field for id.
|
IMS
the json field for IM accounts.
|
INTERESTS
the json field for interests.
|
JOB_INTERESTS
the json field for jobInterests.
|
LANGUAGES_SPOKEN
the json field for languagesSpoken.
|
LAST_UPDATED
the json field for updated.
|
LIVING_ARRANGEMENT
the json field for livingArrangement.
|
LOOKING_FOR
the json field for lookingFor.
|
MOVIES
the json field for movies.
|
MUSIC
the json field for music.
|
NAME
the json field for name.
|
NETWORKPRESENCE
the json field for networkPresence.
|
NICKNAME
the json field for nickname.
|
ORGANIZATIONS
the json field for organiztions.
|
PETS
the json field for pets.
|
PHONE_NUMBERS
the json field for phoneNumbers.
|
PHOTOS
the json field for photos.
|
POLITICAL_VIEWS
the json field for politicalViews.
|
PREFERRED_USERNAME
the json field for preferredUsername
|
PROFILE_SONG
the json field for profileSong.
|
PROFILE_URL
the json field for profileUrl.
|
PROFILE_VIDEO
the json field for profileVideo.
|
QUOTES
the json field for quotes.
|
RELATIONSHIP_STATUS
the json field for relationshipStatus.
|
RELIGION
the json field for religion.
|
ROMANCE
the json field for romance.
|
SCARED_OF
the json field for scaredOf.
|
SEXUAL_ORIENTATION
the json field for sexualOrientation.
|
SMOKER
the json field for smoker.
|
SPORTS
the json field for sports.
|
STATUS
the json field for status.
|
TAGS
the json field for tags.
|
THUMBNAIL_URL
the json field for thumbnailUrl.
|
TURN_OFFS
the json field for turnOffs.
|
TURN_ONS
the json field for turnOns.
|
TV_SHOWS
the json field for tvShows.
|
URLS
the json field for urls.
|
UTC_OFFSET
the json field for utcOffset.
|
Modifier and Type | Field and Description |
---|---|
static Set<String> |
ALL_FIELDS
The set of all fields.
|
static Set<String> |
DEFAULT_FIELDS
The set of default fields returned fields.
|
Modifier and Type | Method and Description |
---|---|
static Person.Field |
fromUrlString(String urlString)
Converts from a url string (usually passed in the fields= parameter) into the
corresponding field enum.
|
static Person.Field |
getField(String jsonString) |
String |
toString()
emit the field as a json element.
|
static Person.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Person.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Person.Field ABOUT_ME
public static final Person.Field ACCOUNTS
public static final Person.Field ACTIVITIES
public static final Person.Field ADDRESSES
public static final Person.Field AGE
public static final Person.Field APP_DATA
public static final Person.Field BODY_TYPE
public static final Person.Field BOOKS
public static final Person.Field CARS
public static final Person.Field CHILDREN
public static final Person.Field CURRENT_LOCATION
public static final Person.Field BIRTHDAY
public static final Person.Field DISPLAY_NAME
public static final Person.Field DRINKER
public static final Person.Field EMAILS
public static final Person.Field ETHNICITY
public static final Person.Field FASHION
public static final Person.Field FOOD
public static final Person.Field GENDER
public static final Person.Field HAPPIEST_WHEN
public static final Person.Field HAS_APP
public static final Person.Field HEROES
public static final Person.Field HUMOR
public static final Person.Field ID
public static final Person.Field IMS
public static final Person.Field INTERESTS
public static final Person.Field JOB_INTERESTS
public static final Person.Field LANGUAGES_SPOKEN
public static final Person.Field LAST_UPDATED
public static final Person.Field LIVING_ARRANGEMENT
public static final Person.Field LOOKING_FOR
public static final Person.Field MOVIES
public static final Person.Field MUSIC
public static final Person.Field NAME
public static final Person.Field NETWORKPRESENCE
public static final Person.Field NICKNAME
public static final Person.Field ORGANIZATIONS
public static final Person.Field PETS
public static final Person.Field PHONE_NUMBERS
public static final Person.Field PHOTOS
public static final Person.Field POLITICAL_VIEWS
public static final Person.Field PREFERRED_USERNAME
public static final Person.Field PROFILE_SONG
public static final Person.Field PROFILE_URL
public static final Person.Field PROFILE_VIDEO
public static final Person.Field QUOTES
public static final Person.Field RELATIONSHIP_STATUS
public static final Person.Field RELIGION
public static final Person.Field ROMANCE
public static final Person.Field SCARED_OF
public static final Person.Field SEXUAL_ORIENTATION
public static final Person.Field SMOKER
public static final Person.Field SPORTS
public static final Person.Field STATUS
public static final Person.Field TAGS
public static final Person.Field THUMBNAIL_URL
public static final Person.Field UTC_OFFSET
public static final Person.Field TURN_OFFS
public static final Person.Field TURN_ONS
public static final Person.Field TV_SHOWS
public static final Person.Field URLS
public static Person.Field[] values()
for (Person.Field c : Person.Field.values()) System.out.println(c);
public static Person.Field valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Person.Field>
public static Person.Field getField(String jsonString)
public static Person.Field fromUrlString(String urlString)
urlString
- The string to translate.Copyright © 2015 WSO2. All Rights Reserved.