package com.microsoft.bingads.v11.campaignmanagement; import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for AudienceCriterion complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AudienceCriterion"> * <complexContent> * <extension base="{https://bingads.microsoft.com/CampaignManagement/v11}Criterion"> * <sequence> * <element name="AudienceId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="AudienceType" type="{https://bingads.microsoft.com/CampaignManagement/v11}AudienceType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AudienceCriterion", propOrder = { "audienceId", "audienceType" }) public class AudienceCriterion extends Criterion { @XmlElement(name = "AudienceId", nillable = true) protected Long audienceId; @XmlElement(name = "AudienceType", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter6 .class) protected Collection<AudienceType> audienceType; /** * Gets the value of the audienceId property. * * @return * possible object is * {@link Long } * */ public Long getAudienceId() { return audienceId; } /** * Sets the value of the audienceId property. * * @param value * allowed object is * {@link Long } * */ public void setAudienceId(Long value) { this.audienceId = value; } /** * Gets the value of the audienceType property. * * @return * possible object is * {@link String } * */ public Collection<AudienceType> getAudienceType() { return audienceType; } /** * Sets the value of the audienceType property. * * @param value * allowed object is * {@link String } * */ public void setAudienceType(Collection<AudienceType> value) { this.audienceType = value; } }