public class ContentMetadataKeyHierarchy extends Object
ContentMetadataKeyHierarchy defines a hierarchical relationship between content
metadata keys.
Java class for ContentMetadataKeyHierarchy complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ContentMetadataKeyHierarchy">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="hierarchyLevels" type="{https://www.google.com/apis/ads/publisher/v201805}ContentMetadataKeyHierarchyLevel" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{https://www.google.com/apis/ads/publisher/v201805}ContentMetadataKeyHierarchyStatus" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ContentMetadataKeyHierarchyLevel> |
hierarchyLevels |
protected Integer |
id |
protected String |
name |
protected ContentMetadataKeyHierarchyStatus |
status |
| Constructor and Description |
|---|
ContentMetadataKeyHierarchy() |
| Modifier and Type | Method and Description |
|---|---|
List<ContentMetadataKeyHierarchyLevel> |
getHierarchyLevels()
Gets the value of the hierarchyLevels property.
|
Integer |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
ContentMetadataKeyHierarchyStatus |
getStatus()
Gets the value of the status property.
|
void |
setId(Integer value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStatus(ContentMetadataKeyHierarchyStatus value)
Sets the value of the status property.
|
protected Integer id
protected String name
protected List<ContentMetadataKeyHierarchyLevel> hierarchyLevels
protected ContentMetadataKeyHierarchyStatus status
public void setId(Integer value)
value - allowed object is
Integerpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic List<ContentMetadataKeyHierarchyLevel> getHierarchyLevels()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the hierarchyLevels property.
For example, to add a new item, do as follows:
getHierarchyLevels().add(newItem);
Objects of the following type(s) are allowed in the list
ContentMetadataKeyHierarchyLevel
public ContentMetadataKeyHierarchyStatus getStatus()
ContentMetadataKeyHierarchyStatuspublic void setStatus(ContentMetadataKeyHierarchyStatus value)
value - allowed object is
ContentMetadataKeyHierarchyStatusCopyright © 2018. All Rights Reserved.