
com.google.api.ads.dfp.jaxws.v201508.ProposalLineItemConstraints Maven / Gradle / Ivy
Show all versions of dfp-appengine Show documentation
package com.google.api.ads.dfp.jaxws.v201508;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
*
* A {@code PropoalLineItemConstraints} represents all the constraints set for a
* {@link ProposalLineItem} and is always readonly. It comes from the {@link Product},
* based on which the proposal line item is created.
*
*
* Java class for ProposalLineItemConstraints complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ProposalLineItemConstraints">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="builtInFrequencyCaps" type="{https://www.google.com/apis/ads/publisher/v201508}FrequencyCap" maxOccurs="unbounded" minOccurs="0"/>
* <element name="productBuiltInTargeting" type="{https://www.google.com/apis/ads/publisher/v201508}Targeting" minOccurs="0"/>
* <element name="customizableAttributes" type="{https://www.google.com/apis/ads/publisher/v201508}CustomizableAttributes" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProposalLineItemConstraints", propOrder = {
"builtInFrequencyCaps",
"productBuiltInTargeting",
"customizableAttributes"
})
public class ProposalLineItemConstraints {
protected List builtInFrequencyCaps;
protected Targeting productBuiltInTargeting;
protected CustomizableAttributes customizableAttributes;
/**
* Gets the value of the builtInFrequencyCaps property.
*
*
* 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 builtInFrequencyCaps property.
*
*
* For example, to add a new item, do as follows:
*
* getBuiltInFrequencyCaps().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FrequencyCap }
*
*
*/
public List getBuiltInFrequencyCaps() {
if (builtInFrequencyCaps == null) {
builtInFrequencyCaps = new ArrayList();
}
return this.builtInFrequencyCaps;
}
/**
* Gets the value of the productBuiltInTargeting property.
*
* @return
* possible object is
* {@link Targeting }
*
*/
public Targeting getProductBuiltInTargeting() {
return productBuiltInTargeting;
}
/**
* Sets the value of the productBuiltInTargeting property.
*
* @param value
* allowed object is
* {@link Targeting }
*
*/
public void setProductBuiltInTargeting(Targeting value) {
this.productBuiltInTargeting = value;
}
/**
* Gets the value of the customizableAttributes property.
*
* @return
* possible object is
* {@link CustomizableAttributes }
*
*/
public CustomizableAttributes getCustomizableAttributes() {
return customizableAttributes;
}
/**
* Sets the value of the customizableAttributes property.
*
* @param value
* allowed object is
* {@link CustomizableAttributes }
*
*/
public void setCustomizableAttributes(CustomizableAttributes value) {
this.customizableAttributes = value;
}
}