public final class SpecialHourPeriod
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 |
---|
SpecialHourPeriod() |
Modifier and Type | Method and Description |
---|---|
SpecialHourPeriod |
clone() |
java.lang.String |
getCloseTime()
The wall time on `end_date` when a location closes, expressed in 24hr ISO 8601 extended format.
|
Date |
getEndDate()
The calendar date this special hour period ends on.
|
java.lang.Boolean |
getIsClosed()
If true, `end_date`, `open_time`, and `close_time` are ignored, and the date specified in
`start_date` is treated as the location being closed for the entire day.
|
java.lang.String |
getOpenTime()
The wall time on `start_date` when a location opens, expressed in 24hr ISO 8601 extended
format.
|
Date |
getStartDate()
The calendar date this special hour period starts on.
|
SpecialHourPeriod |
set(java.lang.String fieldName,
java.lang.Object value) |
SpecialHourPeriod |
setCloseTime(java.lang.String closeTime)
The wall time on `end_date` when a location closes, expressed in 24hr ISO 8601 extended format.
|
SpecialHourPeriod |
setEndDate(Date endDate)
The calendar date this special hour period ends on.
|
SpecialHourPeriod |
setIsClosed(java.lang.Boolean isClosed)
If true, `end_date`, `open_time`, and `close_time` are ignored, and the date specified in
`start_date` is treated as the location being closed for the entire day.
|
SpecialHourPeriod |
setOpenTime(java.lang.String openTime)
The wall time on `start_date` when a location opens, expressed in 24hr ISO 8601 extended
format.
|
SpecialHourPeriod |
setStartDate(Date startDate)
The calendar date this special hour period starts on.
|
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 getCloseTime()
null
for nonepublic SpecialHourPeriod setCloseTime(java.lang.String closeTime)
closeTime
- closeTime or null
for nonepublic Date getEndDate()
null
for nonepublic SpecialHourPeriod setEndDate(Date endDate)
endDate
- endDate or null
for nonepublic java.lang.Boolean getIsClosed()
null
for nonepublic SpecialHourPeriod setIsClosed(java.lang.Boolean isClosed)
isClosed
- isClosed or null
for nonepublic java.lang.String getOpenTime()
null
for nonepublic SpecialHourPeriod setOpenTime(java.lang.String openTime)
openTime
- openTime or null
for nonepublic Date getStartDate()
null
for nonepublic SpecialHourPeriod setStartDate(Date startDate)
startDate
- startDate or null
for nonepublic SpecialHourPeriod set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SpecialHourPeriod clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.