Class: Vk::API::Newsfeed::ItemWallpost
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Newsfeed::ItemWallpost
- Defined in:
- lib/vk/api/newsfeed/item_wallpost.rb
Overview
Instance Method Summary collapse
- #attachments ⇒ Array
- #comments ⇒ API::Base::CommentsInfo
- #copy_history ⇒ Array
- #geo ⇒ API::Base::Geo
- #likes ⇒ API::Base::LikesInfo
-
#post_id ⇒ Integer
Post ID.
- #post_source ⇒ API::Wall::PostSource
-
#post_type ⇒ String
Post type.
- #reposts ⇒ API::Base::RepostsInfo
-
#text ⇒ String
Post text.
Instance Method Details
#attachments ⇒ Array
19 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 19 attribute :attachments, API::Types::Coercible::Array.member(API::Wall::WallpostAttachment).optional.default(nil) |
#comments ⇒ API::Base::CommentsInfo
25 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 25 attribute :comments, Dry::Types[API::Base::CommentsInfo].optional.default(nil) |
#copy_history ⇒ Array
17 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 17 attribute :copy_history, API::Types::Coercible::Array.member(API::Wall::Wallpost).optional.default(nil) |
#geo ⇒ API::Base::Geo
21 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 21 attribute :geo, Dry::Types[API::Base::Geo].optional.default(nil) |
#likes ⇒ API::Base::LikesInfo
27 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 27 attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil) |
#post_id ⇒ Integer
Returns Post ID.
11 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 11 attribute :post_id, API::Types::Coercible::Int.optional.default(nil) |
#post_source ⇒ API::Wall::PostSource
23 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 23 attribute :post_source, Dry::Types[API::Wall::PostSource].optional.default(nil) |
#post_type ⇒ String
Returns Post type.
13 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 13 attribute :post_type, API::Types::Coercible::String.enum("post", "copy", "reply").optional.default(nil) |
#reposts ⇒ API::Base::RepostsInfo
29 |
# File 'lib/vk/api/newsfeed/item_wallpost.rb', line 29 attribute :reposts, Dry::Types[API::Base::RepostsInfo].optional.default(nil) |