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