Class: Vk::API::Wall::WallLink

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/wall/wall_link.rb

Overview

Instance Method Summary collapse

Instance Method Details

#buttonAPI::Wall::LinkButton


27
# File 'lib/vk/api/wall/wall_link.rb', line 27

attribute :button, Dry::Types[API::Wall::LinkButton].optional.default(nil)

#captionString

Returns Link caption.

Returns:

  • (String)

    Link caption


15
# File 'lib/vk/api/wall/wall_link.rb', line 15

attribute :caption, API::Types::Coercible::String.optional.default(nil)

#descriptionString

Returns Link description.

Returns:

  • (String)

    Link description


17
# File 'lib/vk/api/wall/wall_link.rb', line 17

attribute :description, API::Types::Coercible::String.optional.default(nil)

#is_externalAPI::Base::BoolInt

Returns Information whether the link is external.

Returns:


21
# File 'lib/vk/api/wall/wall_link.rb', line 21

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

#photoAPI::Photos::Photo


19
# File 'lib/vk/api/wall/wall_link.rb', line 19

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

#preview_pageString

Returns String ID of the page with article preview.

Returns:

  • (String)

    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_urlString

Returns URL of the page with article preview.

Returns:

  • (String)

    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)

#productAPI::Wall::LinkProduct


29
# File 'lib/vk/api/wall/wall_link.rb', line 29

attribute :product, Dry::Types[API::Wall::LinkProduct].optional.default(nil)

#ratingAPI::Wall::LinkRating


31
# File 'lib/vk/api/wall/wall_link.rb', line 31

attribute :rating, Dry::Types[API::Wall::LinkRating].optional.default(nil)

#titleString

Returns Link title.

Returns:

  • (String)

    Link title


13
# File 'lib/vk/api/wall/wall_link.rb', line 13

attribute :title, API::Types::Coercible::String.optional.default(nil)

#urlString

Returns Link URL.

Returns:

  • (String)

    Link URL


11
# File 'lib/vk/api/wall/wall_link.rb', line 11

attribute :url, API::Types::Coercible::String