package com.microsoft.bingads.v10.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.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="AdGroupCriterionIds" type="{http://schemas.microsoft.com/2003/10/Serialization/Arrays}ArrayOflong" minOccurs="0"/> * <element name="AdGroupId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="CriterionType" type="{https://bingads.microsoft.com/CampaignManagement/v10}CriterionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "accountId", "adGroupCriterionIds", "adGroupId", "criterionType" }) @XmlRootElement(name = "GetAdGroupCriterionsByIdsRequest") public class GetAdGroupCriterionsByIdsRequest { @XmlElement(name = "AccountId") protected Long accountId; @XmlElement(name = "AdGroupCriterionIds", nillable = true) protected ArrayOflong adGroupCriterionIds; @XmlElement(name = "AdGroupId", nillable = true) protected Long adGroupId; @XmlElement(name = "CriterionType", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter10 .class) @XmlSchemaType(name = "anySimpleType") protected Collection<CriterionType> criterionType; /** * Gets the value of the accountId property. * * @return * possible object is * {@link Long } * */ public Long getAccountId() { return accountId; } /** * Sets the value of the accountId property. * * @param value * allowed object is * {@link Long } * */ public void setAccountId(Long value) { this.accountId = value; } /** * Gets the value of the adGroupCriterionIds property. * * @return * possible object is * {@link ArrayOflong } * */ public ArrayOflong getAdGroupCriterionIds() { return adGroupCriterionIds; } /** * Sets the value of the adGroupCriterionIds property. * * @param value * allowed object is * {@link ArrayOflong } * */ public void setAdGroupCriterionIds(ArrayOflong value) { this.adGroupCriterionIds = value; } /** * 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 criterionType property. * * @return * possible object is * {@link String } * */ public Collection<CriterionType> getCriterionType() { return criterionType; } /** * Sets the value of the criterionType property. * * @param value * allowed object is * {@link String } * */ public void setCriterionType(Collection<CriterionType> value) { this.criterionType = value; } }