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_upload ⇒ API::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_disabled ⇒ API::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)

#created ⇒ Integer

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

#description ⇒ String

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)

#id ⇒ Integer

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_id ⇒ Integer

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_comment ⇒ Array



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_view ⇒ Array



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)

#size ⇒ Integer

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

#sizes ⇒ Array



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_id ⇒ Integer

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_last ⇒ API::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_src ⇒ String

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)

#title ⇒ String

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

#updated ⇒ Integer

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_only ⇒ API::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)