public final class Section
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 |
---|
Section() |
Modifier and Type | Method and Description |
---|---|
Section |
clone() |
java.util.List<Item> |
getItems()
Items that are contained within this section of the price list.
|
java.util.List<Label> |
getLabels()
Required.
|
java.lang.String |
getSectionId()
Required.
|
Section |
set(java.lang.String fieldName,
java.lang.Object value) |
Section |
setItems(java.util.List<Item> items)
Items that are contained within this section of the price list.
|
Section |
setLabels(java.util.List<Label> labels)
Required.
|
Section |
setSectionId(java.lang.String sectionId)
Required.
|
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<Item> getItems()
null
for nonepublic Section setItems(java.util.List<Item> items)
items
- items or null
for nonepublic java.util.List<Label> getLabels()
null
for nonepublic Section setLabels(java.util.List<Label> labels)
labels
- labels or null
for nonepublic java.lang.String getSectionId()
null
for nonepublic Section setSectionId(java.lang.String sectionId)
sectionId
- sectionId or null
for nonepublic Section set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Section clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011-2018 Google. All Rights Reserved.