Class: Vk::API::Photos::PhotoAlbumFull

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/photos/photo_album_full.rb

Overview

Instance Method Summary collapse

Instance Method Details

#can_uploadAPI::Base::BoolInt

Returns Information whether current user can upload photo to the album.

Returns:


37
# File 'lib/vk/api/photos/photo_album_full.rb', line 37

attribute :can_upload, API::Base::BoolInt.optional.default(nil)

#comments_disabledAPI::Base::BoolInt

Returns Information whether album comments are disabled.

Returns:


35
# File 'lib/vk/api/photos/photo_album_full.rb', line 35

attribute :comments_disabled, API::Base::BoolInt.optional.default(nil)

#createdInteger

Returns Date when the album has been created in Unixtime.

Returns:

  • (Integer)

    Date when the album has been created in Unixtime


23
# File 'lib/vk/api/photos/photo_album_full.rb', line 23

attribute :created, API::Types::Coercible::Int

#descriptionString

Returns Photo album description.

Returns:

  • (String)

    Photo album description


21
# File 'lib/vk/api/photos/photo_album_full.rb', line 21

attribute :description, API::Types::Coercible::String.optional.default(nil)

#idInteger

Returns Photo album ID.

Returns:

  • (Integer)

    Photo album ID


11
# File 'lib/vk/api/photos/photo_album_full.rb', line 11

attribute :id, API::Types::Coercible::Int

#owner_idInteger

Returns Album owner's ID.

Returns:

  • (Integer)

    Album owner's ID


17
# File 'lib/vk/api/photos/photo_album_full.rb', line 17

attribute :owner_id, API::Types::Coercible::Int

#privacy_commentArray


31
# File 'lib/vk/api/photos/photo_album_full.rb', line 31

attribute :privacy_comment, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)

#privacy_viewArray


29
# File 'lib/vk/api/photos/photo_album_full.rb', line 29

attribute :privacy_view, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)

#sizeInteger

Returns Photos number.

Returns:

  • (Integer)

    Photos number


27
# File 'lib/vk/api/photos/photo_album_full.rb', line 27

attribute :size, API::Types::Coercible::Int

#sizesArray


41
# File 'lib/vk/api/photos/photo_album_full.rb', line 41

attribute :sizes, API::Types::Coercible::Array.member(API::Photos::PhotoSizes).optional.default(nil)

#thumb_idInteger

Returns Thumb photo ID.

Returns:

  • (Integer)

    Thumb photo ID


13
# File 'lib/vk/api/photos/photo_album_full.rb', line 13

attribute :thumb_id, API::Types::Coercible::Int.optional.default(nil)

#thumb_is_lastAPI::Base::BoolInt

Returns Information whether the album thumb is last photo.

Returns:


39
# File 'lib/vk/api/photos/photo_album_full.rb', line 39

attribute :thumb_is_last, API::Base::BoolInt.optional.default(nil)

#thumb_srcString

Returns URL of the thumb image.

Returns:

  • (String)

    URL of the thumb image


15
# File 'lib/vk/api/photos/photo_album_full.rb', line 15

attribute :thumb_src, API::Types::Coercible::String.optional.default(nil)

#titleString

Returns Photo album title.

Returns:

  • (String)

    Photo album title


19
# File 'lib/vk/api/photos/photo_album_full.rb', line 19

attribute :title, API::Types::Coercible::String

#updatedInteger

Returns Date when the album has been updated last time in Unixtime.

Returns:

  • (Integer)

    Date when the album has been updated last time in Unixtime


25
# File 'lib/vk/api/photos/photo_album_full.rb', line 25

attribute :updated, API::Types::Coercible::Int

#upload_by_admins_onlyAPI::Base::BoolInt

Returns Information whether only community administrators can upload photos.

Returns:

  • (API::Base::BoolInt)

    Information whether only community administrators can upload photos


33
# File 'lib/vk/api/photos/photo_album_full.rb', line 33

attribute :upload_by_admins_only, API::Base::BoolInt.optional.default(nil)