public class Content extends Object implements Serializable
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 Content
to indicate what ads should match when the Content
is being played.
| Constructor and Description |
|---|
Content() |
Content(Long id,
String name,
ContentStatus status,
ContentStatusDefinedBy statusDefinedBy,
CmsContent[] cmsSources) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CmsContent[] |
getCmsSources()
Gets the cmsSources value for this Content.
|
CmsContent |
getCmsSources(int i) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getId()
Gets the id value for this Content.
|
String |
getName()
Gets the name value for this Content.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer
|
ContentStatus |
getStatus()
Gets the status value for this Content.
|
ContentStatusDefinedBy |
getStatusDefinedBy()
Gets the statusDefinedBy value for this Content.
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object
|
int |
hashCode() |
void |
setCmsSources(CmsContent[] cmsSources)
Sets the cmsSources value for this Content.
|
void |
setCmsSources(int i,
CmsContent _value) |
void |
setId(Long id)
Sets the id value for this Content.
|
void |
setName(String name)
Sets the name value for this Content.
|
void |
setStatus(ContentStatus status)
Sets the status value for this Content.
|
void |
setStatusDefinedBy(ContentStatusDefinedBy statusDefinedBy)
Sets the statusDefinedBy value for this Content.
|
public Content()
public Content(Long id, String name, ContentStatus status, ContentStatusDefinedBy statusDefinedBy, CmsContent[] cmsSources)
public Long getId()
Content. This attribute is
read-only and
is assigned by Google when the content is created.public void setId(Long id)
id - * Uniquely identifies the Content. This attribute is
read-only and
is assigned by Google when the content is created.public String getName()
Content. This attribute is read-only.public void setName(String name)
name - * The name of the Content. This attribute is read-only.public ContentStatus getStatus()
Content. This attribute is read-only.public void setStatus(ContentStatus status)
status - * The status of this Content. This attribute is read-only.public ContentStatusDefinedBy getStatusDefinedBy()
public void setStatusDefinedBy(ContentStatusDefinedBy statusDefinedBy)
statusDefinedBy - * Whether the content status was defined by the user, or by the
source CMS
from which the content was ingested. This attribute
is read-only.public CmsContent[] getCmsSources()
public void setCmsSources(CmsContent[] cmsSources)
cmsSources - * Information about the content from the CMS it was ingested
from.
This attribute is read-only.public CmsContent getCmsSources(int i)
public void setCmsSources(int i,
CmsContent _value)
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2014. All Rights Reserved.