Class: Vk::API::Wall::WallpostFull
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::WallpostFull
- Defined in:
- lib/vk/api/wall/wallpost_full.rb
Overview
Instance Method Summary collapse
-
#can_delete ⇒ Integer
Information whether current user can delete the post.
-
#can_edit ⇒ Integer
Information whether current user can edit the post.
-
#can_pin ⇒ Integer
Information whether current user can pin the post.
- #comments ⇒ API::Base::CommentsInfo
- #copy_history ⇒ Array
-
#created_by ⇒ Integer
Post creator ID (if post still can be edited).
-
#is_pinned ⇒ Integer
Information whether the post is pinned.
- #likes ⇒ API::Base::LikesInfo
- #reposts ⇒ API::Base::RepostsInfo
Instance Method Details
#can_delete ⇒ Integer
Returns Information whether current user can delete the post.
17 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 17 attribute :can_delete, API::Types::Coercible::Int.optional.default(nil) |
#can_edit ⇒ Integer
Returns Information whether current user can edit the post.
13 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 13 attribute :can_edit, API::Types::Coercible::Int.optional.default(nil) |
#can_pin ⇒ Integer
Returns Information whether current user can pin the post.
19 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 19 attribute :can_pin, API::Types::Coercible::Int.optional.default(nil) |
#comments ⇒ API::Base::CommentsInfo
23 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 23 attribute :comments, Dry::Types[API::Base::CommentsInfo].optional.default(nil) |
#copy_history ⇒ Array
11 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 11 attribute :copy_history, API::Types::Coercible::Array.member(API::Wall::Wallpost).optional.default(nil) |
#created_by ⇒ Integer
Returns Post creator ID (if post still can be edited).
15 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 15 attribute :created_by, API::Types::Coercible::Int.optional.default(nil) |
#is_pinned ⇒ Integer
Returns Information whether the post is pinned.
21 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 21 attribute :is_pinned, API::Types::Coercible::Int.optional.default(nil) |
#likes ⇒ API::Base::LikesInfo
25 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 25 attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil) |
#reposts ⇒ API::Base::RepostsInfo
27 |
# File 'lib/vk/api/wall/wallpost_full.rb', line 27 attribute :reposts, Dry::Types[API::Base::RepostsInfo].optional.default(nil) |