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

com.google.api.ads.dfp.jaxws.v201508.Content Maven / Gradle / Ivy

There is a newer version: 5.8.0
Show newest version

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

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.XmlType;


/**
 * 
 *             A {@code Content} represents video metadata from a publisher's
 *             Content Management System (CMS) that has been synced to DFP.
 *             

* Video line items can be targeted to {@code Content} * to indicate what ads should match when the {@code Content} is being played. * * *

Java class for Content complex type. * *

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

 * <complexType name="Content">
 *   <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="status" type="{https://www.google.com/apis/ads/publisher/v201508}ContentStatus" minOccurs="0"/>
 *         <element name="statusDefinedBy" type="{https://www.google.com/apis/ads/publisher/v201508}ContentStatusDefinedBy" minOccurs="0"/>
 *         <element name="importDateTime" type="{https://www.google.com/apis/ads/publisher/v201508}DateTime" minOccurs="0"/>
 *         <element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v201508}DateTime" minOccurs="0"/>
 *         <element name="userDefinedCustomTargetingValueIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="mappingRuleDefinedCustomTargetingValueIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="cmsSources" type="{https://www.google.com/apis/ads/publisher/v201508}CmsContent" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Content", propOrder = { "id", "name", "status", "statusDefinedBy", "importDateTime", "lastModifiedDateTime", "userDefinedCustomTargetingValueIds", "mappingRuleDefinedCustomTargetingValueIds", "cmsSources" }) public class Content { protected Long id; protected String name; @XmlSchemaType(name = "string") protected ContentStatus status; @XmlSchemaType(name = "string") protected ContentStatusDefinedBy statusDefinedBy; protected DateTime importDateTime; protected DateTime lastModifiedDateTime; @XmlElement(type = Long.class) protected List userDefinedCustomTargetingValueIds; @XmlElement(type = Long.class) protected List mappingRuleDefinedCustomTargetingValueIds; protected List cmsSources; /** * 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 status property. * * @return * possible object is * {@link ContentStatus } * */ public ContentStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link ContentStatus } * */ public void setStatus(ContentStatus value) { this.status = value; } /** * Gets the value of the statusDefinedBy property. * * @return * possible object is * {@link ContentStatusDefinedBy } * */ public ContentStatusDefinedBy getStatusDefinedBy() { return statusDefinedBy; } /** * Sets the value of the statusDefinedBy property. * * @param value * allowed object is * {@link ContentStatusDefinedBy } * */ public void setStatusDefinedBy(ContentStatusDefinedBy value) { this.statusDefinedBy = value; } /** * Gets the value of the importDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getImportDateTime() { return importDateTime; } /** * Sets the value of the importDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setImportDateTime(DateTime value) { this.importDateTime = value; } /** * Gets the value of the lastModifiedDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastModifiedDateTime() { return lastModifiedDateTime; } /** * Sets the value of the lastModifiedDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastModifiedDateTime(DateTime value) { this.lastModifiedDateTime = value; } /** * Gets the value of the userDefinedCustomTargetingValueIds 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 userDefinedCustomTargetingValueIds property. * *

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

     *    getUserDefinedCustomTargetingValueIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Long } * * */ public List getUserDefinedCustomTargetingValueIds() { if (userDefinedCustomTargetingValueIds == null) { userDefinedCustomTargetingValueIds = new ArrayList(); } return this.userDefinedCustomTargetingValueIds; } /** * Gets the value of the mappingRuleDefinedCustomTargetingValueIds 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 mappingRuleDefinedCustomTargetingValueIds property. * *

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

     *    getMappingRuleDefinedCustomTargetingValueIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Long } * * */ public List getMappingRuleDefinedCustomTargetingValueIds() { if (mappingRuleDefinedCustomTargetingValueIds == null) { mappingRuleDefinedCustomTargetingValueIds = new ArrayList(); } return this.mappingRuleDefinedCustomTargetingValueIds; } /** * Gets the value of the cmsSources 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 cmsSources property. * *

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

     *    getCmsSources().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CmsContent } * * */ public List getCmsSources() { if (cmsSources == null) { cmsSources = new ArrayList(); } return this.cmsSources; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy