com.microsoft.bingads.v13.campaignmanagement.MediaAssociation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.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;
/**
* Java class for MediaAssociation complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MediaAssociation">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EntityId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="MediaEnabledEntity" type="{https://bingads.microsoft.com/CampaignManagement/v13}MediaEnabledEntityFilter" minOccurs="0"/>
* <element name="MediaId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MediaAssociation", propOrder = {
"entityId",
"mediaEnabledEntity",
"mediaId"
})
public class MediaAssociation {
@XmlElement(name = "EntityId")
protected Long entityId;
@XmlElement(name = "MediaEnabledEntity", type = String.class)
@XmlJavaTypeAdapter(Adapter11 .class)
protected Collection mediaEnabledEntity;
@XmlElement(name = "MediaId")
protected Long mediaId;
/**
* Gets the value of the entityId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getEntityId() {
return entityId;
}
/**
* Sets the value of the entityId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setEntityId(Long value) {
this.entityId = value;
}
/**
* Gets the value of the mediaEnabledEntity property.
*
* @return
* possible object is
* {@link String }
*
*/
public Collection getMediaEnabledEntity() {
return mediaEnabledEntity;
}
/**
* Sets the value of the mediaEnabledEntity property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMediaEnabledEntity(Collection value) {
this.mediaEnabledEntity = value;
}
/**
* Gets the value of the mediaId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getMediaId() {
return mediaId;
}
/**
* Sets the value of the mediaId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setMediaId(Long value) {
this.mediaId = value;
}
}