Drive API v2 (revision 47)



com.google.api.services.drive.model
Class File.Thumbnail

java.lang.Object
  extended by java.util.AbstractMap<java.lang.String,java.lang.Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.drive.model.File.Thumbnail
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
Enclosing class:
File

public static final class File.Thumbnail
extends GenericJson

Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
File.Thumbnail()
           
 
Method Summary
 java.lang.String getImage()
          The URL-safe Base64 encoded bytes of the thumbnail image.
 java.lang.String getMimeType()
          The MIME type of the thumbnail.
 File.Thumbnail setImage(java.lang.String image)
          The URL-safe Base64 encoded bytes of the thumbnail image.
 File.Thumbnail setMimeType(java.lang.String mimeType)
          The MIME type of the thumbnail.
 
Methods inherited from class com.google.api.client.json.GenericJson
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

File.Thumbnail

public File.Thumbnail()
Method Detail

getImage

public java.lang.String getImage()
The URL-safe Base64 encoded bytes of the thumbnail image. The value returned may be null.


setImage

public File.Thumbnail setImage(java.lang.String image)
The URL-safe Base64 encoded bytes of the thumbnail image. The value set may be null.


getMimeType

public java.lang.String getMimeType()
The MIME type of the thumbnail. The value returned may be null.


setMimeType

public File.Thumbnail setMimeType(java.lang.String mimeType)
The MIME type of the thumbnail. The value set may be null.