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