com.restfb.types
Class Photo.Image

java.lang.Object
  extended by com.restfb.types.Photo.Image
All Implemented Interfaces:
Serializable
Enclosing class:
Photo

public static class Photo.Image
extends Object
implements Serializable

Represents the Image Graph API type.

Since:
1.6.5
Author:
Mark Allen
See Also:
Serialized Form

Constructor Summary
Photo.Image()
           
 
Method Summary
 boolean equals(Object that)
           
 Integer getHeight()
          The height of the image in pixels.
 String getSource()
          The source URL of the image.
 Integer getWidth()
          The width of the image in pixels.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Photo.Image

public Photo.Image()
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object that)
Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

getHeight

public Integer getHeight()
The height of the image in pixels.

Returns:
The height of the image in pixels.

getWidth

public Integer getWidth()
The width of the image in pixels.

Returns:
The width of the image in pixels.

getSource

public String getSource()
The source URL of the image.

Returns:
The source URL of the image.


RestFB 1.6.8. Copyright © 2010-2011 Mark Allen. All Rights Reserved.