Class: Vk::API::Wall::WallpostToId
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Wall::WallpostToId
- Defined in:
- lib/vk/api/wall/wallpost_to_id.rb
Overview
Instance Method Summary collapse
- #attachments ⇒ Array
- #comments ⇒ API::Base::CommentsInfo
-
#copy_owner_id ⇒ Integer
ID of the source post owner.
-
#copy_post_id ⇒ Integer
ID of the source post.
-
#date ⇒ Integer
Date of publishing in Unixtime.
-
#from_id ⇒ Integer
Post author ID.
- #geo ⇒ API::Base::Geo
-
#id ⇒ Integer
Post ID.
- #likes ⇒ API::Base::LikesInfo
-
#post_id ⇒ Integer
Wall post ID (if comment).
- #post_source ⇒ API::Wall::PostSource
- #post_type ⇒ API::Wall::PostType
- #reposts ⇒ API::Base::RepostsInfo
-
#signer_id ⇒ Integer
Post signer ID.
-
#text ⇒ String
Post text.
-
#to_id ⇒ Integer
Wall owner's ID.
Instance Method Details
#attachments ⇒ Array
27 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 27 attribute :attachments, API::Types::Coercible::Array.member(API::Wall::WallpostAttachment).optional.default(nil) |
#comments ⇒ API::Base::CommentsInfo
33 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 33 attribute :comments, Dry::Types[API::Base::CommentsInfo].optional.default(nil) |
#copy_owner_id ⇒ Integer
Returns ID of the source post owner.
39 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 39 attribute :copy_owner_id, API::Types::Coercible::Int.optional.default(nil) |
#copy_post_id ⇒ Integer
Returns ID of the source post.
41 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 41 attribute :copy_post_id, API::Types::Coercible::Int.optional.default(nil) |
#date ⇒ Integer
Returns Date of publishing in Unixtime.
17 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 17 attribute :date, API::Types::Coercible::Int.optional.default(nil) |
#from_id ⇒ Integer
Returns Post author ID.
13 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 13 attribute :from_id, API::Types::Coercible::Int.optional.default(nil) |
#geo ⇒ API::Base::Geo
29 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 29 attribute :geo, Dry::Types[API::Base::Geo].optional.default(nil) |
#id ⇒ Integer
Returns Post ID.
11 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 11 attribute :id, API::Types::Coercible::Int.optional.default(nil) |
#likes ⇒ API::Base::LikesInfo
35 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 35 attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil) |
#post_id ⇒ Integer
Returns wall post ID (if comment).
19 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 19 attribute :post_id, API::Types::Coercible::Int.optional.default(nil) |
#post_source ⇒ API::Wall::PostSource
31 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 31 attribute :post_source, Dry::Types[API::Wall::PostSource].optional.default(nil) |
#post_type ⇒ API::Wall::PostType
21 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 21 attribute :post_type, API::Wall::PostType.optional.default(nil) |
#reposts ⇒ API::Base::RepostsInfo
37 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 37 attribute :reposts, Dry::Types[API::Base::RepostsInfo].optional.default(nil) |
#signer_id ⇒ Integer
Returns Post signer ID.
25 |
# File 'lib/vk/api/wall/wallpost_to_id.rb', line 25 attribute :signer_id, API::Types::Coercible::Int.optional.default(nil) |