target.apidocs.com.google.api.services.plus.model.Person.Urls.html Maven / Gradle / Ivy
The newest version!
Person.Urls (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus.model
Class Person.Urls
- 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.Urls
-
-
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
Urls()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Person.Urls
clone()
String
getLabel()
The label of the URL.
String
getType()
The type of URL.
String
getValue()
The URL value.
Person.Urls
set(String fieldName,
Object value)
Person.Urls
setLabel(String label)
The label of the URL.
Person.Urls
setType(String type)
The type of URL.
Person.Urls
setValue(String value)
The URL value.
-
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
-
getLabel
public String getLabel()
The label of the URL.
- Returns:
- value or
null
for none
-
setLabel
public Person.Urls setLabel(String label)
The label of the URL.
- Parameters:
label
- label or null
for none
-
getType
public String getType()
The type of URL. Possible values include, but are not limited to, the following values: -
"otherProfile" - URL for another profile. - "contributor" - URL to a site for which this
person is a contributor. - "website" - URL for this Google+ Page's primary website. - "other"
- Other URL.
- Returns:
- value or
null
for none
-
setType
public Person.Urls setType(String type)
The type of URL. Possible values include, but are not limited to, the following values: -
"otherProfile" - URL for another profile. - "contributor" - URL to a site for which this
person is a contributor. - "website" - URL for this Google+ Page's primary website. - "other"
- Other URL.
- Parameters:
type
- type or null
for none
-
getValue
public String getValue()
The URL value.
- Returns:
- value or
null
for none
-
setValue
public Person.Urls setValue(String value)
The URL value.
- Parameters:
value
- value or null
for none
-
set
public Person.Urls set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Person.Urls clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy