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

com.google.api.ads.admanager.jaxws.v202408.Content Maven / Gradle / Ivy

The newest version!
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.


package com.google.api.ads.admanager.jaxws.v202408;

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 Ad Manager.
 *             
 *             

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/v202408}ContentStatus" minOccurs="0"/>
 *         <element name="statusDefinedBy" type="{https://www.google.com/apis/ads/publisher/v202408}ContentStatusDefinedBy" minOccurs="0"/>
 *         <element name="hlsIngestStatus" type="{https://www.google.com/apis/ads/publisher/v202408}DaiIngestStatus" minOccurs="0"/>
 *         <element name="hlsIngestErrors" type="{https://www.google.com/apis/ads/publisher/v202408}DaiIngestError" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="lastHlsIngestDateTime" type="{https://www.google.com/apis/ads/publisher/v202408}DateTime" minOccurs="0"/>
 *         <element name="dashIngestStatus" type="{https://www.google.com/apis/ads/publisher/v202408}DaiIngestStatus" minOccurs="0"/>
 *         <element name="dashIngestErrors" type="{https://www.google.com/apis/ads/publisher/v202408}DaiIngestError" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="lastDashIngestDateTime" type="{https://www.google.com/apis/ads/publisher/v202408}DateTime" minOccurs="0"/>
 *         <element name="importDateTime" type="{https://www.google.com/apis/ads/publisher/v202408}DateTime" minOccurs="0"/>
 *         <element name="lastModifiedDateTime" type="{https://www.google.com/apis/ads/publisher/v202408}DateTime" minOccurs="0"/>
 *         <element name="cmsSources" type="{https://www.google.com/apis/ads/publisher/v202408}CmsContent" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="contentBundleIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="cmsMetadataValueIds" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="duration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Content", propOrder = { "id", "name", "status", "statusDefinedBy", "hlsIngestStatus", "hlsIngestErrors", "lastHlsIngestDateTime", "dashIngestStatus", "dashIngestErrors", "lastDashIngestDateTime", "importDateTime", "lastModifiedDateTime", "cmsSources", "contentBundleIds", "cmsMetadataValueIds", "duration" }) public class Content { protected Long id; protected String name; @XmlSchemaType(name = "string") protected ContentStatus status; @XmlSchemaType(name = "string") protected ContentStatusDefinedBy statusDefinedBy; @XmlSchemaType(name = "string") protected DaiIngestStatus hlsIngestStatus; protected List hlsIngestErrors; protected DateTime lastHlsIngestDateTime; @XmlSchemaType(name = "string") protected DaiIngestStatus dashIngestStatus; protected List dashIngestErrors; protected DateTime lastDashIngestDateTime; protected DateTime importDateTime; protected DateTime lastModifiedDateTime; protected List cmsSources; @XmlElement(type = Long.class) protected List contentBundleIds; @XmlElement(type = Long.class) protected List cmsMetadataValueIds; protected Long duration; /** * 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 hlsIngestStatus property. * * @return * possible object is * {@link DaiIngestStatus } * */ public DaiIngestStatus getHlsIngestStatus() { return hlsIngestStatus; } /** * Sets the value of the hlsIngestStatus property. * * @param value * allowed object is * {@link DaiIngestStatus } * */ public void setHlsIngestStatus(DaiIngestStatus value) { this.hlsIngestStatus = value; } /** * Gets the value of the hlsIngestErrors 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 hlsIngestErrors property. * *

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

     *    getHlsIngestErrors().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DaiIngestError } * * */ public List getHlsIngestErrors() { if (hlsIngestErrors == null) { hlsIngestErrors = new ArrayList(); } return this.hlsIngestErrors; } /** * Gets the value of the lastHlsIngestDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastHlsIngestDateTime() { return lastHlsIngestDateTime; } /** * Sets the value of the lastHlsIngestDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastHlsIngestDateTime(DateTime value) { this.lastHlsIngestDateTime = value; } /** * Gets the value of the dashIngestStatus property. * * @return * possible object is * {@link DaiIngestStatus } * */ public DaiIngestStatus getDashIngestStatus() { return dashIngestStatus; } /** * Sets the value of the dashIngestStatus property. * * @param value * allowed object is * {@link DaiIngestStatus } * */ public void setDashIngestStatus(DaiIngestStatus value) { this.dashIngestStatus = value; } /** * Gets the value of the dashIngestErrors 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 dashIngestErrors property. * *

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

     *    getDashIngestErrors().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DaiIngestError } * * */ public List getDashIngestErrors() { if (dashIngestErrors == null) { dashIngestErrors = new ArrayList(); } return this.dashIngestErrors; } /** * Gets the value of the lastDashIngestDateTime property. * * @return * possible object is * {@link DateTime } * */ public DateTime getLastDashIngestDateTime() { return lastDashIngestDateTime; } /** * Sets the value of the lastDashIngestDateTime property. * * @param value * allowed object is * {@link DateTime } * */ public void setLastDashIngestDateTime(DateTime value) { this.lastDashIngestDateTime = 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 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; } /** * Gets the value of the contentBundleIds 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 contentBundleIds property. * *

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

     *    getContentBundleIds().add(newItem);
     * 
* * *

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

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

     *    getCmsMetadataValueIds().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Long } * * */ public List getCmsMetadataValueIds() { if (cmsMetadataValueIds == null) { cmsMetadataValueIds = new ArrayList(); } return this.cmsMetadataValueIds; } /** * Gets the value of the duration property. * * @return * possible object is * {@link Long } * */ public Long getDuration() { return duration; } /** * Sets the value of the duration property. * * @param value * allowed object is * {@link Long } * */ public void setDuration(Long value) { this.duration = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy