public final class WmxSitemap
extends com.google.api.client.json.GenericJson
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 Google Search Console API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
WmxSitemap() |
Modifier and Type | Method and Description |
---|---|
WmxSitemap |
clone() |
List<WmxSitemapContent> |
getContents()
The various content types in the sitemap.
|
Long |
getErrors()
Number of errors in the sitemap.
|
Boolean |
getIsPending()
If true, the sitemap has not been processed.
|
Boolean |
getIsSitemapsIndex()
If true, the sitemap is a collection of sitemaps.
|
String |
getLastDownloaded()
Date & time in which this sitemap was last downloaded.
|
String |
getLastSubmitted()
Date & time in which this sitemap was submitted.
|
String |
getPath()
The url of the sitemap.
|
String |
getType()
The type of the sitemap.
|
Long |
getWarnings()
Number of warnings for the sitemap.
|
WmxSitemap |
set(String fieldName,
Object value) |
WmxSitemap |
setContents(List<WmxSitemapContent> contents)
The various content types in the sitemap.
|
WmxSitemap |
setErrors(Long errors)
Number of errors in the sitemap.
|
WmxSitemap |
setIsPending(Boolean isPending)
If true, the sitemap has not been processed.
|
WmxSitemap |
setIsSitemapsIndex(Boolean isSitemapsIndex)
If true, the sitemap is a collection of sitemaps.
|
WmxSitemap |
setLastDownloaded(String lastDownloaded)
Date & time in which this sitemap was last downloaded.
|
WmxSitemap |
setLastSubmitted(String lastSubmitted)
Date & time in which this sitemap was submitted.
|
WmxSitemap |
setPath(String path)
The url of the sitemap.
|
WmxSitemap |
setType(String type)
The type of the sitemap.
|
WmxSitemap |
setWarnings(Long warnings)
Number of warnings for the sitemap.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<WmxSitemapContent> getContents()
null
for nonepublic WmxSitemap setContents(List<WmxSitemapContent> contents)
contents
- contents or null
for nonepublic Long getErrors()
null
for nonepublic WmxSitemap setErrors(Long errors)
errors
- errors or null
for nonepublic Boolean getIsPending()
null
for nonepublic WmxSitemap setIsPending(Boolean isPending)
isPending
- isPending or null
for nonepublic Boolean getIsSitemapsIndex()
null
for nonepublic WmxSitemap setIsSitemapsIndex(Boolean isSitemapsIndex)
isSitemapsIndex
- isSitemapsIndex or null
for nonepublic String getLastDownloaded()
null
for nonepublic WmxSitemap setLastDownloaded(String lastDownloaded)
lastDownloaded
- lastDownloaded or null
for nonepublic String getLastSubmitted()
null
for nonepublic WmxSitemap setLastSubmitted(String lastSubmitted)
lastSubmitted
- lastSubmitted or null
for nonepublic String getPath()
null
for nonepublic WmxSitemap setPath(String path)
path
- path or null
for nonepublic String getType()
null
for nonepublic WmxSitemap setType(String type)
type
- type or null
for nonepublic Long getWarnings()
null
for nonepublic WmxSitemap setWarnings(Long warnings)
warnings
- warnings or null
for nonepublic WmxSitemap set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public WmxSitemap clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.