Class: Vk::API::Market::MarketAlbum

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/market/market_album.rb

Overview

Instance Method Summary collapse

Instance Method Details

#countInteger

Returns Items number.

Returns:

  • (Integer)

    Items number


17
# File 'lib/vk/api/market/market_album.rb', line 17

attribute :count, API::Types::Coercible::Int

#idInteger

Returns Market album ID.

Returns:

  • (Integer)

    Market album ID


11
# File 'lib/vk/api/market/market_album.rb', line 11

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

#owner_idInteger

Returns Market album owner's ID.

Returns:

  • (Integer)

    Market album owner's ID


13
# File 'lib/vk/api/market/market_album.rb', line 13

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

#photoAPI::Photos::Photo


21
# File 'lib/vk/api/market/market_album.rb', line 21

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

#titleString

Returns Market album title.

Returns:

  • (String)

    Market album title


15
# File 'lib/vk/api/market/market_album.rb', line 15

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

#updated_timeInteger

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

Returns:

  • (Integer)

    Date when album has been updated last time in Unixtime


19
# File 'lib/vk/api/market/market_album.rb', line 19

attribute :updated_time, API::Types::Coercible::Int