package com.microsoft.bingads.v11.campaignmanagement; import java.util.Calendar; 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.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for AdRotation complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AdRotation"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="Type" type="{https://bingads.microsoft.com/CampaignManagement/v11}AdRotationType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AdRotation", propOrder = { "endDate", "startDate", "type" }) public class AdRotation { @XmlElement(name = "EndDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar endDate; @XmlElement(name = "StartDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1 .class) @XmlSchemaType(name = "dateTime") protected Calendar startDate; @XmlElement(name = "Type", nillable = true) @XmlSchemaType(name = "string") protected AdRotationType type; /** * Gets the value of the endDate property. * * @return * possible object is * {@link String } * */ public Calendar getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link String } * */ public void setEndDate(Calendar value) { this.endDate = value; } /** * Gets the value of the startDate property. * * @return * possible object is * {@link String } * */ public Calendar getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link String } * */ public void setStartDate(Calendar value) { this.startDate = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link AdRotationType } * */ public AdRotationType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link AdRotationType } * */ public void setType(AdRotationType value) { this.type = value; } }