|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201203.CreativeTemplateVariable
com.google.api.ads.dfp.axis.v201203.StringCreativeTemplateVariable
com.google.api.ads.dfp.axis.v201203.ListStringCreativeTemplateVariable
public class ListStringCreativeTemplateVariable
Represents a list variable defined in a creative template. This
is similar to
StringCreativeTemplateVariable, except that there
are possible choices to
choose from.
Use StringCreativeTemplateVariableValue to specify
the value
for this variable when creating TemplateCreative
from the TemplateCreative.
| Constructor Summary | |
|---|---|
ListStringCreativeTemplateVariable()
|
|
ListStringCreativeTemplateVariable(String label,
String uniqueName,
String description,
Boolean isRequired,
String creativeTemplateVariableType,
String defaultValue,
ListStringCreativeTemplateVariableVariableChoice[] choices,
Boolean allowOtherChoice)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Boolean |
getAllowOtherChoice()
Gets the allowOtherChoice value for this ListStringCreativeTemplateVariable. |
ListStringCreativeTemplateVariableVariableChoice[] |
getChoices()
Gets the choices value for this ListStringCreativeTemplateVariable. |
ListStringCreativeTemplateVariableVariableChoice |
getChoices(int i)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
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 |
setAllowOtherChoice(Boolean allowOtherChoice)
Sets the allowOtherChoice value for this ListStringCreativeTemplateVariable. |
void |
setChoices(int i,
ListStringCreativeTemplateVariableVariableChoice _value)
|
void |
setChoices(ListStringCreativeTemplateVariableVariableChoice[] choices)
Sets the choices value for this ListStringCreativeTemplateVariable. |
| Methods inherited from class com.google.api.ads.dfp.axis.v201203.StringCreativeTemplateVariable |
|---|
getDefaultValue, setDefaultValue |
| Methods inherited from class com.google.api.ads.dfp.axis.v201203.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 |
|---|
public ListStringCreativeTemplateVariable()
public ListStringCreativeTemplateVariable(String label,
String uniqueName,
String description,
Boolean isRequired,
String creativeTemplateVariableType,
String defaultValue,
ListStringCreativeTemplateVariableVariableChoice[] choices,
Boolean allowOtherChoice)
| Method Detail |
|---|
public ListStringCreativeTemplateVariableVariableChoice[] getChoices()
public void setChoices(ListStringCreativeTemplateVariableVariableChoice[] choices)
choices - * The values within the list users need to select from.public ListStringCreativeTemplateVariableVariableChoice getChoices(int i)
public void setChoices(int i,
ListStringCreativeTemplateVariableVariableChoice _value)
public Boolean getAllowOtherChoice()
true if a user can specifiy an 'other' value.
For example, if a variable called backgroundColor
is defined as a list
with values: red, green, blue, this boolean can
be set to allow a user
to enter a value not on the list such as purple.public void setAllowOtherChoice(Boolean allowOtherChoice)
allowOtherChoice - * true if a user can specifiy an 'other' value.
For example, if a variable called backgroundColor
is defined as a list
with values: red, green, blue, this boolean can
be set to allow a user
to enter a value not on the list such as purple.public boolean equals(Object obj)
equals in class StringCreativeTemplateVariablepublic int hashCode()
hashCode in class StringCreativeTemplateVariablepublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
Class _javaType,
QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||