package com.microsoft.bingads.v11.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AdGroupCriterion complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AdGroupCriterion">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="Criterion" type="{https://bingads.microsoft.com/CampaignManagement/v11}Criterion" minOccurs="0"/>
* <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="Status" type="{https://bingads.microsoft.com/CampaignManagement/v11}AdGroupCriterionStatus" minOccurs="0"/>
* <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AdGroupCriterion", propOrder = {
"adGroupId",
"criterion",
"id",
"status",
"type"
})
@XmlSeeAlso({
NegativeAdGroupCriterion.class,
BiddableAdGroupCriterion.class
})
public class AdGroupCriterion {
@XmlElement(name = "AdGroupId")
protected Long adGroupId;
@XmlElement(name = "Criterion", nillable = true)
protected Criterion criterion;
@XmlElement(name = "Id", nillable = true)
protected Long id;
@XmlElement(name = "Status", nillable = true)
@XmlSchemaType(name = "string")
protected AdGroupCriterionStatus status;
@XmlElement(name = "Type", nillable = true)
protected String type;
/**
* Gets the value of the adGroupId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getAdGroupId() {
return adGroupId;
}
/**
* Sets the value of the adGroupId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setAdGroupId(Long value) {
this.adGroupId = value;
}
/**
* Gets the value of the criterion property.
*
* @return
* possible object is
* {@link Criterion }
*
*/
public Criterion getCriterion() {
return criterion;
}
/**
* Sets the value of the criterion property.
*
* @param value
* allowed object is
* {@link Criterion }
*
*/
public void setCriterion(Criterion value) {
this.criterion = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setId(Long value) {
this.id = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link AdGroupCriterionStatus }
*
*/
public AdGroupCriterionStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link AdGroupCriterionStatus }
*
*/
public void setStatus(AdGroupCriterionStatus value) {
this.status = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}