public class Content extends Object implements Serializable
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 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,
DaiIngestStatus hlsIngestStatus,
DaiIngestError[] hlsIngestErrors,
DateTime lastHlsIngestDateTime,
DaiIngestStatus dashIngestStatus,
DaiIngestError[] dashIngestErrors,
DateTime lastDashIngestDateTime,
DateTime importDateTime,
DateTime lastModifiedDateTime,
CmsContent[] cmsSources,
long[] contentBundleIds,
long[] cmsMetadataValueIds,
Long duration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long[] |
getCmsMetadataValueIds()
Gets the cmsMetadataValueIds value for this Content.
|
long |
getCmsMetadataValueIds(int i) |
CmsContent[] |
getCmsSources()
Gets the cmsSources value for this Content.
|
CmsContent |
getCmsSources(int i) |
long[] |
getContentBundleIds()
Gets the contentBundleIds value for this Content.
|
long |
getContentBundleIds(int i) |
DaiIngestError[] |
getDashIngestErrors()
Gets the dashIngestErrors value for this Content.
|
DaiIngestError |
getDashIngestErrors(int i) |
DaiIngestStatus |
getDashIngestStatus()
Gets the dashIngestStatus value for this Content.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
Long |
getDuration()
Gets the duration value for this Content.
|
DaiIngestError[] |
getHlsIngestErrors()
Gets the hlsIngestErrors value for this Content.
|
DaiIngestError |
getHlsIngestErrors(int i) |
DaiIngestStatus |
getHlsIngestStatus()
Gets the hlsIngestStatus value for this Content.
|
Long |
getId()
Gets the id value for this Content.
|
DateTime |
getImportDateTime()
Gets the importDateTime value for this Content.
|
DateTime |
getLastDashIngestDateTime()
Gets the lastDashIngestDateTime value for this Content.
|
DateTime |
getLastHlsIngestDateTime()
Gets the lastHlsIngestDateTime value for this Content.
|
DateTime |
getLastModifiedDateTime()
Gets the lastModifiedDateTime 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 |
setCmsMetadataValueIds(int i,
long _value) |
void |
setCmsMetadataValueIds(long[] cmsMetadataValueIds)
Sets the cmsMetadataValueIds value for this Content.
|
void |
setCmsSources(CmsContent[] cmsSources)
Sets the cmsSources value for this Content.
|
void |
setCmsSources(int i,
CmsContent _value) |
void |
setContentBundleIds(int i,
long _value) |
void |
setContentBundleIds(long[] contentBundleIds)
Sets the contentBundleIds value for this Content.
|
void |
setDashIngestErrors(DaiIngestError[] dashIngestErrors)
Sets the dashIngestErrors value for this Content.
|
void |
setDashIngestErrors(int i,
DaiIngestError _value) |
void |
setDashIngestStatus(DaiIngestStatus dashIngestStatus)
Sets the dashIngestStatus value for this Content.
|
void |
setDuration(Long duration)
Sets the duration value for this Content.
|
void |
setHlsIngestErrors(DaiIngestError[] hlsIngestErrors)
Sets the hlsIngestErrors value for this Content.
|
void |
setHlsIngestErrors(int i,
DaiIngestError _value) |
void |
setHlsIngestStatus(DaiIngestStatus hlsIngestStatus)
Sets the hlsIngestStatus value for this Content.
|
void |
setId(Long id)
Sets the id value for this Content.
|
void |
setImportDateTime(DateTime importDateTime)
Sets the importDateTime value for this Content.
|
void |
setLastDashIngestDateTime(DateTime lastDashIngestDateTime)
Sets the lastDashIngestDateTime value for this Content.
|
void |
setLastHlsIngestDateTime(DateTime lastHlsIngestDateTime)
Sets the lastHlsIngestDateTime value for this Content.
|
void |
setLastModifiedDateTime(DateTime lastModifiedDateTime)
Sets the lastModifiedDateTime 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.
|
String |
toString() |
public Content()
public Content(Long id, String name, ContentStatus status, ContentStatusDefinedBy statusDefinedBy, DaiIngestStatus hlsIngestStatus, DaiIngestError[] hlsIngestErrors, DateTime lastHlsIngestDateTime, DaiIngestStatus dashIngestStatus, DaiIngestError[] dashIngestErrors, DateTime lastDashIngestDateTime, DateTime importDateTime, DateTime lastModifiedDateTime, CmsContent[] cmsSources, long[] contentBundleIds, long[] cmsMetadataValueIds, Long duration)
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 DaiIngestStatus getHlsIngestStatus()
content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have HLS media.public void setHlsIngestStatus(DaiIngestStatus hlsIngestStatus)
hlsIngestStatus - * The current DAI ingest status of the HLS media for the content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have HLS media.public DaiIngestError[] getHlsIngestErrors()
hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have HLS media.public void setHlsIngestErrors(DaiIngestError[] hlsIngestErrors)
hlsIngestErrors - * The list of any errors that occurred during the most recent
DAI ingestion process of the HLS
media. This attribute is read-only and will be null
if the hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have HLS media.public DaiIngestError getHlsIngestErrors(int i)
public void setHlsIngestErrors(int i,
DaiIngestError _value)
public DateTime getLastHlsIngestDateTime()
public void setLastHlsIngestDateTime(DateTime lastHlsIngestDateTime)
lastHlsIngestDateTime - * The date and time at which this content's HLS media was last
ingested for DAI. This attribute
is read-only and will be null if the content is not
eligible for dynamic ad insertion or if the
content does not have HLS media.public DaiIngestStatus getDashIngestStatus()
content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have DASH media.public void setDashIngestStatus(DaiIngestStatus dashIngestStatus)
dashIngestStatus - * The current DAI ingest status of the DASH media for the content. This attribute is
read-only and is null if the content is not eligible
for dynamic ad insertion or if the content
does not have DASH media.public DaiIngestError[] getDashIngestErrors()
hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have DASH media.public void setDashIngestErrors(DaiIngestError[] dashIngestErrors)
dashIngestErrors - * The list of any errors that occurred during the most recent
DAI ingestion process of the DASH
media. This attribute is read-only and will be null
if the hlsIngestStatus is DaiIngestStatus#STATUS_SUCCESS or if the content
is not eligible for dynamic ad insertion or
if the content does not have DASH media.public DaiIngestError getDashIngestErrors(int i)
public void setDashIngestErrors(int i,
DaiIngestError _value)
public DateTime getLastDashIngestDateTime()
public void setLastDashIngestDateTime(DateTime lastDashIngestDateTime)
lastDashIngestDateTime - * The date and time at which this content's DASH media was last
ingested for DAI. This attribute
is read-only and will be null if the content is not
eligible for dynamic ad insertion or if the
content does not have DASH media.public DateTime getImportDateTime()
public void setImportDateTime(DateTime importDateTime)
importDateTime - * The date and time at which this content was published. This
attribute is read-only.public DateTime getLastModifiedDateTime()
ContentBundle association
is changed, but will not always be
updated when a CmsMetadataValue value is changed.
This attribute is read-only.public void setLastModifiedDateTime(DateTime lastModifiedDateTime)
lastModifiedDateTime - * The date and time at which this content was last modified.
The last modified date time will
always be updated when a ContentBundle association
is changed, but will not always be
updated when a CmsMetadataValue value is changed.
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 long[] getContentBundleIds()
ContentBundle of which this content is a
member.
This attribute is read-only.public void setContentBundleIds(long[] contentBundleIds)
contentBundleIds - * IDs of the ContentBundle of which this content is a
member.
This attribute is read-only.public long getContentBundleIds(int i)
public void setContentBundleIds(int i,
long _value)
public long[] getCmsMetadataValueIds()
CmsMetadataValue IDs that are associated
with this content.
This attribute is read-only.public void setCmsMetadataValueIds(long[] cmsMetadataValueIds)
cmsMetadataValueIds - * A collection of CmsMetadataValue IDs that are associated
with this content.
This attribute is read-only.public long getCmsMetadataValueIds(int i)
public void setCmsMetadataValueIds(int i,
long _value)
public Long getDuration()
public void setDuration(Long duration)
duration - * The duration of the content in milliseconds.
This attribute is read-only.public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Copyright © 2022. All rights reserved.