Class: Vk::API::Wall::WallpostAttachment
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::WallpostAttachment
- Defined in:
- lib/vk/api/wall/wallpost_attachment.rb
Overview
Instance Method Summary collapse
- #album ⇒ API::Photos::PhotoAlbum
- #app ⇒ API::Wall::AppPost
- #audio ⇒ API::Audio::AudioFull
- #doc ⇒ API::Docs::Doc
- #graffiti ⇒ API::Wall::Graffiti
- #link ⇒ API::Wall::WallLink
- #market ⇒ API::Market::MarketItem
- #market_market_album ⇒ API::Market::MarketAlbum
- #note ⇒ API::Wall::AttachedNote
- #page ⇒ API::Pages::WikipageFull
- #photo ⇒ API::Photos::Photo
- #photos_list ⇒ Array
- #poll ⇒ API::Polls::Poll
- #posted_photo ⇒ API::Wall::PostedPhoto
-
#type ⇒ String
Attachment type.
- #video ⇒ API::Video::Video
Instance Method Details
#album ⇒ API::Photos::PhotoAlbum
33 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 33 attribute :album, Dry::Types[API::Photos::PhotoAlbum].optional.default(nil) |
#app ⇒ API::Wall::AppPost
27 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 27 attribute :app, Dry::Types[API::Wall::AppPost].optional.default(nil) |
#audio ⇒ API::Audio::AudioFull
15 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 15 attribute :audio, Dry::Types[API::Audio::AudioFull].optional.default(nil) |
#doc ⇒ API::Docs::Doc
19 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 19 attribute :doc, Dry::Types[API::Docs::Doc].optional.default(nil) |
#graffiti ⇒ API::Wall::Graffiti
23 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 23 attribute :graffiti, Dry::Types[API::Wall::Graffiti].optional.default(nil) |
#link ⇒ API::Wall::WallLink
21 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 21 attribute :link, Dry::Types[API::Wall::WallLink].optional.default(nil) |
#market ⇒ API::Market::MarketItem
39 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 39 attribute :market, Dry::Types[API::Market::MarketItem].optional.default(nil) |
#market_market_album ⇒ API::Market::MarketAlbum
37 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 37 attribute :market_market_album, Dry::Types[API::Market::MarketAlbum].optional.default(nil) |
#note ⇒ API::Wall::AttachedNote
25 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 25 attribute :note, Dry::Types[API::Wall::AttachedNote].optional.default(nil) |
#page ⇒ API::Pages::WikipageFull
31 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 31 attribute :page, Dry::Types[API::Pages::WikipageFull].optional.default(nil) |
#photo ⇒ API::Photos::Photo
11 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 11 attribute :photo, Dry::Types[API::Photos::Photo].optional.default(nil) |
#photos_list ⇒ Array
35 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 35 attribute :photos_list, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil) |
#poll ⇒ API::Polls::Poll
29 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 29 attribute :poll, Dry::Types[API::Polls::Poll].optional.default(nil) |
#posted_photo ⇒ API::Wall::PostedPhoto
13 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 13 attribute :posted_photo, Dry::Types[API::Wall::PostedPhoto].optional.default(nil) |
#type ⇒ String
41 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 41 attribute :type, API::Types::Coercible::String.enum("photo", "posted_photo", "audio", "video", "doc", "link", "graffiti", "note", "app", "poll", "page", "album", "photos_list", "market_market_album", "market") |
#video ⇒ API::Video::Video
17 |
# File 'lib/vk/api/wall/wallpost_attachment.rb', line 17 attribute :video, Dry::Types[API::Video::Video].optional.default(nil) |