|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.adwords.v201109.cm.Media
public class Media
Represents some kind of media.
| Constructor Summary | |
|---|---|
Media()
|
|
Media(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)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCreationTime()
Gets the creationTime value for this Media. |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer |
Media_Size_DimensionsMapEntry[] |
getDimensions()
Gets the dimensions value for this Media. |
Media_Size_DimensionsMapEntry |
getDimensions(int i)
|
Long |
getFileSize()
Gets the fileSize value for this Media. |
Long |
getMediaId()
Gets the mediaId value for this Media. |
String |
getMediaType()
Gets the mediaType value for this Media. |
MediaMimeType |
getMimeType()
Gets the mimeType value for this Media. |
String |
getName()
Gets the name value for this Media. |
Long |
getReferenceId()
Gets the referenceId value for this Media. |
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Serializer |
String |
getSourceUrl()
Gets the sourceUrl value for this Media. |
MediaMediaType |
getType()
Gets the type value for this Media. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object |
Media_Size_StringMapEntry[] |
getUrls()
Gets the urls value for this Media. |
Media_Size_StringMapEntry |
getUrls(int i)
|
int |
hashCode()
|
void |
setCreationTime(String creationTime)
Sets the creationTime value for this Media. |
void |
setDimensions(int i,
Media_Size_DimensionsMapEntry _value)
|
void |
setDimensions(Media_Size_DimensionsMapEntry[] dimensions)
Sets the dimensions value for this Media. |
void |
setFileSize(Long fileSize)
Sets the fileSize value for this Media. |
void |
setMediaId(Long mediaId)
Sets the mediaId value for this Media. |
void |
setMediaType(String mediaType)
Sets the mediaType value for this Media. |
void |
setMimeType(MediaMimeType mimeType)
Sets the mimeType value for this Media. |
void |
setName(String name)
Sets the name value for this Media. |
void |
setReferenceId(Long referenceId)
Sets the referenceId value for this Media. |
void |
setSourceUrl(String sourceUrl)
Sets the sourceUrl value for this Media. |
void |
setType(MediaMediaType type)
Sets the type value for this Media. |
void |
setUrls(int i,
Media_Size_StringMapEntry _value)
|
void |
setUrls(Media_Size_StringMapEntry[] urls)
Sets the urls value for this Media. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Media()
public Media(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)
| Method Detail |
|---|
public Long getMediaId()
null when it is contained within Operators : SET, REMOVE.public void setMediaId(Long mediaId)
mediaId - * ID of this media object.
This field can
be selected using the value "MediaId".This field can be filtered on.
This field is required
and should not be null when it is contained within Operators : SET, REMOVE.public MediaMediaType getType()
upload()
to upload a new media file.
This field can
be selected using the value "Type".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setType(MediaMediaType type)
type - * Type of this media object. Required when using
upload()
to upload a new media file.
This field can
be selected using the value "Type".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public Long getReferenceId()
Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setReferenceId(Long referenceId)
referenceId - * Media reference id key
This field can
be selected using the value "ReferenceId".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public Media_Size_DimensionsMapEntry[] getDimensions()
public void setDimensions(Media_Size_DimensionsMapEntry[] dimensions)
dimensions - * Various dimension sizes for the media. Only applies to image
media (and video media for
video thumbnails).
This field can
be selected using the value "Dimensions".public Media_Size_DimensionsMapEntry getDimensions(int i)
public void setDimensions(int i,
Media_Size_DimensionsMapEntry _value)
public Media_Size_StringMapEntry[] getUrls()
public void setUrls(Media_Size_StringMapEntry[] urls)
urls - * Urls pointing to the resized media for the given sizes. Only
applies to image media.
This field can
be selected using the value "Urls".
This field is read
only and should not be set. If this field is sent to the API, it
will be ignored.public Media_Size_StringMapEntry getUrls(int i)
public void setUrls(int i,
Media_Size_StringMapEntry _value)
public MediaMimeType getMimeType()
Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setMimeType(MediaMimeType mimeType)
mimeType - * The mime type of the media
This field can
be selected using the value "MimeType".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public String getSourceUrl()
Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setSourceUrl(String sourceUrl)
sourceUrl - * The url where the orginal media was downloaded from (or a file
name).
This field can
be selected using the value "SourceUrl".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public String getName()
public void setName(String name)
name - * The name of the media. The name can be used by clients to
help identify previously uploaded media.
This field can
be selected using the value "Name".This field can be filtered on.public Long getFileSize()
Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setFileSize(Long fileSize)
fileSize - * The size of the media file in bytes
This field can
be selected using the value "FileSize".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public String getCreationTime()
Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public void setCreationTime(String creationTime)
creationTime - * Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ.
This is not updatable and not specifiable.
This field can
be selected using the value "CreationTime".This field can be filtered on.
This field is read
only and should not be set for following Operators : SET,
REMOVE. If this field is sent to the API, it will be ignored.public String getMediaType()
public void setMediaType(String mediaType)
mediaType - * Indicates that this instance is a subtype of Media.
Although this field is returned in the response, it
is ignored on input
and cannot be selected. Specify xsi:type instead.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 | |||||||||