Class: Vk::API::Wall::WallLink
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::WallLink
- Defined in:
- lib/vk/api/wall/wall_link.rb
Overview
Instance Method Summary collapse
- #button ⇒ API::Wall::LinkButton
-
#caption ⇒ String
Link caption.
-
#description ⇒ String
Link description.
-
#is_external ⇒ API::Base::BoolInt
Information whether the link is external.
- #photo ⇒ API::Photos::Photo
-
#preview_page ⇒ String
String ID of the page with article preview.
-
#preview_url ⇒ String
URL of the page with article preview.
- #product ⇒ API::Wall::LinkProduct
- #rating ⇒ API::Wall::LinkRating
-
#title ⇒ String
Link title.
-
#url ⇒ String
Link URL.
Instance Method Details
#button ⇒ API::Wall::LinkButton
27 |
# File 'lib/vk/api/wall/wall_link.rb', line 27 attribute :button, Dry::Types[API::Wall::LinkButton].optional.default(nil) |
#caption ⇒ String
Returns Link caption.
15 |
# File 'lib/vk/api/wall/wall_link.rb', line 15 attribute :caption, API::Types::Coercible::String.optional.default(nil) |
#description ⇒ String
Returns Link description.
17 |
# File 'lib/vk/api/wall/wall_link.rb', line 17 attribute :description, API::Types::Coercible::String.optional.default(nil) |
#is_external ⇒ API::Base::BoolInt
Returns Information whether the link is external.
21 |
# File 'lib/vk/api/wall/wall_link.rb', line 21 attribute :is_external, API::Base::BoolInt.optional.default(nil) |
#photo ⇒ API::Photos::Photo
19 |
# File 'lib/vk/api/wall/wall_link.rb', line 19 attribute :photo, Dry::Types[API::Photos::Photo].optional.default(nil) |
#preview_page ⇒ String
Returns String ID of the page with article preview.
25 |
# File 'lib/vk/api/wall/wall_link.rb', line 25 attribute :preview_page, API::Types::Coercible::String.optional.default(nil) |
#preview_url ⇒ String
Returns URL of the page with article preview.
23 |
# File 'lib/vk/api/wall/wall_link.rb', line 23 attribute :preview_url, API::Types::Coercible::String.optional.default(nil) |
#product ⇒ API::Wall::LinkProduct
29 |
# File 'lib/vk/api/wall/wall_link.rb', line 29 attribute :product, Dry::Types[API::Wall::LinkProduct].optional.default(nil) |
#rating ⇒ API::Wall::LinkRating
31 |
# File 'lib/vk/api/wall/wall_link.rb', line 31 attribute :rating, Dry::Types[API::Wall::LinkRating].optional.default(nil) |