public final class UrlNotification
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 Indexing 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
Constructor and Description |
---|
UrlNotification() |
Modifier and Type | Method and Description |
---|---|
UrlNotification |
clone() |
java.lang.String |
getNotifyTime()
Creation timestamp for this notification.
|
java.lang.String |
getType()
The URL life cycle event that Google is being notified about.
|
java.lang.String |
getUrl()
The object of this notification.
|
UrlNotification |
set(java.lang.String fieldName,
java.lang.Object value) |
UrlNotification |
setNotifyTime(java.lang.String notifyTime)
Creation timestamp for this notification.
|
UrlNotification |
setType(java.lang.String type)
The URL life cycle event that Google is being notified about.
|
UrlNotification |
setUrl(java.lang.String url)
The object of this notification.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getNotifyTime()
null
for nonepublic UrlNotification setNotifyTime(java.lang.String notifyTime)
notifyTime
- notifyTime or null
for nonepublic java.lang.String getType()
null
for nonepublic UrlNotification setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.String getUrl()
null
for nonepublic UrlNotification setUrl(java.lang.String url)
url
- url or null
for nonepublic UrlNotification set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UrlNotification clone()
clone
in class com.google.api.client.json.GenericJson