com.microsoft.bingads.v13.campaignmanagement.ArrayOfCampaign Maven / Gradle / Ivy
Show all versions of microsoft.bingads Show documentation
package com.microsoft.bingads.v13.campaignmanagement;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for ArrayOfCampaign complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfCampaign", propOrder = {
"campaigns"
})
public class ArrayOfCampaign {
@XmlElement(name = "Campaign", nillable = true)
protected List campaigns;
/**
* Gets the value of the campaigns property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a {@code set} method for the campaigns property.
*
*
* For example, to add a new item, do as follows:
*
* getCampaigns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Campaign }
*
*
* @return
* The value of the campaigns property.
*/
public List getCampaigns() {
if (campaigns == null) {
campaigns = new ArrayList<>();
}
return this.campaigns;
}
}