com.microsoft.bingads.v13.campaignmanagement.ArrayOfMedia 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 ArrayOfMedia complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
{@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfMedia", propOrder = {
"medias"
})
public class ArrayOfMedia {
@XmlElement(name = "Media", nillable = true)
protected List medias;
/**
* Gets the value of the medias 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 medias property.
*
*
* For example, to add a new item, do as follows:
*
* getMedias().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Media }
*
*
* @return
* The value of the medias property.
*/
public List getMedias() {
if (medias == null) {
medias = new ArrayList<>();
}
return this.medias;
}
}