target.apidocs.com.google.api.services.webmasters.model.WmxSite.html Maven / Gradle / Ivy
WmxSite (Search Console API v3-rev20190428-1.30.1)
com.google.api.services.webmasters.model
Class WmxSite
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.webmasters.model.WmxSite
-
public final class WmxSite
extends GenericJson
Contains permission level information about a Search Console site. For more information, see
Permissions in Search Console.
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 Search Console 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
WmxSite()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
WmxSite
clone()
String
getPermissionLevel()
The user's permission level for the site.
String
getSiteUrl()
The URL of the site.
WmxSite
set(String fieldName,
Object value)
WmxSite
setPermissionLevel(String permissionLevel)
The user's permission level for the site.
WmxSite
setSiteUrl(String siteUrl)
The URL of the site.
-
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
-
getPermissionLevel
public String getPermissionLevel()
The user's permission level for the site.
- Returns:
- value or
null
for none
-
setPermissionLevel
public WmxSite setPermissionLevel(String permissionLevel)
The user's permission level for the site.
- Parameters:
permissionLevel
- permissionLevel or null
for none
-
getSiteUrl
public String getSiteUrl()
The URL of the site.
- Returns:
- value or
null
for none
-
setSiteUrl
public WmxSite setSiteUrl(String siteUrl)
The URL of the site.
- Parameters:
siteUrl
- siteUrl or null
for none
-
set
public WmxSite set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public WmxSite clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.