=head1 NAME

 Imgur::API::Model::GalleryAlbum

=head1 DESCRIPTION

  The data model formatted for gallery albums. 

=cut

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

 The ID for the image

=item 
 C<title I<string>>

 The title of the album in the gallery

=item 
 C<description I<string>>

 The description of the album in the gallery

=item 
 C<datetime I<integer>>

 Time inserted into the gallery, epoch time

=item 
 C<cover I<string>>

 The ID of the album cover image

=item 
 C<cover_width I<integer>>

 The width, in pixels, of the album cover image

=item 
 C<cover_height I<integer>>

 The height, in pixels, of the album cover image

=item 
 C<account_url I<string>>

 The account username or null if it's anonymous.

=item 
 C<account_id I<integer>>

 The account ID of the account that uploaded it, or null.

=item 
 C<privacy I<string>>

 The privacy level of the album, you can only view public if not logged in as album owner

=item 
 C<layout I<string>>

 The view layout of the album.

=item 
 C<views I<integer>>

 The number of image views

=item 
 C<link I<string>>

 The URL link to the album

=item 
 C<ups I<integer>>

 Upvotes for the image

=item 
 C<downs I<integer>>

 Number of downvotes for the image

=item 
 C<points I<integer>>

 Upvotes minus downvotes

=item 
 C<score I<integer>>

 Imgur popularity score

=item 
 C<is_album I<boolean>>

 if it's an album or not

=item 
 C<vote I<string>>

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

=item 
 C<favorite I<boolean>>

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

=item 
 C<nsfw I<boolean>>

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

=item 
 C<comment_count I<int>>

 Number of comments on the gallery album.

=item 
 C<topic I<string>>

 Topic of the gallery album.

=item 
 C<topic_id I<integer>>

 Topic ID of the gallery album.

=item 
 C<images_count I<integer>>

 The total number of images in the album

=item 
 C<images I<Array of Images>>

 An array of all the images in the album (only available when requesting the direct album)

=item 
 C<in_most_viral I<boolean>>

 Indicates if the album is in the most viral gallery or not.


=head1 EXAMPLE

=begin json

 {
   "success" : true,
   "status" : 200,
   "data" : {
      "ups" : 1602,
      "account_url" : "Alan",
      "privacy" : "public",
      "comment_count" : 10,
      "title" : "Imgur Office",
      "images_count" : 11,
      "points" : 1588,
      "downs" : 14,
      "id" : "lDRB2",
      "description" : null,
      "images" : [
         {
            "animated" : false,
            "height" : 1944,
            "width" : 2592,
            "views" : 135772,
            "type" : "image/jpeg",
            "datetime" : 1357856352,
            "link" : "http://i.imgur.com/24nLu.jpg",
            "title" : null,
            "size" : 855658,
            "bandwidth" : 116174397976,
            "description" : null,
            "id" : "24nLu"
         },
         {
            "views" : 135493,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 919391,
            "title" : null,
            "link" : "http://i.imgur.com/Ziz25.jpg",
            "datetime" : 1357856394,
            "type" : "image/jpeg",
            "id" : "Ziz25",
            "description" : null,
            "bandwidth" : 124571044763
         },
         {
            "bandwidth" : 88470046764,
            "id" : "9tzW6",
            "description" : null,
            "title" : null,
            "size" : 655028,
            "datetime" : 1357856385,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/9tzW6.jpg",
            "width" : 2592,
            "height" : 1944,
            "views" : 135063,
            "animated" : false
         },
         {
            "views" : 134704,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 812738,
            "title" : null,
            "link" : "http://i.imgur.com/dFg5u.jpg",
            "datetime" : 1357856378,
            "type" : "image/jpeg",
            "description" : null,
            "id" : "dFg5u",
            "bandwidth" : 109479059552
         },
         {
            "bandwidth" : 23627217912,
            "description" : null,
            "id" : "oknLx",
            "width" : 1749,
            "height" : 2332,
            "views" : 32938,
            "animated" : false,
            "title" : null,
            "size" : 717324,
            "datetime" : 1357856338,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/oknLx.jpg"
         },
         {
            "views" : 32346,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 1443262,
            "title" : null,
            "link" : "http://i.imgur.com/OL6tC.jpg",
            "datetime" : 1357856321,
            "type" : "image/jpeg",
            "description" : null,
            "id" : "OL6tC",
            "bandwidth" : 46683752652
         },
         {
            "description" : null,
            "id" : "cJ9cm",
            "bandwidth" : 17337319958,
            "views" : 31829,
            "width" : 2592,
            "height" : 1944,
            "animated" : false,
            "size" : 544702,
            "title" : null,
            "link" : "http://i.imgur.com/cJ9cm.jpg",
            "type" : "image/jpeg",
            "datetime" : 1357856330
         },
         {
            "width" : 2592,
            "height" : 1944,
            "views" : 31257,
            "animated" : false,
            "title" : null,
            "size" : 844863,
            "datetime" : 1357856369,
            "type" : "image/jpeg",
            "link" : "http://i.imgur.com/7BtPN.jpg",
            "bandwidth" : 26407882791,
            "description" : null,
            "id" : "7BtPN"
         },
         {
            "description" : null,
            "id" : "42ib8",
            "bandwidth" : 28007483985,
            "animated" : false,
            "views" : 30945,
            "height" : 1944,
            "width" : 2592,
            "link" : "http://i.imgur.com/42ib8.jpg",
            "datetime" : 1357856424,
            "type" : "image/jpeg",
            "size" : 905073,
            "title" : null
         },
         {
            "height" : 2332,
            "width" : 1749,
            "views" : 30107,
            "animated" : false,
            "title" : null,
            "size" : 662413,
            "type" : "image/jpeg",
            "datetime" : 1357856360,
            "link" : "http://i.imgur.com/BbwIx.jpg",
            "bandwidth" : 19943268191,
            "description" : null,
            "id" : "BbwIx"
         },
         {
            "animated" : false,
            "views" : 29259,
            "width" : 1944,
            "height" : 2592,
            "link" : "http://i.imgur.com/x7b91.jpg",
            "datetime" : 1357856406,
            "type" : "image/jpeg",
            "size" : 618567,
            "title" : null,
            "id" : "x7b91",
            "description" : null,
            "bandwidth" : 18098651853
         }
      ],
      "vote" : null,
      "views" : 13780,
      "cover" : "24nLu",
      "link" : "http://alanbox.imgur.com/a/lDRB2",
      "is_album" : true,
      "datetime" : 1357856292,
      "layout" : "blog",
      "score" : 1917,
      "account_id" : 4
   }
}


=end json

=cut

=head1 SEE ALSO

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


