Class: Vk::API::Wall::CommentAttachment

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

Overview

Instance Method Summary collapse

Instance Method Details

#audioAPI::Audio::AudioFull


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

attribute :audio, Dry::Types[API::Audio::AudioFull].optional.default(nil)

#docAPI::Docs::Doc


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

attribute :doc, Dry::Types[API::Docs::Doc].optional.default(nil)

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

attribute :link, Dry::Types[API::Wall::WallLink].optional.default(nil)

#marketAPI::Market::MarketItem


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

attribute :market, Dry::Types[API::Market::MarketItem].optional.default(nil)

#market_market_albumAPI::Market::MarketAlbum


25
# File 'lib/vk/api/wall/comment_attachment.rb', line 25

attribute :market_market_album, Dry::Types[API::Market::MarketAlbum].optional.default(nil)

#noteAPI::Wall::AttachedNote


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

attribute :note, Dry::Types[API::Wall::AttachedNote].optional.default(nil)

#pageAPI::Pages::WikipageFull


23
# File 'lib/vk/api/wall/comment_attachment.rb', line 23

attribute :page, Dry::Types[API::Pages::WikipageFull].optional.default(nil)

#photoAPI::Photos::Photo


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

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

#stickerAPI::Base::Sticker


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

attribute :sticker, Dry::Types[API::Base::Sticker].optional.default(nil)

#typeString

Returns Attachment type.

Returns:

  • (String)

    Attachment type


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

attribute :type, API::Types::Coercible::String.enum("photo", "audio", "video", "doc", "link", "note", "page", "market_market_album", "market", "sticker")

#videoAPI::Video::Video


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

attribute :video, Dry::Types[API::Video::Video].optional.default(nil)