Class: Vk::API::Photos::PhotoAlbum

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

Overview

Instance Method Summary collapse

Instance Method Details

#createdInteger

Returns Date when the album has been created in Unixtime.

Returns:

  • (Integer)

    Date when the album has been created in Unixtime


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

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

#descriptionString

Returns Photo album description.

Returns:

  • (String)

    Photo album description


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

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.rb', line 11

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

#owner_idInteger

Returns Album owner's ID.

Returns:

  • (Integer)

    Album owner's ID


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

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

#sizeInteger

Returns Photos number.

Returns:

  • (Integer)

    Photos number


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

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

#thumbAPI::Photos::Photo


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

attribute :thumb, Dry::Types[API::Photos::Photo].optional.default(nil)

#titleString

Returns Photo album title.

Returns:

  • (String)

    Photo album title


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

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


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

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