package com.microsoft.bingads.v10.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 AdExtension complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AdExtension"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="ForwardCompatibilityMap" type="{http://schemas.datacontract.org/2004/07/System.Collections.Generic}ArrayOfKeyValuePairOfstringstring" minOccurs="0"/> * <element name="Id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/> * <element name="Scheduling" type="{https://bingads.microsoft.com/CampaignManagement/v10}Schedule" minOccurs="0"/> * <element name="Status" type="{https://bingads.microsoft.com/CampaignManagement/v10}AdExtensionStatus" minOccurs="0"/> * <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AdExtension", propOrder = { "forwardCompatibilityMap", "id", "scheduling", "status", "type", "version" }) @XmlSeeAlso({ Sitelink2AdExtension.class, AppAdExtension.class, CallAdExtension.class, ImageAdExtension.class, LocationAdExtension.class, StructuredSnippetAdExtension.class, CalloutAdExtension.class, SiteLinksAdExtension.class, ReviewAdExtension.class }) public class AdExtension { @XmlElement(name = "ForwardCompatibilityMap", nillable = true) protected ArrayOfKeyValuePairOfstringstring forwardCompatibilityMap; @XmlElement(name = "Id", nillable = true) protected Long id; @XmlElement(name = "Scheduling", nillable = true) protected Schedule scheduling; @XmlElement(name = "Status", nillable = true) @XmlSchemaType(name = "string") protected AdExtensionStatus status; @XmlElement(name = "Type", required = true, nillable = true) protected String type; @XmlElement(name = "Version", nillable = true) protected Integer version; /** * Gets the value of the forwardCompatibilityMap property. * * @return * possible object is * {@link ArrayOfKeyValuePairOfstringstring } * */ public ArrayOfKeyValuePairOfstringstring getForwardCompatibilityMap() { return forwardCompatibilityMap; } /** * Sets the value of the forwardCompatibilityMap property. * * @param value * allowed object is * {@link ArrayOfKeyValuePairOfstringstring } * */ public void setForwardCompatibilityMap(ArrayOfKeyValuePairOfstringstring value) { this.forwardCompatibilityMap = 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 scheduling property. * * @return * possible object is * {@link Schedule } * */ public Schedule getScheduling() { return scheduling; } /** * Sets the value of the scheduling property. * * @param value * allowed object is * {@link Schedule } * */ public void setScheduling(Schedule value) { this.scheduling = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link AdExtensionStatus } * */ public AdExtensionStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link AdExtensionStatus } * */ public void setStatus(AdExtensionStatus 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; } /** * Gets the value of the version property. * * @return * possible object is * {@link Integer } * */ public Integer getVersion() { return version; } /** * Sets the value of the version property. * * @param value * allowed object is * {@link Integer } * */ public void setVersion(Integer value) { this.version = value; } }