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

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

public class Audio
extends Media
implements Serializable

Encapsulates an Audio media identified by a MediaId.

See Also:
Serialized Form

Constructor Summary
Audio()
           
Audio(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, Long durationMillis, String streamingUrl, Boolean readyToPlayOnTheWeb)
           
 
Method Summary
 boolean equals(Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 Long getDurationMillis()
          Gets the durationMillis value for this Audio.
 Boolean getReadyToPlayOnTheWeb()
          Gets the readyToPlayOnTheWeb value for this Audio.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStreamingUrl()
          Gets the streamingUrl value for this Audio.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setDurationMillis(Long durationMillis)
          Sets the durationMillis value for this Audio.
 void setReadyToPlayOnTheWeb(Boolean readyToPlayOnTheWeb)
          Sets the readyToPlayOnTheWeb value for this Audio.
 void setStreamingUrl(String streamingUrl)
          Sets the streamingUrl value for this Audio.
 
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

Audio

public Audio()

Audio

public Audio(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,
             Long durationMillis,
             String streamingUrl,
             Boolean readyToPlayOnTheWeb)
Method Detail

getDurationMillis

public Long getDurationMillis()
Gets the durationMillis value for this Audio.

Returns:
durationMillis * The duration of the associated audio, in milliseconds. This field can be selected using the value "DurationMillis".This field can be filtered on.

setDurationMillis

public void setDurationMillis(Long durationMillis)
Sets the durationMillis value for this Audio.

Parameters:
durationMillis - * The duration of the associated audio, in milliseconds. This field can be selected using the value "DurationMillis".This field can be filtered on.

getStreamingUrl

public String getStreamingUrl()
Gets the streamingUrl value for this Audio.

Returns:
streamingUrl * The streaming url of the audio. This field can be selected using the value "StreamingUrl".

setStreamingUrl

public void setStreamingUrl(String streamingUrl)
Sets the streamingUrl value for this Audio.

Parameters:
streamingUrl - * The streaming url of the audio. This field can be selected using the value "StreamingUrl".

getReadyToPlayOnTheWeb

public Boolean getReadyToPlayOnTheWeb()
Gets the readyToPlayOnTheWeb value for this Audio.

Returns:
readyToPlayOnTheWeb * Indicates whether the audio is ready to play on the web. This field can be selected using the value "ReadyToPlayOnTheWeb".

setReadyToPlayOnTheWeb

public void setReadyToPlayOnTheWeb(Boolean readyToPlayOnTheWeb)
Sets the readyToPlayOnTheWeb value for this Audio.

Parameters:
readyToPlayOnTheWeb - * Indicates whether the audio is ready to play on the web. This field can be selected using the value "ReadyToPlayOnTheWeb".

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.