public final class TimePeriod
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 My Business 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 |
---|
TimePeriod() |
Modifier and Type | Method and Description |
---|---|
TimePeriod |
clone() |
java.lang.String |
getCloseDay()
Indicates the day of the week this period ends on.
|
java.lang.String |
getCloseTime()
Time in 24hr ISO 8601 extended format (hh:mm).
|
java.lang.String |
getOpenDay()
Indicates the day of the week this period starts on.
|
java.lang.String |
getOpenTime()
Time in 24hr ISO 8601 extended format (hh:mm).
|
TimePeriod |
set(java.lang.String fieldName,
java.lang.Object value) |
TimePeriod |
setCloseDay(java.lang.String closeDay)
Indicates the day of the week this period ends on.
|
TimePeriod |
setCloseTime(java.lang.String closeTime)
Time in 24hr ISO 8601 extended format (hh:mm).
|
TimePeriod |
setOpenDay(java.lang.String openDay)
Indicates the day of the week this period starts on.
|
TimePeriod |
setOpenTime(java.lang.String openTime)
Time in 24hr ISO 8601 extended format (hh:mm).
|
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 getCloseDay()
null
for nonepublic TimePeriod setCloseDay(java.lang.String closeDay)
closeDay
- closeDay or null
for nonepublic java.lang.String getCloseTime()
null
for nonepublic TimePeriod setCloseTime(java.lang.String closeTime)
closeTime
- closeTime or null
for nonepublic java.lang.String getOpenDay()
null
for nonepublic TimePeriod setOpenDay(java.lang.String openDay)
openDay
- openDay or null
for nonepublic java.lang.String getOpenTime()
null
for nonepublic TimePeriod setOpenTime(java.lang.String openTime)
openTime
- openTime or null
for nonepublic TimePeriod set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public TimePeriod clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.