public final class SpecialHours
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 |
---|
SpecialHours() |
Modifier and Type | Method and Description |
---|---|
SpecialHours |
clone() |
java.util.List<SpecialHourPeriod> |
getSpecialHourPeriods()
A list of exceptions to the business's regular hours.
|
SpecialHours |
set(java.lang.String fieldName,
java.lang.Object value) |
SpecialHours |
setSpecialHourPeriods(java.util.List<SpecialHourPeriod> specialHourPeriods)
A list of exceptions to the business's regular hours.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.util.List<SpecialHourPeriod> getSpecialHourPeriods()
null
for nonepublic SpecialHours setSpecialHourPeriods(java.util.List<SpecialHourPeriod> specialHourPeriods)
specialHourPeriods
- specialHourPeriods or null
for nonepublic SpecialHours set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public SpecialHours clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.