target.apidocs.com.google.api.services.plus.model.Person.PlacesLived.html Maven / Gradle / Ivy
The newest version!
Person.PlacesLived (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus.model
Class Person.PlacesLived
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.plus.model.Person.PlacesLived
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PlacesLived()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Person.PlacesLived
clone()
Boolean
getPrimary()
If "true", this place of residence is this person's primary residence.
String
getValue()
A place where this person has lived.
Person.PlacesLived
set(String fieldName,
Object value)
Person.PlacesLived
setPrimary(Boolean primary)
If "true", this place of residence is this person's primary residence.
Person.PlacesLived
setValue(String value)
A place where this person has lived.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getPrimary
public Boolean getPrimary()
If "true", this place of residence is this person's primary residence.
- Returns:
- value or
null
for none
-
setPrimary
public Person.PlacesLived setPrimary(Boolean primary)
If "true", this place of residence is this person's primary residence.
- Parameters:
primary
- primary or null
for none
-
getValue
public String getValue()
A place where this person has lived. For example: "Seattle, WA", "Near Toronto".
- Returns:
- value or
null
for none
-
setValue
public Person.PlacesLived setValue(String value)
A place where this person has lived. For example: "Seattle, WA", "Near Toronto".
- Parameters:
value
- value or null
for none
-
set
public Person.PlacesLived set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Person.PlacesLived clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy