public final class DatafeedFetchSchedule
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 Content API for Shopping. 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 |
---|
DatafeedFetchSchedule() |
Modifier and Type | Method and Description |
---|---|
DatafeedFetchSchedule |
clone() |
Long |
getDayOfMonth()
The day of the month the feed file should be fetched (1-31).
|
String |
getFetchUrl()
The URL where the feed file can be fetched.
|
Long |
getHour()
The hour of the day the feed file should be fetched (0-23).
|
Long |
getMinuteOfHour()
The minute of the hour the feed file should be fetched (0-59).
|
String |
getPassword()
An optional password for fetch_url.
|
Boolean |
getPaused()
Whether the scheduled fetch is paused or not.
|
String |
getTimeZone()
Time zone used for schedule.
|
String |
getUsername()
An optional user name for fetch_url.
|
String |
getWeekday()
The day of the week the feed file should be fetched.
|
DatafeedFetchSchedule |
set(String fieldName,
Object value) |
DatafeedFetchSchedule |
setDayOfMonth(Long dayOfMonth)
The day of the month the feed file should be fetched (1-31).
|
DatafeedFetchSchedule |
setFetchUrl(String fetchUrl)
The URL where the feed file can be fetched.
|
DatafeedFetchSchedule |
setHour(Long hour)
The hour of the day the feed file should be fetched (0-23).
|
DatafeedFetchSchedule |
setMinuteOfHour(Long minuteOfHour)
The minute of the hour the feed file should be fetched (0-59).
|
DatafeedFetchSchedule |
setPassword(String password)
An optional password for fetch_url.
|
DatafeedFetchSchedule |
setPaused(Boolean paused)
Whether the scheduled fetch is paused or not.
|
DatafeedFetchSchedule |
setTimeZone(String timeZone)
Time zone used for schedule.
|
DatafeedFetchSchedule |
setUsername(String username)
An optional user name for fetch_url.
|
DatafeedFetchSchedule |
setWeekday(String weekday)
The day of the week the feed file should be fetched.
|
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 Long getDayOfMonth()
null
for nonepublic DatafeedFetchSchedule setDayOfMonth(Long dayOfMonth)
dayOfMonth
- dayOfMonth or null
for nonepublic String getFetchUrl()
null
for nonepublic DatafeedFetchSchedule setFetchUrl(String fetchUrl)
fetchUrl
- fetchUrl or null
for nonepublic Long getHour()
null
for nonepublic DatafeedFetchSchedule setHour(Long hour)
hour
- hour or null
for nonepublic Long getMinuteOfHour()
null
for nonepublic DatafeedFetchSchedule setMinuteOfHour(Long minuteOfHour)
minuteOfHour
- minuteOfHour or null
for nonepublic String getPassword()
null
for nonepublic DatafeedFetchSchedule setPassword(String password)
password
- password or null
for nonepublic Boolean getPaused()
null
for nonepublic DatafeedFetchSchedule setPaused(Boolean paused)
paused
- paused or null
for nonepublic String getTimeZone()
null
for nonepublic DatafeedFetchSchedule setTimeZone(String timeZone)
timeZone
- timeZone or null
for nonepublic String getUsername()
null
for nonepublic DatafeedFetchSchedule setUsername(String username)
username
- username or null
for nonepublic String getWeekday()
null
for nonepublic DatafeedFetchSchedule setWeekday(String weekday)
weekday
- weekday or null
for nonepublic DatafeedFetchSchedule set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public DatafeedFetchSchedule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.