com.google.api.ads.dfp.axis.v201201
Class AssetCreativeTemplateVariable

java.lang.Object
  extended by com.google.api.ads.dfp.axis.v201201.CreativeTemplateVariable
      extended by com.google.api.ads.dfp.axis.v201201.AssetCreativeTemplateVariable
All Implemented Interfaces:
Serializable

public class AssetCreativeTemplateVariable
extends CreativeTemplateVariable
implements Serializable

Represents a file asset variable defined in a creative template.

Use AssetCreativeTemplateVariableValue to specify the value for this variable when creating TemplateCreative from the TemplateCreative.

See Also:
Serialized Form

Constructor Summary
AssetCreativeTemplateVariable()
           
AssetCreativeTemplateVariable(String label, String uniqueName, String description, Boolean isRequired, String creativeTemplateVariableType, AssetCreativeTemplateVariableMimeType[] mimeTypes)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 AssetCreativeTemplateVariableMimeType[] getMimeTypes()
          Gets the mimeTypes value for this AssetCreativeTemplateVariable.
 AssetCreativeTemplateVariableMimeType getMimeTypes(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setMimeTypes(AssetCreativeTemplateVariableMimeType[] mimeTypes)
          Sets the mimeTypes value for this AssetCreativeTemplateVariable.
 void setMimeTypes(int i, AssetCreativeTemplateVariableMimeType _value)
           
 
Methods inherited from class com.google.api.ads.dfp.axis.v201201.CreativeTemplateVariable
getCreativeTemplateVariableType, getDescription, getIsRequired, getLabel, getUniqueName, setCreativeTemplateVariableType, setDescription, setIsRequired, setLabel, setUniqueName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetCreativeTemplateVariable

public AssetCreativeTemplateVariable()

AssetCreativeTemplateVariable

public AssetCreativeTemplateVariable(String label,
                                     String uniqueName,
                                     String description,
                                     Boolean isRequired,
                                     String creativeTemplateVariableType,
                                     AssetCreativeTemplateVariableMimeType[] mimeTypes)
Method Detail

getMimeTypes

public AssetCreativeTemplateVariableMimeType[] getMimeTypes()
Gets the mimeTypes value for this AssetCreativeTemplateVariable.

Returns:
mimeTypes * A set of supported mime types. This set can be empty or null if there's no constraint, meaning files of any mime types are allowed.

setMimeTypes

public void setMimeTypes(AssetCreativeTemplateVariableMimeType[] mimeTypes)
Sets the mimeTypes value for this AssetCreativeTemplateVariable.

Parameters:
mimeTypes - * A set of supported mime types. This set can be empty or null if there's no constraint, meaning files of any mime types are allowed.

getMimeTypes

public AssetCreativeTemplateVariableMimeType getMimeTypes(int i)

setMimeTypes

public void setMimeTypes(int i,
                         AssetCreativeTemplateVariableMimeType _value)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class CreativeTemplateVariable

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.