=head1 NAME

 Imgur::API::Model::Image

=head1 DESCRIPTION

  The base model for an image. 

=cut

=head1 FIELDS
 
=item 
 C<id I<string>>

 The ID for the image

=item 
 C<title I<string>>

 The title of the image.

=item 
 C<description I<string>>

 Description of the image.

=item 
 C<datetime I<integer>>

 Time uploaded, epoch time

=item 
 C<type I<string>>

 Image MIME type.

=item 
 C<animated I<boolean>>

 is the image animated

=item 
 C<width I<integer>>

 The width of the image in pixels

=item 
 C<height I<integer>>

 The height of the image in pixels

=item 
 C<size I<integer>>

 The size of the image in bytes

=item 
 C<views I<integer>>

 The number of image views

=item 
 C<bandwidth I<integer>>

 Bandwidth consumed by the image in bytes

=item 
 C<deletehash I<string>>

 OPTIONAL, the deletehash, if you're logged in as the image owner

=item 
 C<name I<string>>

 OPTIONAL, the original filename, if you're logged in as the image owner

=item 
 C<section I<string>>

 If the image has been categorized by our backend then this will contain the section the image belongs in. (funny, cats, adviceanimals, wtf, etc)

=item 
 C<link I<string>>

 The direct link to the the image. (Note: if fetching an animated GIF that was over 20MB in original size, a .gif thumbnail will be returned)

=item 
 C<gifv I<string>>

 OPTIONAL, The .gifv link. Only available if the image is animated and type is 'image/gif'.

=item 
 C<mp4 I<string>>

 OPTIONAL, The direct link to the .mp4. Only available if the image is animated and type is 'image/gif'.

=item 
 C<mp4_size I<integer>>

 OPTIONAL, The Content-Length of the .mp4. Only available if the image is animated and type is 'image/gif'. Note that a zero value (0) is possible if the video has not yet been generated

=item 
 C<looping I<boolean>>

 OPTIONAL, Whether the image has a looping animation. Only available if the image is animated and type is 'image/gif'.

=item 
 C<favorite I<boolean>>

 Indicates if the current user favorited the image. Defaults to false if not signed in.

=item 
 C<nsfw I<boolean>>

 Indicates if the image has been marked as nsfw or not. Defaults to null if information is not available.

=item 
 C<vote I<string>>

 The current user's vote on the album. null if not signed in, if the user hasn't voted on it, or if not submitted to the gallery.

=item 
 C<in_gallery I<boolean>>

 True if the image has been submitted to the gallery, false if otherwise.


=head1 EXAMPLE

=begin json

 {
   "success" : true,
   "status" : 200,
   "data" : {
      "views" : 1,
      "width" : 2559,
      "height" : 1439,
      "animated" : false,
      "size" : 521916,
      "title" : null,
      "link" : "http://i.imgur.com/SbBGk.jpg",
      "datetime" : 1341533193,
      "type" : "image/jpeg",
      "id" : "SbBGk",
      "section" : null,
      "description" : null,
      "bandwidth" : 521916,
      "deletehash" : "eYZd3NNJHsbreD1"
   }
}


=end json

=cut

=head1 SEE ALSO

http://api.imgur.com/models/


