public class DropDownCustomField extends CustomField
Java class for DropDownCustomField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DropDownCustomField">
<complexContent>
<extension base="{https://www.google.com/apis/ads/publisher/v201708}CustomField">
<sequence>
<element name="options" type="{https://www.google.com/apis/ads/publisher/v201708}CustomFieldOption" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CustomFieldOption> |
options |
dataType, description, entityType, id, isActive, name, visibility| Constructor and Description |
|---|
DropDownCustomField() |
| Modifier and Type | Method and Description |
|---|---|
List<CustomFieldOption> |
getOptions()
Gets the value of the options property.
|
getDataType, getDescription, getEntityType, getId, getName, getVisibility, isIsActive, setDataType, setDescription, setEntityType, setId, setIsActive, setName, setVisibilityprotected List<CustomFieldOption> options
public List<CustomFieldOption> getOptions()
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 options property.
For example, to add a new item, do as follows:
getOptions().add(newItem);
Objects of the following type(s) are allowed in the list
CustomFieldOption
Copyright © 2018. All Rights Reserved.