com.google.api.ads.dfp.axis.v201206
Class Content

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201206.Content
All Implemented Interfaces:
Serializable

public class Content
extends Object
implements Serializable

A 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.

See Also:
Serialized Form

Constructor Summary
Content()
           
Content(Long id, String name, ContentStatus status)
           
 
Method Summary
 boolean equals(Object obj)
           
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.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()

Content

public Content(Long id,
               String name,
               ContentStatus status)
Method Detail

getId

public Long getId()
Gets the id value for this Content.

Returns:
id * Uniquely identifies the Content. This attribute is read-only and is assigned by Google when the content is created.

setId

public void setId(Long id)
Sets the id value for this Content.

Parameters:
id - * Uniquely identifies the Content. This attribute is read-only and is assigned by Google when the content is created.

getName

public String getName()
Gets the name value for this Content.

Returns:
name * The name of the Content. This attribute is read-only.

setName

public void setName(String name)
Sets the name value for this Content.

Parameters:
name - * The name of the Content. This attribute is read-only.

getStatus

public ContentStatus getStatus()
Gets the status value for this Content.

Returns:
status * The status of this Content. This attribute is read-only.

setStatus

public void setStatus(ContentStatus status)
Sets the status value for this Content.

Parameters:
status - * The status of this Content. This attribute is read-only.

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer



Copyright © 2012. All Rights Reserved.