target.apidocs.com.google.api.services.directory.model.UserWebsite.html Maven / Gradle / Ivy
UserWebsite (Admin SDK API directory_v1-rev20220125-1.32.1)
com.google.api.services.directory.model
Class UserWebsite
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.UserWebsite
-
public final class UserWebsite
extends GenericJson
JSON template for a website entry.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Admin SDK API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
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
UserWebsite()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UserWebsite
clone()
String
getCustomType()
Custom Type.
Boolean
getPrimary()
If this is user's primary website or not.
String
getType()
Each entry can have a type which indicates standard types of that entry.
String
getValue()
Website.
UserWebsite
set(String fieldName,
Object value)
UserWebsite
setCustomType(String customType)
Custom Type.
UserWebsite
setPrimary(Boolean primary)
If this is user's primary website or not.
UserWebsite
setType(String type)
Each entry can have a type which indicates standard types of that entry.
UserWebsite
setValue(String value)
Website.
-
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
-
getCustomType
public String getCustomType()
Custom Type.
- Returns:
- value or
null
for none
-
setCustomType
public UserWebsite setCustomType(String customType)
Custom Type.
- Parameters:
customType
- customType or null
for none
-
getPrimary
public Boolean getPrimary()
If this is user's primary website or not.
- Returns:
- value or
null
for none
-
setPrimary
public UserWebsite setPrimary(Boolean primary)
If this is user's primary website or not.
- Parameters:
primary
- primary or null
for none
-
getType
public String getType()
Each entry can have a type which indicates standard types of that entry. For example website
could be of home work blog etc. In addition to the standard type an entry can have a custom
type and can give it any name. Such types should have the CUSTOM value as type and also have a
customType value.
- Returns:
- value or
null
for none
-
setType
public UserWebsite setType(String type)
Each entry can have a type which indicates standard types of that entry. For example website
could be of home work blog etc. In addition to the standard type an entry can have a custom
type and can give it any name. Such types should have the CUSTOM value as type and also have a
customType value.
- Parameters:
type
- type or null
for none
-
getValue
public String getValue()
Website.
- Returns:
- value or
null
for none
-
setValue
public UserWebsite setValue(String value)
Website.
- Parameters:
value
- value or null
for none
-
set
public UserWebsite set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UserWebsite clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.