com.google.api.ads.adwords.v201109.cm
Class Image

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Media
      extended by com.google.api.ads.adwords.v201109.cm.Image
All Implemented Interfaces:
Serializable

public class Image
extends Media
implements Serializable

See Also:
Serialized Form

Constructor Summary
Image()
           
Image(Long mediaId, MediaMediaType type, Long referenceId, Media_Size_DimensionsMapEntry[] dimensions, Media_Size_StringMapEntry[] urls, MediaMimeType mimeType, String sourceUrl, String name, Long fileSize, String creationTime, String mediaType, byte[] data)
           
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getData()
          Gets the data value for this Image.
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 setData(byte[] data)
          Sets the data value for this Image.
 
Methods inherited from class com.google.api.ads.adwords.v201109.cm.Media
getCreationTime, getDimensions, getDimensions, getFileSize, getMediaId, getMediaType, getMimeType, getName, getReferenceId, getSourceUrl, getType, getUrls, getUrls, setCreationTime, setDimensions, setDimensions, setFileSize, setMediaId, setMediaType, setMimeType, setName, setReferenceId, setSourceUrl, setType, setUrls, setUrls
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()

Image

public Image(Long mediaId,
             MediaMediaType type,
             Long referenceId,
             Media_Size_DimensionsMapEntry[] dimensions,
             Media_Size_StringMapEntry[] urls,
             MediaMimeType mimeType,
             String sourceUrl,
             String name,
             Long fileSize,
             String creationTime,
             String mediaType,
             byte[] data)
Method Detail

getData

public byte[] getData()
Gets the data value for this Image.

Returns:
data * Raw image data.

setData

public void setData(byte[] data)
Sets the data value for this Image.

Parameters:
data - * Raw image data.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Media

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 © 2011. All Rights Reserved.