Class: Vk::API::Market::MarketItem
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Market::MarketItem
- Defined in:
- lib/vk/api/market/market_item.rb
Overview
Instance Method Summary collapse
-
#availability ⇒ Integer
Information whether the item is available.
- #category ⇒ API::Market::MarketCategory
-
#date ⇒ Integer
Date when the item has been created in Unixtime.
-
#description ⇒ String
Item description.
-
#id ⇒ Integer
Item ID.
-
#owner_id ⇒ Integer
Item owner's ID.
- #price ⇒ API::Market::Price
-
#thumb_photo ⇒ String
URL of the preview image.
-
#title ⇒ String
Item title.
Instance Method Details
#availability ⇒ Integer
Returns Information whether the item is available.
27 |
# File 'lib/vk/api/market/market_item.rb', line 27 attribute :availability, API::Types::Coercible::Int.enum(0, 1, 2) |
#category ⇒ API::Market::MarketCategory
21 |
# File 'lib/vk/api/market/market_item.rb', line 21 attribute :category, Dry::Types[API::Market::MarketCategory] |
#date ⇒ Integer
Returns Date when the item has been created in Unixtime.
23 |
# File 'lib/vk/api/market/market_item.rb', line 23 attribute :date, API::Types::Coercible::Int |
#description ⇒ String
Returns Item description.
17 |
# File 'lib/vk/api/market/market_item.rb', line 17 attribute :description, API::Types::Coercible::String |
#id ⇒ Integer
Returns Item ID.
11 |
# File 'lib/vk/api/market/market_item.rb', line 11 attribute :id, API::Types::Coercible::Int |
#owner_id ⇒ Integer
Returns Item owner's ID.
13 |
# File 'lib/vk/api/market/market_item.rb', line 13 attribute :owner_id, API::Types::Coercible::Int |
#price ⇒ API::Market::Price
19 |
# File 'lib/vk/api/market/market_item.rb', line 19 attribute :price, Dry::Types[API::Market::Price] |