Class: Vk::API::Market::MarketItemFull

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

Overview

Instance Method Summary collapse

Instance Method Details

#can_commentAPI::Base::BoolInt

Returns Information whether current use can comment the item.

Returns:


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

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

#can_repostAPI::Base::BoolInt

Returns Information whether current use can repost the item.

Returns:


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

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

#likesAPI::Base::Likes


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

attribute :likes, Dry::Types[API::Base::Likes].optional.default(nil)

#photosArray


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

attribute :photos, API::Types::Coercible::Array.member(API::Photos::Photo).optional.default(nil)

#views_countInteger

Returns Views number.

Returns:

  • (Integer)

    Views number


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

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