public class Rule extends Object
Java class for Rule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Rule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="groups" type="{https://adwords.google.com/api/adwords/rm/v201809}RuleItemGroup" maxOccurs="unbounded" minOccurs="0"/>
<element name="ruleType" type="{https://adwords.google.com/api/adwords/rm/v201809}UserListRuleTypeEnums.Enum" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<RuleItemGroup> |
groups |
protected UserListRuleTypeEnumsEnum |
ruleType |
| Constructor and Description |
|---|
Rule() |
| Modifier and Type | Method and Description |
|---|---|
List<RuleItemGroup> |
getGroups()
Gets the value of the groups property.
|
UserListRuleTypeEnumsEnum |
getRuleType()
Gets the value of the ruleType property.
|
void |
setRuleType(UserListRuleTypeEnumsEnum value)
Sets the value of the ruleType property.
|
protected List<RuleItemGroup> groups
protected UserListRuleTypeEnumsEnum ruleType
public List<RuleItemGroup> getGroups()
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 groups property.
For example, to add a new item, do as follows:
getGroups().add(newItem);
Objects of the following type(s) are allowed in the list
RuleItemGroup
public UserListRuleTypeEnumsEnum getRuleType()
UserListRuleTypeEnumsEnumpublic void setRuleType(UserListRuleTypeEnumsEnum value)
value - allowed object is
UserListRuleTypeEnumsEnumCopyright © 2023. All rights reserved.