All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.ads.dfp.jaxws.v201602.AudienceSegment Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

package com.google.api.ads.dfp.jaxws.v201602;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *             An {@link AudienceSegment} represents audience segment object.
 *           
 * 
 * 

Java class for AudienceSegment complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="AudienceSegment">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="categoryIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="status" type="{https://www.google.com/apis/ads/publisher/v201602}AudienceSegment.Status" minOccurs="0"/>
 *         <element name="size" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         <element name="dataProvider" type="{https://www.google.com/apis/ads/publisher/v201602}AudienceSegmentDataProvider" minOccurs="0"/>
 *         <element name="type" type="{https://www.google.com/apis/ads/publisher/v201602}AudienceSegment.Type" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AudienceSegment", propOrder = { "id", "name", "categoryIds", "description", "status", "size", "dataProvider", "type" }) @XmlSeeAlso({ ThirdPartyAudienceSegment.class, SharedAudienceSegment.class, FirstPartyAudienceSegment.class }) public class AudienceSegment { protected Long id; protected String name; @XmlElement(type = Long.class) protected List categoryIds; protected String description; @XmlSchemaType(name = "string") protected AudienceSegmentStatus status; protected Long size; protected AudienceSegmentDataProvider dataProvider; @XmlSchemaType(name = "string") protected AudienceSegmentType type; /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public Long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the categoryIds 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 JAXB object. * This is why there is not a set method for the categoryIds property. * *

* For example, to add a new item, do as follows: *

     *    getCategoryIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Long } * * */ public List getCategoryIds() { if (categoryIds == null) { categoryIds = new ArrayList(); } return this.categoryIds; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the status property. * * @return * possible object is * {@link AudienceSegmentStatus } * */ public AudienceSegmentStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link AudienceSegmentStatus } * */ public void setStatus(AudienceSegmentStatus value) { this.status = value; } /** * Gets the value of the size property. * * @return * possible object is * {@link Long } * */ public Long getSize() { return size; } /** * Sets the value of the size property. * * @param value * allowed object is * {@link Long } * */ public void setSize(Long value) { this.size = value; } /** * Gets the value of the dataProvider property. * * @return * possible object is * {@link AudienceSegmentDataProvider } * */ public AudienceSegmentDataProvider getDataProvider() { return dataProvider; } /** * Sets the value of the dataProvider property. * * @param value * allowed object is * {@link AudienceSegmentDataProvider } * */ public void setDataProvider(AudienceSegmentDataProvider value) { this.dataProvider = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link AudienceSegmentType } * */ public AudienceSegmentType getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link AudienceSegmentType } * */ public void setType(AudienceSegmentType value) { this.type = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy