|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.dfp.axis.v201208.CreativeAsset
public class CreativeAsset
A CreativeAsset is an asset that can be used in creatives.
| Constructor Summary | |
|---|---|
CreativeAsset()
|
|
CreativeAsset(Long assetId,
byte[] assetByteArray,
String fileName,
Long fileSize)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
byte[] |
getAssetByteArray()
Gets the assetByteArray value for this CreativeAsset. |
Long |
getAssetId()
Gets the assetId value for this CreativeAsset. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
String |
getFileName()
Gets the fileName value for this CreativeAsset. |
Long |
getFileSize()
Gets the fileSize value for this CreativeAsset. |
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 CreativeAsset. |
void |
setAssetId(Long assetId)
Sets the assetId value for this CreativeAsset. |
void |
setFileName(String fileName)
Sets the fileName value for this CreativeAsset. |
void |
setFileSize(Long fileSize)
Sets the fileSize value for this CreativeAsset. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreativeAsset()
public CreativeAsset(Long assetId,
byte[] assetByteArray,
String fileName,
Long fileSize)
| Method Detail |
|---|
public Long getAssetId()
public void setAssetId(Long assetId)
assetId - * The ID of the asset. This attribute is read-only and is populated
by Google.public byte[] getAssetByteArray()
assetId to null.
Otherwise, this field can be null.
The assetByteArray will be null when
the creative is
retrieved.public void setAssetByteArray(byte[] assetByteArray)
assetByteArray - * The content of the asset as a byte array. This attribute is
required when
creating the creative that contains this asset.
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 creative is
retrieved.public String getFileName()
assetByteArray is not null).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 Long getFileSize()
public void setFileSize(Long fileSize)
fileSize - * The file size of the asset in bytes. This attribute is read-only.public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic 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 | |||||||||