public class AssetCreativeTemplateVariableValue extends BaseCreativeTemplateVariableValue implements Serializable
CreativeTemplateVariable of VariableType#ASSET.| Constructor and Description |
|---|
AssetCreativeTemplateVariableValue() |
AssetCreativeTemplateVariableValue(String uniqueName,
String baseCreativeTemplateVariableValueType,
Long assetId,
byte[] assetByteArray,
String fileName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getAssetByteArray()
Gets the assetByteArray value for this AssetCreativeTemplateVariableValue.
|
Long |
getAssetId()
Gets the assetId value for this AssetCreativeTemplateVariableValue.
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
String |
getFileName()
Gets the fileName value for this AssetCreativeTemplateVariableValue.
|
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 |
setAssetByteArray(byte[] assetByteArray)
Sets the assetByteArray value for this AssetCreativeTemplateVariableValue.
|
void |
setAssetId(Long assetId)
Sets the assetId value for this AssetCreativeTemplateVariableValue.
|
void |
setFileName(String fileName)
Sets the fileName value for this AssetCreativeTemplateVariableValue.
|
getBaseCreativeTemplateVariableValueType, getUniqueName, setBaseCreativeTemplateVariableValueType, setUniqueNamepublic Long getAssetId()
public void setAssetId(Long assetId)
assetId - * The ID of the associated asset. This attribute is read-only
and is populated by Google.public byte[] getAssetByteArray()
TemplateCreative.
When updating the content, pass a new byte array,
and set assetId to null.
Otherwise, this field can be null.
The assetByteArray will be null
when the TemplateCreative is retrieved.public void setAssetByteArray(byte[] assetByteArray)
assetByteArray - * The content of the asset as a byte array. This attribute is
required when creating
a new TemplateCreative.
When updating the content, pass a new byte array,
and set assetId to null.
Otherwise, this field can be null.
The assetByteArray will be null
when the TemplateCreative is retrieved.public String getFileName()
public void setFileName(String fileName)
fileName - * The file name of the asset. This attribute is required when
creating a new asset (e.g. when assetByteArray is not null).public boolean equals(Object obj)
equals in class BaseCreativeTemplateVariableValuepublic int hashCode()
hashCode in class BaseCreativeTemplateVariableValuepublic 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.